Important

La traduction est le fruit d’un effort communautaire auquel vous pouvez prendre part. Cette page est actuellement traduite à 88.66%.

27.10. Types d’entrée et de sortie pour les algorithmes de traitement

Voici la liste des types d’entrée et de sortie pris en charge dans le Module de Traitements avec leurs constantes de décorateur correspondantes et leur nom dans le modeleur graphique lorsqu’exposé.

27.10.1. Types d’entrées

Nom en entrée

Classe

Constante d’Algorithme

Description

Couche d’annotation

QgsProcessingParameterAnnotationLayer

alg.ANNOTATION_LAYER

Une couche d’annotation

Configuration de l’authentification

QgsProcessingParameterAuthConfig

alg.AUTH_CFG

Permet aux utilisateurs de sélectionner parmi les configurations d’authentification disponibles ou de créer de nouvelles configurations d’authentification

Bande raster

QgsProcessingParameterBand

alg.BAND

Une bande d’une couche raster

Booléen

QgsProcessingParameterBoolean

alg.BOOL

Une valeur booléenne

Nom de la connexion

QgsProcessingParameterProviderConnection

A selection from available registered connections for a particular data provider

Couleur

QgsProcessingParameterColor

alg.COLOR

Une couleur

Opération de coordonnées

QgsProcessingParameterCoordinateOperation

alg.COORDINATE_OPERATION

Une opération sur les coordonnées (transformation de SCR)

SCR

QgsProcessingParameterCrs

alg.CRS

Un système de référence de coordonnées

Schéma de base de données

QgsProcessingParameterDatabaseSchema

alg.DATABASE_SCHEMA

Un schéma de base de données

Table de base de données

QgsProcessingParameterDatabaseTable

alg.DATABASE_TABLE

Une table de base de données

Datetime

QgsProcessingParameterDateTime

alg.DATETIME

Une date-heure (ou une date ou heure simple)

Distance

QgsProcessingParameterDistance

alg.DISTANCE

Un double paramètre numérique pour les valeurs de distance

Couches DXF

QgsProcessingParameterDxfLayers

A list of vector layers to export as DXF file

Enum

QgsProcessingParameterEnum

alg.ENUM

Une énumération, permettant la sélection à partir d’un ensemble de valeurs prédéfinies

Expression

QgsProcessingParameterExpression

alg.EXPRESSION

Une expression

Etendue

QgsProcessingParameterExtent

alg.EXTENT

Une étendue spatiale définie par xmin, xmax, ymin, ymax

QgsProcessingParameterField

alg.FIELD

Un champ dans la table attributaire d’une couche vectorielle

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

Un nom de fichier d’un fichier existant

QgsProcessingParameterFileDestination

alg.FILE_DEST

Un nom de fichier pour un fichier de sortie nouvellement créé

QgsProcessingParameterFolderDestination

alg.FOLDER_DEST

Un répertoire (répertoire de destination)

Geometry

QgsProcessingParameterGeometry

alg.GEOMETRY

Une géométrie

QgsProcessingParameterNumber.Integer

alg.INT

Un nombre entier

Mise en page de cartes

QgsProcessingParameterLayout

alg.LAYOUT

Une mise en page

Print Layout Item

QgsProcessingParameterLayoutItem

alg.LAYOUT_ITEM

Un élément de mise en page

Map Layer

QgsProcessingParameterMapLayer

alg.MAPLAYER

Une couche de carte

Map Theme

QgsProcessingParameterMapTheme

alg.MAP_THEME

Un thème de carte d’un projet

Table

QgsProcessingParameterMatrix

alg.MATRIX

Une matrice

Mesh Dataset Groups

QgsProcessingParameterMeshDatasetGroups

Dataset groups of mesh layer

Mesh Dataset Time

QgsProcessingParameterMeshDatasetTime

Dataset index from a mesh layer by time setting

Couche maillage

QgsProcessingParameterMeshLayer

alg.MESH_LAYER

Une couche maillée

Entrée multiple

QgsProcessingParameterMultipleLayers

alg.MULTILAYER

Un ensemble de couches

Nombre

QgsProcessingParameterNumber.Double

alg.NUMBER

Une valeur numérique

Point

QgsProcessingParameterPoint

alg.POINT

Un point

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

Nuage de points

QgsProcessingParameterPointCloudLayer

alg.POINTCLOUD_LAYER

Une couche point cloud

QgsProcessingParameterProviderConnection

alg.PROVIDER_CONNECTION

Une connexion disponible à un fournisseur de base de données

Plage

QgsProcessingParameterRange

alg.RANGE

Une plage de valeurs

Couche raster

QgsProcessingParameterRasterLayer

alg.RASTER_LAYER

Une couche raster

QgsProcessingParameterRasterDestination

alg.RASTER_LAYER_DEST

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

Échelle

QgsProcessingParameterScale

alg.SCALE

Une échelle de carte

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

Une source d’entités

Caractère

QgsProcessingParameterString

alg.STRING

Une chaîne de texte

Couche vecteur

QgsProcessingParameterVectorLayer

alg.VECTOR_LAYER

Une couche vectorielle

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. Types de sortie

Classe

Constante d’Algorithme

Description

QgsProcessingOutputBoolean

alg.BOOL

Une valeur booléenne

QgsProcessingOutputNumber

alg.DISTANCE

Un double paramètre numérique pour les valeurs de distance

QgsProcessingOutputFile

alg.FILE

Un nom de fichier d’un fichier existant

QgsProcessingOutputFolder

alg.FOLDER

Un dossier

QgsProcessingOutputHtml

alg.HTML

HTML

QgsProcessingOutputNumber

alg.INT

Un entier

QgsProcessingOutputLayerDefinition

alg.LAYERDEF

Une définition de couche

QgsProcessingOutputMapLayer

alg.MAPLAYER

Une couche de carte

QgsProcessingOutputMultipleLayers

alg.MULTILAYER

Un ensemble de couches

QgsProcessingOutputNumber

alg.NUMBER

Une valeur numérique

QgsProcessingOutputPointCloudLayer

alg.POINTCLOUD_LAYER

Une couche point cloud

QgsProcessingOutputRasterLayer

alg.RASTER_LAYER

Une couche raster

QgsProcessingOutputString

alg.STRING

Une chaîne de texte

QgsProcessingOutputVectorLayer

alg.VECTOR_LAYER

Une couche vectorielle

QgsProcessingOutputVectorTileLayer

Une couche de tuiles vectorielles