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

Implementing the algorithm

Now, when we know how to define input and output, we are ready to develop Python scripts for Processing.

There are two ways to create a script:

  • Use your favorite text editor or IDE
  • Use Processing's built-in code editor

Which method to use is a matter of taste and habits. In this book, we will use the built-in script editor. You can open it from the Processing toolbox. Locate and expand the Scripts group, expand the Tools subgroup, and double-click on the Create new script item. Alternatively, you can start typing Create new script in the filter field. The toolbox's content will be filtered, and you can easily locate the corresponding item.

The Script editor looks like an ordinary text editor as shown in the preceding screenshot. ...

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