O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

QGIS Python Programming Techniques

Video Description

Create your own sophisticated applications to analyze and display geospatial information using QGIS and Python

About This Video

  • 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

  • In Detail

    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.

    Table of Contents

    1. Chapter 1 : Displaying Information
      1. The Course Overview 00:04:17
      2. Installation and Setup 00:04:02
      3. Working with Symbol Layers 00:08:52
      4. Implementing Symbol Layers in Python 00:11:25
      5. Implementing Renderers in Python 00:05:40
      6. Working with Custom Map Layers 00:06:55
      7. Creating Custom Map Canvas Items 00:06:28
      8. Using Memory-Based Layers 00:06:27
    2. Chapter 2 : Selecting and Editing Features
      1. Working with Selections 00:05:17
      2. Layer Editing Mode 00:04:08
      3. Adding and Editing Points 00:06:01
      4. Deleting Points and other Geospatial Features 00:04:09
      5. Adding Lines and Polygons 00:09:00
      6. Editing Lines and Polygons 00:08:08
    3. Chapter 3 : Designing the ForestTrails Application
      1. Introducing the ForestTrails Application 00:03:31
      2. Designing the ForestTrails Application 00:04:28
    4. Chapter 4 : Implementing the ForestTrails Application
      1. Laying Out the Application 00:08:13
      2. Defining the User Interface 00:04:41
      3. Implementing the Main Program 00:04:34
      4. Testing the Application 00:03:39
    5. Chapter 5 : Adding Maps and Some Initial Tools
      1. Obtaining the Basemap 00:04:34
      2. Defining the Map Layers 00:05:27
      3. The 'Pan' Map Tool 00:02:09
      4. Implementing the Track Editing Mode 00:05:13
    6. Chapter 6 : Adding and Editing Tracks
      1. The 'Add Track' Map Tool 00:05:14
      2. Testing and Improving the Application 00:05:55
      3. The 'Edit Track' Map Tool 00:03:54
      4. The 'Delete Track' Map Tool 00:02:40
    7. Chapter 7 : Finishing the Application
      1. The Get Info Map Tool 00:07:32
      2. The Set Start Point and Set End Point Actions 00:04:15
      3. The Find Shortest Path Action 00:05:04
      4. Finishing Off and Testing 00:05:54