Spatial Galaxy


  • Jan 5, 2014

    The preview release of the PyQGIS Programmer's Guide is now available for purchase from Locate Press.

  • Dec 10, 2013

    We're planning a couple of training classes for March:

    • Introduction to QGIS
    • Extending QGIS with Python

    Each is a one day class and we plan to run them back to back. If you are local or just want to come to Alaska in March for some spring skiing, northern lights viewing, or to experience the equinox, please hop over to GeoApt and let us know so we can plan accordingly.

  • Nov 6, 2013

    When writing plugins or scripts it is often necessary to get information about the paths QGIS is using. For example, if we are writing a plugin that uses Python templates to create output based on user actions, we need to know the path to our installed plugin so we can find the templates. Fortunately the API provides an easy way to get at the information; here are a few examples:

    • QgsApplication.pluginPath(): location of core plugins
    • QgsApplication.prefixPath(): location where QGIS is installed
    • QgsApplication.qgisSettingsDirPath(): location of user settings
    • QgsApplication.iconsPath(): location of icons used in QGIS

    We can get a summary of some paths used in QGIS using showSettings

      print QgsApplication.showSettings()
      Application state:
      QGIS_PREFIX_PATH env var:     
      Prefix:     /dev1/apps/qgis
      Plugin Path:     /dev1/apps/qgis/lib/qgis/plugins
      Package Data Path:    /dev1/apps/qgis/share/qgis
      Active Theme Name:    default
      Active Theme Path:    :/images/themes/default/
      Default Theme Path:   :/images/themes/default/
      SVG Search Paths: /dev1/apps/qgis/share/qgis/svg/
      User DB Path: /dev1/apps/qgis/share/qgis/resources/qgis.db

    These paths are from my development install of QGIS on a Linux box; yours will be different.

    The showSettings method is not really useful in a script or plugin since it returns a string containing line returns and tab characters. It's mainly useful for debugging and development.

    From within a plugin, you can get its path using

     import os
     plugin_path = os.path.dirname(os.path.realpath(__file__))

    From The PyQGIS Programmer's Guide.

  • Aug 25, 2013

    Nominations for the QGIS PSC closed at 00:00 UTC on August 25, 2013 [1].

    With only one nominee for each role, the PSC unanimously moved to accept each without election.

    The QGIS PSC welcomes new members Anita Graser, Richard Duivenvoorde, and Jürgen Fischer.

    The PSC is now composed of:

    • Chair - Gary Sherman
    • Community Advisor - Otto Dassau
    • Design Advisor - Anita Graser
    • Financial and Marketing Advisor - Paolo Cavallini
    • Infrastructure Manager - Richard Duivenvoorde
    • Release Manager - Jürgen Fischer
    • Technical Advisor - Marco Hugentobler
    • Testing/QA Manager - Tim Sutton

    The new PSC members begin their terms immediately.


  • Aug 6, 2013

    The QGIS Project Steering Committee (PSC) has announced a call for nominations to fill three vacant positions:

    • Design Advisor
    • Infrastructure Manager
    • Release Manager

    Nominations are open until August 24, 2013. For details on the PSC, vacancies, and how to nominate someone, see the Call for Nominations August 2013.

Page: 3 of 19