Class: QgsProcessingParameterTinInputLayers¶
- class qgis.core.QgsProcessingParameterTinInputLayers¶
Bases:
QgsProcessingParameterDefinition
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.
QgsProcessingParameterTinInputLayers(name: str, description: str = ‘’) Constructor
QgsProcessingParameterTinInputLayers(
QgsProcessingParameterTinInputLayers
)Methods
- param outputType:
- param input:
- rtype:
QgsProcessingParameterDefinition
- rtype:
str
Returns the type name for the parameter class.
- param value:
- param value:
- param value:
Attributes
- BreakLines = 2¶
- class InputLayer¶
- class InputLayer(QgsProcessingParameterTinInputLayers.InputLayer)
Bases:
sip.wrapper
- 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:
input (Any) –
context (
QgsProcessingContext
= None) –
- Return type:
bool
- clone(self) QgsProcessingParameterDefinition ¶
- Return type:
- type(self) str ¶
- Return type:
str
- typeName() str ¶
Returns the type name for the parameter class.
- Return type:
str
- valueAsJsonObject(self, value: Any, context: QgsProcessingContext) Any ¶
- Parameters:
value (Any) –
context (QgsProcessingContext) –
- Return type:
Any
- valueAsPythonString(self, value: Any, context: QgsProcessingContext) str ¶
- Parameters:
value (Any) –
context (QgsProcessingContext) –
- Return type:
str
- valueAsString(self, value: Any, context: QgsProcessingContext) Tuple[str, bool] ¶
- Parameters:
value (Any) –
context (QgsProcessingContext) –
- Return type:
Tuple[str, bool]