Class: QgsProcessingParameterVectorTileDestination¶
- class qgis.core.QgsProcessingParameterVectorTileDestination¶
Bases:
QgsProcessingDestinationParameter
A vector tile layer destination parameter, for specifying the destination path for a vector tile layer created by the algorithm.
New in version 3.32.
QgsProcessingParameterVectorTileDestination(name: str, description: str = ‘’, defaultValue: Any = None, optional: bool = False, createByDefault: bool = True) Constructor for QgsProcessingParameterVectorTileDestination.
If
createByDefault
isFalse
and the parameter isoptional
, then this destination output will not be created by default.QgsProcessingParameterVectorTileDestination(
QgsProcessingParameterVectorTileDestination
)Methods
- param input:
- rtype:
QgsProcessingParameterDefinition
- rtype:
str
- rtype:
str
Creates a new parameter using the definition from a script code.
Original (source) provider which this parameter has been derived from.
Returns a list of the point cloud format file extensions supported for this parameter.
- rtype:
QgsProcessingOutputDefinition
- rtype:
str
Returns the type name for the parameter class.
- param value:
- checkValueIsAcceptable(self, input: Any, context: QgsProcessingContext = None) bool ¶
- Parameters:
input (Any) –
context (
QgsProcessingContext
= None) –
- Return type:
bool
- clone(self) QgsProcessingParameterDefinition ¶
- Return type:
- createFileFilter(self) str ¶
- Return type:
str
- defaultFileExtension(self) str ¶
- Return type:
str
- fromScriptCode(name: str, description: str, isOptional: bool, definition: str) QgsProcessingParameterVectorTileDestination ¶
Creates a new parameter using the definition from a script code.
- Parameters:
name (str) –
description (str) –
isOptional (bool) –
definition (str) –
- Return type:
- originalProvider(self) QgsProcessingProvider ¶
Original (source) provider which this parameter has been derived from. In the case of destination parameters which are part of model algorithms, this will reflect the child algorithm’s provider which actually generates the parameter, as opposed to the provider which this parameter belongs to (i.e. the model provider)
New in version 3.2.
- supportedOutputVectorTileLayerExtensions(self) List[str] ¶
Returns a list of the point cloud format file extensions supported for this parameter.
See also
- Return type:
List[str]
- toOutputDefinition(self) QgsProcessingOutputDefinition ¶
- Return type:
- 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:
value (Any) –
context (QgsProcessingContext) –
- Return type:
str