Diskussion:Workshop QGIS Python GeoPython 2018: Unterschied zwischen den Versionen
Aus Geoinformation HSR
Zeile 43: | Zeile 43: | ||
# QGIS closing | # QGIS closing | ||
# Python closing | # Python closing | ||
+ | |||
+ | ==Notes== |
Version vom 7. März 2018, 18:41 Uhr
Inhaltsverzeichnis
Information
GitHub repository: <>
Program Overview
- 15 min: Welcome and QGIS installation
- 15 min: Intro to QGIS
- 30 min: Intro to PyQGIS and Processing framework
- 45 min: Creating custom scripts with Hands-on Exercises
- 15 min: Wrap-up & Conclusion
Welcome and QGIS Installation (15 min)
- Welcome everybody into the workshop, and introduce each other (name, country, what they do, etc)
- Make sure everybody has successfully installed QGIS 3.0 from the website (GitHub repo as well as workshop materials will provide the link)
- Help out anyone who has any problems installing QGIS 3.0
Intro to QGIS (15 min)
- What is QGIS -> GIS -> FOSS4G
- History of QGIS (as well as introduce the community, help sites etc)
- Advantages and Disadvantages of using QGIS
- Application of QGIS for GIS Analysis -> PostgreSQL, OSM, etc
- Limitations and future work on QGIS
Intro to PyQGIS and Processing Framework (30 min)
- What is PyQGIS -> Python console -> however, QGIS is written in C++
- How does QGIS C++ code interact with Python console -> Processing Framework
- Processing Framework -> QGIS API
- PyQGIS features -> scripts, expression functions, graphical modelers, plugins, etc
- Why PyQGIS is so powerful -> How does Python come into play
Creating Custom Scripts with Hands-on Exercises (45 min)
- Intro to scripting in Python -> automate repetitive tasks -> geospatial analysis
- Example of sample script/graphical modeler/plugin (first script I created, Anita's edge bundling scripts, and more tbd)
- Open up Processing Toolbox -> setting up path environment and environment variables if need be
- Hands-on exercises -> increased difficulty as we go along -> about 3-5 exercises? -> GitHub repo
- Talk about ScriptRunner (if time permits)
- Standalone scripts, modelers, plugins (brief instructions on how to create)
- Further study: GitHub repo, readings, references, communities
- Bonus exercises and answers to exercises -> GitHub
Wrap up and Conclusion (15 min)
- Brief recap
- QGIS closing
- Python closing