23.1.7. Modeler tools

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

23.1.7.1. Load layer into project

Loads a layer to the current project.

23.1.7.1.1. Parameters

Label

Name

Type

Description

Layer

INPUT

[layer]

Layer to load in the legend

Loaded layer name

NAME

[string]

Name of the loaded layer

23.1.7.1.2. Outputs

Label

Name

Type

Description

Layer

OUTPUT

[same as input]

The (renamed) loaded layer

23.1.7.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 Using processing algorithms from the console for details on how to run processing algorithms from the Python console.

23.1.7.2. Rename layer

Renames a layer.

23.1.7.2.1. Parameters

Label

Name

Type

Description

Layer

INPUT

[layer]

Layer to rename

New name

NAME

[string]

The new name of the layer

23.1.7.2.2. Outputs

Label

Name

Type

Description

Layer

OUTPUT

[same as input]

The (renamed) output layer

23.1.7.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 Using processing algorithms from the console for details on how to run processing algorithms from the Python console.

23.1.7.3. String concatenation

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

23.1.7.3.1. Parameters

Label

Name

Type

Description

Input 1

INPUT_1

[string]

First string

Input 2

INPUT_2

[string]

Second string

23.1.7.3.2. Outputs

Label

Name

Type

Description

Concatenation

CONCATENATION

[string]

The concatenated string

23.1.7.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 Using processing algorithms from the console for details on how to run processing algorithms from the Python console.