Course : Python, programming QGIS extensions

Practical course - 3d - 21h00 - Ref. QGS
Price : 1680 € E.T.

Python, programming QGIS extensions




QGIS is a free GIS (Geographic Information System) software that lets you write new functions using the Python language. This course teaches you how to write a new QGIS function in Python (integrating a graphical interface in Qt).


INTER
IN-HOUSE
CUSTOM

Practical course in person or remote class
Disponible en anglais, à la demande

Ref. QGS
  3d - 21h00
1680 € E.T.




QGIS is a free GIS (Geographic Information System) software that lets you write new functions using the Python language. This course teaches you how to write a new QGIS function in Python (integrating a graphical interface in Qt).


Teaching objectives
At the end of the training, the participant will be able to:
Learn the basics of PyQT
Discover the QGIS API
Be able to build a QGIS extension

Intended audience
Developers supporting a geomatics department.

Prerequisites
Knowledge of geomatics and Python.

Practical details
Hands-on work
Training alternating theory and practice.

Course schedule

1
Structure of a QGIS extension

  • Basic extension files.
  • The initialization file.
  • The main class file.
  • Ancillary functions file.
  • The graphical interface.
  • The interaction file.
  • Event management.
  • Create actions associated with events.
Hands-on work
Writing an extension.

2
Distribution of a plugin, creation of a repository

  • QGIS extension repository system.
  • The extension installer.
  • Add an extension to QGIS.
  • Mandatory files (metadata).
  • Depositing and sharing extensions.
Hands-on work
Submission of an extension.

3
PyQt

  • Qt widgets.
  • Basic HMI components (QMainWindow, QFrame, QLabel...).
  • Widget customization.
  • Event management.
  • Notions of signal and slot.
  • Link between Qt and Python.
  • Integration of widgets in python code.
  • Signal and slot management.
Hands-on work
Write a Python program with a PyQt interface.

4
Writing an extension with a Qt interface

  • Create extensions with a PyQt interface.
  • Distribute the extension.


Publication date : 07/12/2024



This programme is an original creation, developed by the teaching teams at ORSYS Formation. Any reproduction, representation, adaptation or use, in whole or in part, without the prior written authorisation of ORSYS, is strictly prohibited. ORSYS reserves the right to take any action necessary to protect its intellectual property rights.

Dates and locations

Dernières places
Date garantie en présentiel ou à distance
Session garantie
From 22 to 24 November 2027
FR
Remote class
Registration
From 22 to 24 November 2027
EN
Remote class
Registration

REMOTE CLASS
2027 : 22 Nov., 22 Nov.



This programme is an original creation, developed by the teaching teams at ORSYS Formation. Any reproduction, representation, adaptation or use, in whole or in part, without the prior written authorisation of ORSYS, is strictly prohibited. ORSYS reserves the right to take any action necessary to protect its intellectual property rights.