Book Image

QGIS By Example

By : Alexander Bruy, Daria Svidzinska
Book Image

QGIS By Example

By: Alexander Bruy, Daria Svidzinska

Overview of this book

Table of Contents (17 chapters)
QGIS By Example
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Adding inputs


The first step of model creation is defining the input necessary for it. To do this, we should go over all the algorithms of the process that we want to automate and find out which input items are necessary. It is necessary to remember that some algorithms may not need separate inputs. They will use only results obtained in some previous steps, or in other words, the output of other algorithms. Also, some inputs may not be important and can be hardcoded in the model.

The Processing modeler supports the following kinds of input, which can be found in the Inputs tab on the left side of the modeler window:

  • Number: This is used for integer and floating-point values. When adding it, it is necessary to specify the minimum and maximum values allowed as well as a default value.

  • String: This is a string literal. There is only one additional setting, namely the default value.

  • Boolean: This is a boolean value, usually used as a checkbox. It is necessary to specify the default state: checked...