24.1.6. Modeler tools

These tools are only available in the Graphical Modeler. They are not available in the Processing Toolbox.

24.1.6.1. Load layer into project

Loads a layer to the current project.

24.1.6.1.1. Parâmetros

Label

Nome

Type

Descrição

Layer

INPUT

[layer]

Layer to load in the legend

Loaded layer name

NAME

[string]

Name of the loaded layer

24.1.6.1.2. Resultados

Label

Nome

Type

Descrição

Layer

OUTPUT

[same as input]

The (renamed) loaded layer

24.1.6.1.3. Python code

Algorithm ID: qgis:loadlayer

import processing
processing.run("algorithm_id", {parameter_dictionary})

The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Usando os algoritmos do processamento a partir da consola for details on how to run processing algorithms from the Python console.

24.1.6.2. Rename layer

Renames a layer.

24.1.6.2.1. Parâmetros

Label

Nome

Type

Descrição

Layer

INPUT

[layer]

Layer to rename

New name

NAME

[string]

The new name of the layer

24.1.6.2.2. Resultados

Label

Nome

Type

Descrição

Layer

OUTPUT

[same as input]

The (renamed) output layer

24.1.6.2.3. Python code

Algorithm ID: qgis:renamelayer

import processing
processing.run("algorithm_id", {parameter_dictionary})

The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Usando os algoritmos do processamento a partir da consola for details on how to run processing algorithms from the Python console.

24.1.6.3. String concatenation

Concatenates two strings into a single one in the Processing Modeler.

24.1.6.3.1. Parâmetros

Label

Nome

Type

Descrição

Input 1

INPUT_1

[string]

First string

Input 2

INPUT_2

[string]

Second string

24.1.6.3.2. Resultados

Label

Nome

Type

Descrição

Concatenation

CONCATENATION

[string]

The concatenated string

24.1.6.3.3. Python code

Algorithm ID: qgis:stringconcatenation

import processing
processing.run("algorithm_id", {parameter_dictionary})

The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Usando os algoritmos do processamento a partir da consola for details on how to run processing algorithms from the Python console.