Chapter 11. PyQGIS Scripting

This chapter is focused on a specific use case or user. QGIS can be used in many different ways, and the GIS user is an eclectic user who has many different ways to interact with data and QGIS tools. The main focus of this chapter is a user who has an algorithm and wants to integrate it with QGIS.

An algorithm can be an external program, such as a water-modeling tool, or a Processing Toolbox's set of instructions.

It's possible to interact with QGIS in many different ways, from experimenting with PyQGIS in the Python console, to creating plugins that control events generated by QGIS. This chapter will give you an overview of the following topics:

  • Learning Python
  • Loading rasters by code
  • Loading vectors by code from files ...

Get Mastering QGIS - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.