27.10. Input and output types for Processing Algorithms
Here is the list of input and output types that are supported in Processing with their corresponding alg decorator constants, their name in the modeler designer if exposed.
27.10.1. Input types
Input name |
Class |
Alg constant |
Description |
---|---|---|---|
Annotation layer |
|
An annotation layer |
|
Area |
A numeric parameter representing an area measure |
||
Authentication Configuration |
|
Allows users to select from available authentication configurations or create new authentication configurations |
|
Raster band |
|
A band of a raster layer |
|
Boolean |
|
A boolean value |
|
Connection Name |
A selection from available registered connections for a particular data provider |
||
Color |
|
A color |
|
Coordinate Operation |
|
A coordinate operation (for CRS transformations) |
|
CRS |
|
A Coordinate Reference System |
|
Database Schema |
|
A database schema |
|
Database Table |
|
A database table |
|
Date |
|
A pure date |
|
Datetime |
|
A datetime |
|
Distance |
|
A double numeric parameter for distance values |
|
DXF Layers |
A list of vector layers to export as DXF file |
||
Enum |
|
An enumeration, allowing for selection from a set of predefined values |
|
Expression |
|
An expression |
|
Extent |
|
A spatial extent defined by xmin, xmax, ymin, ymax |
|
|
A field in the attribute table of a vector layer |
||
Field Aggregates |
A parameter for “aggregate” configurations, which consist of a definition of desired output fields, types, and aggregate used to populate them |
||
Fields Mapper |
A parameter for “field mapping” configurations, which consist of a definition of desired output fields, types, and expressions used to populate them |
||
File/Folder |
|
A filename of an existing file |
|
|
A filename for a newly created output file |
||
|
A folder (destination folder) |
||
Geometry |
|
A geometry |
|
|
An integer |
||
Print Layout |
|
A layout |
|
Print Layout Item |
|
A layout item |
|
Map Layer |
|
A map layer |
|
Map Theme |
|
A project map theme |
|
Matrix |
|
A matrix |
|
Mesh Dataset Groups |
Dataset groups of mesh layer |
||
Mesh Dataset Time |
Dataset index from a mesh layer by time setting |
||
Mesh Layer |
|
A mesh layer |
|
Multiple Input |
|
A set of layers |
|
Number |
|
A numerical value |
|
Point |
|
A point |
|
Point Cloud Attribute |
An attribute from a point cloud layer |
||
|
A point cloud layer destination parameter, for specifying the destination path for a point cloud layer created by the algorithm |
||
Point Cloud Layer |
|
A point cloud layer |
|
|
An available connection for a database provider |
||
Range |
|
A number range |
|
Raster Layer |
|
A raster layer |
|
|
A raster layer destination parameter, for specifying the destination path for a raster layer created by the algorithm |
||
Scale |
|
A map scale |
|
|
A feature sink |
||
String |
|
A text string |
|
TIN Creation Layers |
Selection of multiple layers to create a TIN with vertices and/or break lines |
||
Time |
|
A pure time |
|
Vector Features |
|
A feature source |
|
Vector Layer |
|
A vector layer |
|
|
A vector layer destination parameter, for specifying the destination path for a vector layer created by the algorithm |
||
Vector Tile Writer Layers |
A vector tile layer destination parameter, for specifying the destination path for a vector tile layer created by the algorithm |
||
Volume |
A numeric parameter representing a volume measure |
27.10.2. Output types
Class |
Alg constant |
Description |
---|---|---|
|
A boolean value |
|
|
A double numeric parameter for distance values |
|
|
A filename of an existing file |
|
|
A folder |
|
|
HTML |
|
|
A integer |
|
|
A layer definition |
|
|
A map layer |
|
|
A set of layers |
|
|
A numerical value |
|
|
A point cloud layer |
|
|
A raster layer |
|
|
A text string |
|
|
A vector layer |
|
A vector tile layer |