CREATING A STAND-ALONE GIS APPLICATION
Creating a Standalone GIS Application Sat, 02/07/2009 - 22:03 — Gary Sherman In this example we are going to begin to build a standalone GIS application using Python and the QGIS libraries. We'll start simple by creating an application to load and display a shapefile. In later posts we'll enhance the application to provide some map tools and other features. Requirements To build the application we need the following tools installed: QGIS 1.0 PyQt4 Qt 4.3 or higher and the development tools (Designer) Python 2.3 or better Testing the Environment Before getting started we need to test our development environment to make sure everything is in place. First we need to make sure Python can find the QGIS bindings. From a terminal or command shell on Linux or OS X: export PYTHONPATH=[path to]/share/qgis/python From a cmd shell on Windows: set PYTHONPATH=[path to QGIS]\python If you are using the OsGeo4W install of QGIS, all you need to do is start the OsGeo4w shell. No set...