Learn spatial programming with QGIS and Python

Geographical Information Systems (GIS) can be defined as a powerful set of tools for collecting, storing, transforming, and displaying spatial data. Over time, GIS significantly developed and became fundamental to generate additional information from raw data and help in the process of decision making. Thanks to its advanced capabilities, simplicity of use and possibility to access, modify and redistribute its source code, QGIS has rapidly arose as one of the most popular open source GIS software.

This course focuses on the development of automatic procedures in QGIS environment, as an effective approach to allow the management of huge quantity of data or to speed up simple but repetitive actions. Python has been chosen as programming language to interact with QGIS due to its simplicity, flexibility, and high degree of integration with the software.

After a very brief repetition in Python programming, the participants learn to use the basic operations that can be performed with Python in QGIS (e.g., vector and raster data management). Then, students learn how to interact with QGIS processing tools, and how to make more advanced operations (e.g., coordinate systems management, layers styling, processing algorithm implementation).

General information

Duration 12 hours
Introduction to Python [1.5-2 h]:
  • Variables and data types.
  • Control flows.
  • Functions and Classes.
  • Modules and Packages.
QGIS and Python: fundamental operations [4 h]:
  • Python in QGIS.
  • PyQGIS Library.
  • Data management (Vector, Raster, CSV, GeoPackage):
Using QGIS processing toolbox with Python [4 h]:
  • Input/Output, parameters configuration.
  • Algorithm execution from script.
  • Implementation of new processing algorithm.
QGIS and Python: advanced operations [2 h]:
  • Layer Styling.
  • Data Export and Rendering.
Sound knowledge of Python and QGIS.
  • QGIS - QGIS Desktop Basics
  • APPD - Python - Data Analysis Essentials
This course is particularly suited for students and researchers who want to automate their GIS environment.
Students are able to:
  • Execute common workflows in QGIS using Python.
  • Implement scripts to automatically perform the most important operations.
  • Assess the right methodologies for the development of tailored procedures to operate with different kinds of spatial and environmental data.
Please, note that some parts of this course (e.g., execution of PyQGIS scripts) are specifically designed for a Windows 10 environment. Participants with a different OS are welcome to join the course and will be able to fully execute the vast majority of the tasks and exercises. However, due to time limitations, it will not be possible during the course to address specific questions related to an OS different than Windows 10. Thank you for your understanding and appreciation.


Code Referents Dates Available seats Place
There are currently no open courses

Please note before booking

Before booking your course, please note our General Conditions of Participation (pdf, 92 KB) but especially our Fair Play: Registration and Deregistration (pdf, 299 KB).... Thank you very much!




E-mail: training@zi.uzh.ch
Contact details

Course programme of the FS23:

The program for the spring semester 2023 (pdf in German, 475 KB) will be online from January. Registration is possible from 01.02.2023 (during the night from approx. 01:00)

CMS, OLAT and Science IT courses also allow prior registration