QGIS Desktop is one of the most powerfull Open Software GIS software used in a daily basis. One of its key feature is the data processing module that allows users to process their data from various format and offers a rich set of functionalities, which guarantee a high degree of flexibility. This presentation will focus on this part of QGIS and will describe different way to process your data. It will show how to industrialize your process to be more productive in your daily use of QGIS. We will then describe the next key features of the module in QGIS 3.
2. 2/30www.camptocamp.com /
About me
■ Name: Yves Jacolin
■ Company: Camptocamp (training and support)
■ Twitter: @yjacolin
■ Community:
○ GeoRezo.net moderator and administrator
○ OSGeo-Fr : funding member, president, contributor
○ OSGeo charter member
○ QGIS Documentation Leader
3. 3/30www.camptocamp.com /
Introduction
■ Data processing could help you for:
○ managing and processing your data
○ industrializing your process
■ Processing in QGIS is a light ETL
4. 4/30www.camptocamp.com /
Summary
■ Description of QGIS Processing Feature (in QGIS
2.x)
○ What it is
○ Data source
■ Geoalgorithms
■ Graphical modeler
■ Scripts
■ Tips & Tricks
■ What’s new: QGIS 3.0 and beyond
6. 6/30www.camptocamp.com /
What is Processing in QGIS?
■ Python plugin for data processing
○ Created by Victor Olaya
○ A lot of new feature and improvment since its creation
■ Several providers
○ GDAL-OGR
○ SAGA
○ Orfeo Tools Box
○ GRASS
○ R-Script
○ TauDEM
○ LAStools
7. 7/30www.camptocamp.com /
What is Processing in QGIS?
■ Panels and windows:
○ Options
○ Toolbox
○ Graphical modeler
○ Results viewer
○ Commander
10. 10/30www.camptocamp.com /
Data source
■ Read and write all data source from QGIS
■ Internal temporary data source: shapefile
○ Break field name to 10 characters
○ ...
16. 16/30www.camptocamp.com /
Graphical modeler
■ Several data inputs
○ Raster and vector layers
○ Attribut table
○ Boolean, Strings, Number
○ File, extent
■ All modules are available in the
graphical modeler
18. 18/30www.camptocamp.com /
Graphical modeler
■ Contextual menu for field:
○ Vector/raster layers: Open an external file
○ Number/string: use of an expression
○ Resulting field: export to a temporary file, a file or use
expression
■ Iterating on features
23. 23/30www.camptocamp.com /
Tips & Tricks
■ Use your scripts and custom algorithms in another
algorithm
■ Export scripts
■ Create a menu in QGIS maint interface from models
■ Batch processing
25. 25/30www.camptocamp.com /
The futur!
■ Some limitations:
○ Temporary files (shp) when two processes are linked each other
○ Python scripts
○ Performance issue with lot of data
■ On-going works :
○ Big refactoring by Nyall Dawson
- Multi-threading (done)
- No temporary file between each processes
- Python to C++ (on going)
- Models break (on going)
- Removing duplicate algorithms