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 |
Имя |
Тип |
Описание |
---|---|---|---|
Layer |
|
[layer] |
Layer to load in the legend |
Loaded layer name |
|
[string] |
Name of the loaded layer |
23.1.7.1.2. Outputs¶
Label |
Имя |
Тип |
Описание |
---|---|---|---|
Layer |
|
[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 Изпользование алгоритмов геообработки в консоли 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 |
Имя |
Тип |
Описание |
---|---|---|---|
Layer |
|
[layer] |
Layer to rename |
New name |
|
[string] |
The new name of the layer |
23.1.7.2.2. Outputs¶
Label |
Имя |
Тип |
Описание |
---|---|---|---|
Layer |
|
[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 Изпользование алгоритмов геообработки в консоли 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 |
Имя |
Тип |
Описание |
---|---|---|---|
Input 1 |
|
[string] |
First string |
Input 2 |
|
[string] |
Second string |
23.1.7.3.2. Outputs¶
Label |
Имя |
Тип |
Описание |
---|---|---|---|
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 Изпользование алгоритмов геообработки в консоли for details on how to run processing algorithms from the Python console.