Workshop QGIS Python GeoPython 2018: Unterschied zwischen den Versionen

Aus Geoinformation HSR
Wechseln zu: Navigation, Suche
K
 
(11 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 3: Zeile 3:
 
* 7 May, 2018, Basel/Muttenz, https://2018.geopython.net/
 
* 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, where we might need to invoke the same methods on different data sets for comparison. A way to automate, as well as potentially simplifying these tasks is through scripting, which can be achieved using Python! Our workshop applies just such know-how in popular FOSS4G software, QGIS, by using PyQGIS, QGIS's Python console.
+
''Ever had to automate a task in geospatial data analysis? In this workshop you learn how to do this using QGIS and Python. We start with an overview then we present the Processing framework and how it comes together to allow pythonic scripting. Finally we're getting real with some hands-on exercises.''
  
''This workshop starts with an overview of QGIS, as 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. Afterwards, 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 future use.''
+
Geospatial data analysis and processing often requires us to run series of intermediate tasks repetitively. An example where we need to invoke the same methods on different data sets. A way to automate, as well as potentially to simplify these tasks is through scripting, which can be achieved using Python within QGIS, the popular open source GIS.
  
''This course makes use of the software QGIS v3.0 and incorporates certain GIS knowledge, but still keeps it friendly enough for beginners or first-timers, and we welcome 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!''
+
This workshop we start with an overview of QGIS, then it moves on to introduce Python programming in QGIS (PyQGIS). Then we discuss QGIS' Processing framework and how it allows the use of pythonic scripting, before we’re going in-depth to explain how to automate tasks using Python scripts, which would otherwise require repetition of the same process/running of code. Afterwards, we show you how you can use and create custom scripts on QGIS with our own hands-on exercises. We’re wrapping the course on how one can use the Processing framework and how one can create pythonic scripts in QGIS or otherwise, to help automating tasks for future use.
 +
 
 +
This course makes use of QGIS 3 and incorporates certain GIS knowledge, but still keeps it friendly enough for beginners or first-timers. So, we welcome both enthusiasts who are eager to learn how to script in Python, as well as those interested in learning more about geospatial data analysis and processing.
 +
 
 +
License of source code is GPL2, license of material is CC-BY-4.0 unless stated otherwise.
  
 
==Program==
 
==Program==
# 15 min: Welcome and QGIS installation
+
# 5 min: Introduction and Welcome (Stefan)
# 15 min: Intro to QGIS  
+
# 5 min: Introduction to QGIS (Stefan)
# 30 min: Intro to PyQGIS and Processing framework
+
# 25 min: Introduction to Processing framework  
# 45 min: Creating custom scripts with Hands-on Exercises
+
# 20 min: Introduction to Workflow
# 15 min: Wrap-up & Conclusion
+
# 60 min: Hands-on Exercises
 +
# 5 min: Wrap-up & Conclusion
  
 
==Material==
 
==Material==
 
+
* GitHub repository: https://github.com/geometalab/GeoPythonConf2018-QGIS-Processing-Workshop
* Official QGIS Documentation 'releases newer than QGIS 2.18': https://docs.qgis.org/testing/en/docs/user_manual/processing/
+
* Official QGIS Documentation 'releases newer than QGIS 3.x': https://docs.qgis.org/testing/en/docs/user_manual/processing/
 
 
[tbc]
 
  
 
==Hardware and Software==
 
==Hardware and Software==
Zeile 29: Zeile 32:
  
 
Software:
 
Software:
* QGIS: We need current QGIS Version 3.0. Minimumly 2.18.15! In case of any problems, just download the LTR version.
+
* QGIS: We need current QGIS Version 3.0! Any version earlier than 3.0 would not work!
 +
* Python 3.6
 
* Web browser
 
* Web browser
  

Aktuelle Version vom 7. Mai 2018, 02:10 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/

Ever had to automate a task in geospatial data analysis? In this workshop you learn how to do this using QGIS and Python. We start with an overview then we present the Processing framework and how it comes together to allow pythonic scripting. Finally we're getting real with some hands-on exercises.

Geospatial data analysis and processing often requires us to run series of intermediate tasks repetitively. An example where we need to invoke the same methods on different data sets. A way to automate, as well as potentially to simplify these tasks is through scripting, which can be achieved using Python within QGIS, the popular open source GIS.

This workshop we start with an overview of QGIS, then it moves on to introduce Python programming in QGIS (PyQGIS). Then we discuss QGIS' Processing framework and how it allows the use of pythonic scripting, before we’re going in-depth to explain how to automate tasks using Python scripts, which would otherwise require repetition of the same process/running of code. Afterwards, we show you how you can use and create custom scripts on QGIS with our own hands-on exercises. We’re wrapping the course on how one can use the Processing framework and how one can create pythonic scripts in QGIS or otherwise, to help automating tasks for future use.

This course makes use of QGIS 3 and incorporates certain GIS knowledge, but still keeps it friendly enough for beginners or first-timers. So, we welcome both enthusiasts who are eager to learn how to script in Python, as well as those interested in learning more about geospatial data analysis and processing.

License of source code is GPL2, license of material is CC-BY-4.0 unless stated otherwise.

Program

  1. 5 min: Introduction and Welcome (Stefan)
  2. 5 min: Introduction to QGIS (Stefan)
  3. 25 min: Introduction to Processing framework
  4. 20 min: Introduction to Workflow
  5. 60 min: Hands-on Exercises
  6. 5 min: Wrap-up & Conclusion

Material

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! Any version earlier than 3.0 would not work!
  • Python 3.6
  • Web browser

Notes

See also: