Importante

Translation is a community effort you can join. This page is currently translated at 77.31%.

27.10. Tipos de entrada e saída para Algoritmos de Processamento

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. Tipos de entrada

Input name

Classes

Alg constant

Descrição

Annotation layer

QgsProcessingParameterAnnotationLayer

alg.ANNOTATION_LAYER

Uma camada de texto

Configuração de Autenticação

QgsProcessingParameterAuthConfig

alg.AUTH_CFG

Permite que os usuários selecionem entre as configurações de autenticação disponíveis ou criem novas configurações de autenticação

Banda raster

QgsProcessingParameterBand

alg.BAND

Uma banda de uma camada raster

Booleano

QgsProcessingParameterBoolean

alg.BOOL

Um valor booleano

Connection Name

QgsProcessingParameterProviderConnection

A selection from available registered connections for a particular data provider

Cor

QgsProcessingParameterColor

alg.COLOR

Uma cor

Coordinate Operation

QgsProcessingParameterCoordinateOperation

alg.COORDINATE_OPERATION

Uma operação de coordenadas (para transformações SRC)

SRC

QgsProcessingParameterCrs

alg.CRS

Um Sistema de Referência de Coordenadas

Database Schema

QgsProcessingParameterDatabaseSchema

alg.DATABASE_SCHEMA

A database schema

Database Table

QgsProcessingParameterDatabaseTable

alg.DATABASE_TABLE

A database table

Datetime

QgsProcessingParameterDateTime

alg.DATETIME

A datetime (or a pure date or time)

Distance

QgsProcessingParameterDistance

alg.DISTANCE

Um parâmetro numérico duplo para valores de distância

DXF Layers

QgsProcessingParameterDxfLayers

A list of vector layers to export as DXF file

Enum

QgsProcessingParameterEnum

alg.ENUM

Uma enumeração, permitindo a seleção de um conjunto de valores predefinidos

Expressão

QgsProcessingParameterExpression

alg.EXPRESSION

Uma expressão

Extensão

QgsProcessingParameterExtent

alg.EXTENT

Uma extensão espacial definida por xmin, xmax, ymin, ymax

QgsProcessingParameterField

alg.FIELD

Um campo na tabela de atributos de uma camada vetorial

Field Aggregates

QgsProcessingParameterAggregate

A parameter for “aggregate” configurations, which consist of a definition of desired output fields, types, and aggregate used to populate them

Fields Mapper

QgsProcessingParameterFieldMapping

A parameter for “field mapping” configurations, which consist of a definition of desired output fields, types, and expressions used to populate them

File/Folder

QgsProcessingParameterFile

alg.FILE

Um nome de arquivo de um arquivo existente

QgsProcessingParameterFileDestination

alg.FILE_DEST

Um nome de arquivo para um arquivo de saída recém-criado

QgsProcessingParameterFolderDestination

alg.FOLDER_DEST

Uma pasta (pasta de destino)

Geometry

QgsProcessingParameterGeometry

alg.GEOMETRY

Uma geometria

QgsProcessingParameterNumber.Integer

alg.INT

Um número inteiro

Layout de impressão

QgsProcessingParameterLayout

alg.LAYOUT

Um layout

Print Layout Item

QgsProcessingParameterLayoutItem

alg.LAYOUT_ITEM

Um item de layout

Map Layer

QgsProcessingParameterMapLayer

alg.MAPLAYER

Uma camada do mapa

Map Theme

QgsProcessingParameterMapTheme

alg.MAP_THEME

A project map theme

Matriz

QgsProcessingParameterMatrix

alg.MATRIX

Uma matriz

Mesh Dataset Groups

QgsProcessingParameterMeshDatasetGroups

Dataset groups of mesh layer

Mesh Dataset Time

QgsProcessingParameterMeshDatasetTime

Dataset index from a mesh layer by time setting

Mesh Layer

QgsProcessingParameterMeshLayer

alg.MESH_LAYER

Uma camada de malha

Multiple Input

QgsProcessingParameterMultipleLayers

alg.MULTILAYER

A set of layers

Número

QgsProcessingParameterNumber.Double

alg.NUMBER

Um valor numérico

Ponto

QgsProcessingParameterPoint

alg.POINT

Um ponto

Point Cloud Attribute

QgsProcessingParameterPointCloudAttribute

An attribute from a point cloud layer

QgsProcessingParameterPointCloudDestination

alg.POINTCLOUD_LAYER_DEST

A point cloud layer destination parameter, for specifying the destination path for a point cloud layer created by the algorithm

Point Cloud Layer

QgsProcessingParameterPointCloudLayer

alg.POINTCLOUD_LAYER

Uma camada de nuvens de pontos

QgsProcessingParameterProviderConnection

alg.PROVIDER_CONNECTION

An available connection for a database provider

Intervalo

QgsProcessingParameterRange

alg.RANGE

Um intervalo de números

Camada Raster

QgsProcessingParameterRasterLayer

alg.RASTER_LAYER

Uma camada raster

QgsProcessingParameterRasterDestination

alg.RASTER_LAYER_DEST

A raster layer destination parameter, for specifying the destination path for a raster layer created by the algorithm

Escala

QgsProcessingParameterScale

alg.SCALE

Uma escala do mapa

QgsProcessingParameterFeatureSink

alg.SINK

A feature sink

TIN Creation Layers

QgsProcessingParameterTinInputLayers

Selection of multiple layers to create a TIN with vertices and/or break lines

Vector Features

QgsProcessingParameterFeatureSource

alg.SOURCE

A feature source

String

QgsProcessingParameterString

alg.STRING

A text string

Camada Vetorial

QgsProcessingParameterVectorLayer

alg.VECTOR_LAYER

Uma camada vetorial

QgsProcessingParameterVectorDestination

alg.VECTOR_LAYER_DEST

A vector layer destination parameter, for specifying the destination path for a vector layer created by the algorithm

Vector Tile Writer Layers

QgsProcessingParameterVectorTileDestination

A vector tile layer destination parameter, for specifying the destination path for a vector tile layer created by the algorithm

27.10.2. Tipos de saída

Classes

Alg constant

Descrição

QgsProcessingOutputBoolean

alg.BOOL

Um valor booleano

QgsProcessingOutputNumber

alg.DISTANCE

Um parâmetro numérico duplo para valores de distância

QgsProcessingOutputFile

alg.FILE

Um nome de arquivo de um arquivo existente

QgsProcessingOutputFolder

alg.FOLDER

Uma pasta

QgsProcessingOutputHtml

alg.HTML

HTML

QgsProcessingOutputNumber

alg.INT

Um número inteiro

QgsProcessingOutputLayerDefinition

alg.LAYERDEF

Uma definição de camada

QgsProcessingOutputMapLayer

alg.MAPLAYER

Uma camada do mapa

QgsProcessingOutputMultipleLayers

alg.MULTILAYER

A set of layers

QgsProcessingOutputNumber

alg.NUMBER

Um valor numérico

QgsProcessingOutputPointCloudLayer

alg.POINTCLOUD_LAYER

Uma camada de nuvens de pontos

QgsProcessingOutputRasterLayer

alg.RASTER_LAYER

Uma camada raster

QgsProcessingOutputString

alg.STRING

A text string

QgsProcessingOutputVectorLayer

alg.VECTOR_LAYER

Uma camada vetorial

QgsProcessingOutputVectorTileLayer

A vector tile layer