QGIS Python Programming Techniques [Video]

More Information
  • Create custom map canvas items using memory-based layers
  • Select and edit geospatial features with an external application
  • Implement a complete turnkey mapping application called ForestTrails
  • Design and implement this application
  • Understand how to build your own complex mapping applications using QGIS and Python
  • Test and review your application

Using the more advanced aspects of the QGIS geographical information system, this video course shows how to build sophisticated geospatial applications using Python. Geospatial applications are often very complicated; using QGIS, however, you can avoid a lot of this complexity by developing at a higher level, making use of the many viewing tools and analyzing and editing geospatial data provided by the QGIS system. Using these tools, you can build more sophisticated geospatial applications with less time and effort.

The course starts with an in-depth look at the QGIS Python API, concentrating on how this library can be used to display information on a map. We then look at how external applications that use the PyQGIS library can let the user select and edit geospatial features. We go on to use the knowledge we have gained to implement a sophisticated turnkey mapping system called ForestTrails. This application includes the ability to add, edit, and delete “tracks” on top of a detailed basemap, and lets you find the shortest path between two points by following the network of tracks. This example will serve as a springboard for the user’s own developmental efforts, as well as being a complete and very useful program in its own right.

Style and Approach

This course is an in-depth look at the QGIS Python API and its uses in creating geospatial applications. After this, the course shows you how to create a sophisticated turnkey mapping system that analyses some geospatial data.

  • Experience the speed and agility of QGIS and Python by building sophisticated geospatial applications
  • Discover how the QGIS Python API can be used to display information on a map
  • Learn how to build a complete and sophisticated turnkey mapping application using the PyQGIS library
Course Length 2 hours 57 minutes
ISBN 9781787128569
Date Of Publication 30 May 2017


Erik Westra

Erik Westra has been a professional software developer for over 25 years, and has worked almost exclusively in Python for the past decade. Erik’s early interest in Graphical User Interface design led to the development of one of the most advanced urgent courier dispatch systems used by messenger and courier companies worldwide. In recent years, Erik has been involved in the design and implementation of systems matching seekers with providers of goods and services across a range of geographical areas, as well as real-time messaging, payment, and identity systems. This work has included the creation of real-time geocoders and map-based views of constantly changing data. Erik is based in New Zealand, and works for companies worldwide. Erik is the author of the following Packt books: Python Geospatial Development (third edition), Python Geospatial Analysis, Building Mapping Applications with QGIS, and Modular Programming with Python. Erik has also authored the video course entitled Introduction to QGIS Python Programming.