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. Parameter

Label

Name

Type

Beschreibung

Layer

INPUT

[layer]

Layer to load in the legend

Loaded layer name

NAME

[string]

Name of the loaded layer

24.1.6.1.2. Ausgaben

Label

Name

Type

Beschreibung

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 Verarbeitung Algorithmen von der Konsole aus verwenden 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. Parameter

Label

Name

Type

Beschreibung

Layer

INPUT

[layer]

Layer to rename

New name

NAME

[string]

The new name of the layer

24.1.6.2.2. Ausgaben

Label

Name

Type

Beschreibung

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 Verarbeitung Algorithmen von der Konsole aus verwenden 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. Parameter

Label

Name

Type

Beschreibung

Input 1

INPUT_1

[string]

First string

Input 2

INPUT_2

[string]

Second string

24.1.6.3.2. Ausgaben

Label

Name

Type

Beschreibung

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 Verarbeitung Algorithmen von der Konsole aus verwenden for details on how to run processing algorithms from the Python console.