FOSS4G 2023 workshops

Scripting with pyQGIS for beginners
2023-06-27, 09:00–13:00 (Europe/Tirane), Mirusha

Scripting is the power tool for any GIS user. It gives users the possibility to solve particular problems or automate long tasks. This workshop introduces pyQGIS to new users.


The workshop aims to give a first introduction to scripting in QGIS using its python scripting language pyQGIS.
The workshop will introduce the main python objects used to represent geometric and geographic objects, being it vector or raster.
The main topics covered by the workshop are:

  • main pyQGIS objects: geometries, layers, project
  • working with geometries: creation, operations, visualization
  • vector layers: reading and writing features with attributes. Memory layers and persistence on disk
  • a word about: simple introduction to projections and filters
  • raster layers: read and write rasters, analyzing raster data
  • developing a simple raster-vector analysis script
  • creation of simple printing layouts

Participants are required to have basic python and QGIS knowledge.

Andrea Antonello works on open source GIS development since his degree in environmental engineering. He is co-founder of HydroloGIS, a company that makes use as well as develops geospatial open source software for environmental analyses. Andrea is lead of the HortonMachine and Smash projects and part of the development team of Aries. He is lecturer for Advanced Geomatics at the Free University of Bolzano, where he teaches how to script in QGIS.

Luca is an OSGeo and OSM contributor and advocate. He graduated in Geography at University of Genova (Italy) in 2008. Since the same year he work at Fondazione Edmund Mach, an institute near Trento. He is interested in all GIS features: desktop, web, geodatabase and geodata. He is contributor of GRASS GIS, pyModis, OSGeoLive and ZOO-Project.
He is active in the Italian community, GFOSS.it. He has been a board member for about 10 years and he was President of the Italian OSGeo local chapter for 3 years.
He was the chair of the FOSS4G 2022 held in Florence.