Python - PyQGIS
The dynamic and object-oriented programming language Python has become the most important programming language for automatization and customization of geographic information systems (GIS). QGIS is one of the most popular open-source GIS. Python can be used in QGIS to access spatial data and geoprocessing tools, and to create your own plugins. This course will teach you how to use the Python interface in QGIS to write custom scripts and tools. The content of this course provides a good foundation for creating plugins.
Introduction to PyQGIS
- Introduction to the Python console
- Working with the QGIS interface (accessing layers, windows, etc.)
- Working with the QgsVectorLayer class (e.g. creating and loading vector data)
- Creating a script to load all vector data from a folder
- Reading attributes
- Editing data: working with the data provider, creating/deleting fields, editing values
- Querying and selecting objects
- Exporting layers
- Communicating with users (logs, message boxes, status bars, etc.).
Geoprocessing
- Finding available algorithms/tools
- Using the help and documentation
- Running geoprocessing tools
- Working with temporary files
- Creating custom scripts using geoprocessing tools
- Duration 2 days
- Cost (plus VAT.) 529 €
Next dates
- Currently not scheduled. Please contact us to book this course individually. Note that most of our courses are regularly offered in German. If this is an option for you, please check this course's German page.
Prerequisites
- basic knowledge of computers
- basic knowledge of Python
- basic knowledge of QGIS
Materials
- certificate
- exercices and training data
- extensive scripts, materials and links