548-0141/01 – Programming in GIS 4 (PvGIS4)
Gurantor department | Department of Geoinformatics | Credits | 5 |
Subject guarantor | doc. RNDr. Jan Caha, Ph.D. | Subject version guarantor | doc. RNDr. Jan Caha, Ph.D. |
Study level | undergraduate or graduate | Requirement | Compulsory |
Year | 1 | Semester | winter |
| | Study language | Czech |
Year of introduction | 2021/2022 | Year of cancellation | |
Intended for the faculties | HGF | Intended for study types | Follow-up Master |
Subject aims expressed by acquired skills and competences
The aim of the course is to teach students to create their own tools (plugins) for QGIS software in Python. Students gain following skills:
- installation and setup of open-source GIS tools (QGIS, GDAL) with Python API
- QGIS using via Python console
- creation of tools for QGIS in Python with qgis.core objects
- creating of own plugin for QGIS
- creating tests for own plugin
- creation of graphical user interface for Python tools within QGIS
Teaching methods
Lectures
Tutorials
Summary
Course is focusing on developing own tools (plugins) in Python language for software QGIS while using QGIS API. Students will be introduced to possibilities of data processing automation while using QGIS functionality and will learn how to develop tools for these purposes.
Compulsory literature:
Recommended literature:
Additional study materials
Way of continuous check of knowledge in the course of semester
Students are asked about knowledge from areas that they should have already known from previous lectures. They work on individual project. Written and oral exam.
E-learning
Other requirements
No additional requirements are imposed on the student.
Prerequisities
Subject has no prerequisities.
Co-requisities
Subject has no co-requisities.
Subject syllabus:
1. PyCharm IDE, installation and setup of open-source GIS tools (QGIS, GDAL) with Python API
2. Python in QGIS - Models, Scripts, GUI
3. QGIS usage via Python console
4. Creation of tools for QGIS in Python (Scripts) - tool structure, basic data processing
5. QGIS API - division, main parts - modules qgis.core, qgis.analysis, qgis.processing
6. Basic objects for creating tools from the qgis.core module
7. Creating tools for QGIS in Python with qgis.core objects - introduction, basic elements of the interface
8. Creating tools for QGIS in Python with qgis.core objects - vector data
9. Creating tools for QGIS in Python with qgis.core objects - raster data
10. Plugin creation - structure, requisites, tools for creation
11. Creating tests (Python module unittest) for own plugin
12. Creating more complex GUIs for Python tools within QGIS
13. Python programs using QGIS API without direct access to QGIS
Conditions for subject completion
Occurrence in study plans
Occurrence in special blocks
Assessment of instruction