Class: QgsProcessingParameterTinInputLayers

class qgis.core.QgsProcessingParameterTinInputLayers(name: str, description: str = '')

Bases: QgsProcessingParameterDefinition

Constructor

QgsProcessingParameterTinInputLayers(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 }

New in version 3.16.

Parameters
  • name (str) –

  • description

BreakLines = 2
class InputLayer

Bases: sip.wrapper

QgsProcessingParameterTinInputLayers.InputLayer(QgsProcessingParameterTinInputLayers.InputLayer)

attributeIndex
source
type
StructureLines = 1
class Type

Bases: int

Vertices = 0
asPythonString(self, outputType: QgsProcessing.PythonOutputType = QgsProcessing.PythonQgsProcessingAlgorithmSubclass) → str
Parameters

outputType (QgsProcessing.PythonOutputType = QgsProcessing.PythonQgsProcessingAlgorithmSubclass) –

Return type

str

checkValueIsAcceptable(self, input: Any, context: QgsProcessingContext = None) → bool
Parameters
Return type

bool

clone(self)QgsProcessingParameterDefinition
Return type

QgsProcessingParameterDefinition

type(self) → str
Return type

str

typeName() → str

Returns the type name for the parameter class.

Return type

str

valueAsPythonString(self, value: Any, context: QgsProcessingContext) → str
Parameters
Return type

str