Class: QgsProcessing¶
Contains enumerations and other constants for use in processing algorithms and parameters.
Enums
Layer options flags |
|
Available Python output types |
|
alias of |
Static Methods
Converts a documentation flag to a translated string. |
|
Converts a source type to a string representation. |
Attributes
Constant used to indicate that a Processing algorithm output should be a temporary layer/file. |
- class qgis.core.QgsProcessing[source]¶
Bases:
object
- class LayerOptionsFlag(*values)¶
Bases:
IntEnum
Layer options flags
Added in version 3.32.
SkipIndexGeneration
: Do not generate index when creating a layer. Makes sense only for point cloud layers
- SkipIndexGeneration = 1¶
- class LayerOptionsFlags¶
- class LayerOptionsFlags(f: QgsProcessing.LayerOptionsFlags | QgsProcessing.LayerOptionsFlag)
- class LayerOptionsFlags(a0: QgsProcessing.LayerOptionsFlags)
Bases:
object
- class PythonOutputType(*values)¶
Bases:
IntEnum
Available Python output types
PythonQgsProcessingAlgorithmSubclass
: Full PythonQgsProcessingAlgorithm
subclass
- SourceType¶
alias of
ProcessingSourceType
- TEMPORARY_OUTPUT: str = 'TEMPORARY_OUTPUT'¶
Constant used to indicate that a Processing algorithm output should be a temporary layer/file.
Added in version 3.6.
- static documentationFlagToString(flag: Qgis.ProcessingAlgorithmDocumentationFlag) str [source]¶
Converts a documentation
flag
to a translated string.Added in version 3.40.
- Parameters:
- Return type:
str
- static sourceTypeToString(type: Qgis.ProcessingSourceType) str [source]¶
Converts a source
type
to a string representation.Added in version 3.6.
- Parameters:
type (Qgis.ProcessingSourceType)
- Return type:
str