Online

Online: PyQGIS: expanding QGIS’s functionality with Python

This course gives a practical introduction to PyQGIS, the Python implementation in QGIS. Through hands-on exercises, you will learn to run Python code through the built-in console, create scripts, automate processes with the graphical Model Builder and processing tools, and create a simple graphical QGIS plugin.

Lecturer: Tatu Leppämäki (University of Helsinki)

Learning outcome

The aim of this lesson is to get started with using Python in QGIS. You will learn not only how to use PyQGIS in different ways but also when to utilize it over QGIS’s graphical interface. You will be familiarized with documentation and additional resources at each step and know where to look for more information.

Prerequisites

The participants are assumed to have good practical skills of Python and QGIS, and be familiar with GIS and spatial data analysis in general.

Agenda (tentative)

Day 1, Tuesday 23.11

09.00 – 10.20 Introduction to Python in QGIS   

10.40 – 12.00 Working with spatial data in PyQGIS

Day 2, Wednesday 24.11

09.00 – 10.20 Automation with Model Builder and Processing tools   

10.40 – 12.00 A look at PyQGIS plugin development

Technical requirements for participant local computers:

  • Zoom, link will be sent to registered participants
  • QGIS, version 3.16 or newer