Where can I find the QGIS processing guide?

Where can I find the QGIS processing guide?

The QGIS processing guide — QGIS Documentation documentation 17. The QGIS processing guide ¶ This module contributed by Victor Olaya and Paolo Cavallini. 17.1. Introduction 17.2.

How to use QGIS as a script in Python?

Calling algorithms from the Python console 23.7.2. Creating scripts and running them from the toolbox 23.7.3. Pre- and post-execution script hooks 23.8. Using processing from the command line 23.9. Writing new Processing algorithms as Python scripts

How to run a QGIS model from the command line?

QGIS comes with a tool called qgis_process which allows you to call processing algorithms and models directly from the command line without starting QGIS desktop itself. The command list can be used to get a list of all available providers and algorithms. The command run can be used to run an algorithm or model.

How does a vector input work in QGIS?

If the button corresponding to a vector input is toggled, the algorithm will be executed iteratively on each one of its features, instead of just once for the whole layer, producing as many outputs as times the algorithm is executed. This allows for automating the process when all features in a layer have to be processed separately.

Is there a processing console in QGIS Python?

There is not a processing console in QGIS, but all processing commands are available instead from the QGIS built-in Python console. That means that you can incorporate those commands into your console work and connect processing algorithms to all the other features (including methods from the QGIS API) available from there.

How to create a new QGIS plugin from scratch?

To create a plugin from scratch which contains an algorithm provider, you can follow these steps using the Plugin Builder: Create a new plugin using the Plugin Builder. When the Plugin Builder asks you for the template to use, select “Processing provider”. The created plugin contains a provider with a single algorithm.

How to pass a string to a QGIS object?

Simply use a string with the name that identifies the data object to use (the name it has in the QGIS Table of Contents) or a filename (if the corresponding layer is not opened, it will be opened but not added to the map canvas). If you have an instance of a QGIS object representing the layer, you can also pass it as parameter.