O'Reilly logo

QGIS By Example by Daria Svidzinska, Alexander Bruy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Automating Analysis with Processing Scripts

In the previous chapter, we introduced the Processing Graphical modeler, and you learned how to use it to automate complex geoprocessing analyses. But this is not the only way to automate your work. QGIS's Processing framework also allows you to write your own scripts in Python and use them like any other algorithm later. This is what we will discuss in this chapter.

In this chapter, we will go through the following topics:

  • Python scripts in Processing
  • Defining the input and output
  • Implementing the algorithm
  • Writing help and saving
  • Sharing scripts

Python scripts in Processing

You have already learned how to create models and automate analysis tasks with the help of the graphical modeler from the QGIS ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required