Diskussion:Workshop QGIS Python GeoPython 2018
Inhaltsverzeichnis
Detailed Program
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)
1. What is QGIS -> GIS -> FOSS4G 2. History of QGIS (as well as introduce the community, help sites etc) 3. Advantages and Disadvantages of using QGIS 4. Application of QGIS for GIS Analysis -> PostgreSQL, OSM, etc 5. Limitations and future work on QGIS
Intro to PyQGIS and Processing Framework (30 min)
1. What is PyQGIS -> Python console -> however, QGIS is written in C++ 2. How does QGIS C++ code interact with Python console -> Processing Framework 3. Processing Framework -> QGIS API 4. PyQGIS features -> scripts, expression functions, graphical modelers, plugins, etc 5. Why PyQGIS is so powerful -> How does Python come into play
Creating Custom Scripts with Hands-on Exercises (45 min)
1. Intro to scripting in Python -> automate repetitive tasks -> geospatial analysis 2. Example of sample script/graphical modeler/plugin (first script I created, Anita's edge bundling scripts, and more tbd) 3. Open up Processing Toolbox -> setting up path environment and environment variables if need be 4. Hands-on exercises -> increased difficulty as we go along -> about 3-5 exercises? -> GitHub repo 5. Talk about ScriptRunner (if time permits) 6. Standalone scripts, modelers, plugins (brief instructions on how to create) 7. Further study: GitHub repo, readings, references, communities 8. Bonus exercises and answers to exercises -> GitHub
Wrap up and Conclusion (15 min)
1. Brief recap 2. QGIS closing 3. Python closing