Oct 18, 2014
Here is a short list of resources available when writing Python code in QGIS. If you know of others, please leave a comment.Read More
Oct 9, 2014
Getting started with Python and QGIS can be a bit overwhelming. In this post we give you a quick start to get you up and running and maybe make your PyQGIS life a little easier.
There are likely many ways to setup a working PyQGIS development environment---this one works pretty well.Read More
Oct 9, 2014
The Plugin Builder is a great tool for generating a working plugin project that you can customize.
One of the main tasks in the development cycle is deploying the plugin to the QGIS plugin directory for testing. Plugin Builder comes with a Makefile that can be used on Linux and OS X to aid in development. Depending on your configuration, the Makefile may work on Windows.
To help in managing development of your projects, we've come up with another option---a Python tool called pb_tool, which works anywhere QGIS runs.Read More
Mar 29, 2014
If you're a developer, or have looked at the QGIS source code, you've likely noticed that most C++ classes in the project start with Qgs.
Back before the dark ages of QGIS, Trolltech (now Digia) allowed you to reserve name prefixes for classes that used the Qt framework.
Shortly afterwards, I reserved the gs prefix for my use, resulting in class names that start with Qgs.
You might think this is based on some mangling of words like QGIS or perhaps GIS, but it was purely egocentric:
As far as I can tell, reservation of prefix names is no longer possible. For a view into what it was like back then, take a look at the Internet Archive.
Although the choice of prefix wasn't based on technology or discipline, years later it seems to fit...
Mar 11, 2014
The PyQGIS Programmer's Guide is now available in both paperback and PDF. A sample chapter is also available for download.
The book is fully compatible with the QGIS 2.x series of releases.