Workshop QGIS Python GeoPython 2018: Unterschied zwischen den Versionen

Aus Geoinformation HSR
Wechseln zu: Navigation, Suche
Zeile 3: Zeile 3:
 
* 7 May, 2018, Basel/Muttenz, https://2018.geopython.net/
 
* 7 May, 2018, Basel/Muttenz, https://2018.geopython.net/
  
''When analyzing geospatial data, we sometimes need to invoke certain methods and functions to get results or data we are looking for. This can be achieved using Python, as QGIS supports user-defined expressions and functions written in the popular programming language on QGIS's Python console (PyQGIS). We need to compare different data sets for certain tasks, which requires calling the same functions repeatedly. So, is there a better way to do this? PyQGIS is the answer to easily automate user tasks using Pythonic scripts.''
+
''Certain complex work requires us to run long and boring series of intermediate tasks repetitively. An example is in analyzing geospatial data, when we sometimes need to invoke the same methods on different data sets for comparison. A way to automate, as well as potentially simplifying it is through scripting, which can be achieved using Python! Our workshop applies just such know-how in popular FOSS4G software, QGIS, using PyQGIS, QGIS's Python console.  
  
''This workshop gives an overview of Python programming in QGIS (PyQGIS), QGIS' Processing framework, before in-depth, with hands-on examples, explanations on how to automate tasks using Python scripts, which would otherwise require repetition of the same process/running of code. ''
+
''This workshop starts with an overview of QGIs. It then moves on to introduce Python programming in QGIS (PyQGIS), as well as discuss QGIS' Processing framework and how it allows the use of Pythonic scripting, before going in-depth to explain how to automate tasks using Python scripts, which would otherwise require repetition of the same process/running of code. Learn how you can use and create custom scripts on QGIS with our very own hands-on exercises! The course then concludes by wrapping up on how attendants can make use of their newfound knowledge on the Processing framework, and to use and create Pythonic scripts, in QGIS or otherwise, to help them automate tasks for their own use.''
  
''This session concludes with how users can use these skills under the Processing framework, and to use and create custom scripts for their own data analysis.''
+
''Our course welcomes both enthusiasts who are eager to learn how to script in Python as well as those interested in learning more about geospatial data analysis, so feel free to join us!''
  
 
==Program==
 
==Program==
 
# 15 min: Welcome and QGIS installation
 
# 15 min: Welcome and QGIS installation
 
# 15 min: Intro to QGIS  
 
# 15 min: Intro to QGIS  
# 30 min: Intro to QGIS processing framework and PyQGIS
+
# 30 min: Intro to PyQGIS and Processing framework
 
# 45 min: Creating custom scripts with Hands-on Exercises
 
# 45 min: Creating custom scripts with Hands-on Exercises
 
# 15 min: Wrap-up & Conclusion
 
# 15 min: Wrap-up & Conclusion

Version vom 14. Februar 2018, 12:40 Uhr

  • Workshop about QGIS Processing Framework: Automating Tasks with Python
  • by Prof. Stefan Keller and Kang Zi Jing, Geometa Lab at HSR Rapperswil
  • 7 May, 2018, Basel/Muttenz, https://2018.geopython.net/

Certain complex work requires us to run long and boring series of intermediate tasks repetitively. An example is in analyzing geospatial data, when we sometimes need to invoke the same methods on different data sets for comparison. A way to automate, as well as potentially simplifying it is through scripting, which can be achieved using Python! Our workshop applies just such know-how in popular FOSS4G software, QGIS, using PyQGIS, QGIS's Python console.

This workshop starts with an overview of QGIs. It then moves on to introduce Python programming in QGIS (PyQGIS), as well as discuss QGIS' Processing framework and how it allows the use of Pythonic scripting, before going in-depth to explain how to automate tasks using Python scripts, which would otherwise require repetition of the same process/running of code. Learn how you can use and create custom scripts on QGIS with our very own hands-on exercises! The course then concludes by wrapping up on how attendants can make use of their newfound knowledge on the Processing framework, and to use and create Pythonic scripts, in QGIS or otherwise, to help them automate tasks for their own use.

Our course welcomes both enthusiasts who are eager to learn how to script in Python as well as those interested in learning more about geospatial data analysis, so feel free to join us!

Program

  1. 15 min: Welcome and QGIS installation
  2. 15 min: Intro to QGIS
  3. 30 min: Intro to PyQGIS and Processing framework
  4. 45 min: Creating custom scripts with Hands-on Exercises
  5. 15 min: Wrap-up & Conclusion

Material

[tbc]

Hardware and Software

Hardware: Bring your own device!

  • You need a regular computer (Windows, Linux, Mac) with admin credentials (in case QGIS is not yet installed)
  • Wi-Fi capabilities

Software:

  • QGIS: We need current QGIS Version 3.0. Minimumly 2.18.15! In case of any problems, just download the LTR version.
  • Web browser

Notes

See also: