Class: QgsProcessingParameterTinInputLayers

A parameter for processing algorithms that need a list of input vector layers to construct a TIN.

A valid value for this parameter is a list (QVariantList), where each item is a map (QVariantMap) in this form:

{
  'source':  string that represents identification of the vector layer,
  'type': how the vector layer is used : as vertices, structure lines or break lines
  'attributeIndex' : the index of the attribute of the vector layer used to defined the Z value of vertices,
   if -1, the Z coordinates of features are used
}

Added in version 3.16.

Class Hierarchy

Inheritance diagram of qgis.core.QgsProcessingParameterTinInputLayers

Base classes

QgsProcessingParameterDefinition

Base class for the definition of processing parameters.

Enums

Type

alias of ProcessingTinInputLayerType

Static Methods

typeName

Returns the type name for the parameter class.

class qgis.core.QgsProcessingParameterTinInputLayers[source]

Bases: QgsProcessingParameterDefinition

__init__(name: str | None, description: str | None = '')

Constructor

Parameters:
  • name (Optional[str])

  • description (Optional[str] = '')

__init__(a0: QgsProcessingParameterTinInputLayers)
Parameters:

a0 (QgsProcessingParameterTinInputLayers)

class InputLayer

Bases: object

Used to store input layer Id and other associated parameters

attributeIndex
source
Type

alias of ProcessingTinInputLayerType

static typeName() str[source]

Returns the type name for the parameter class.

Return type:

str