Class: QgsProcessing

Contains enumerations and other constants for use in processing algorithms and parameters.

Enums

LayerOptionsFlag

Layer options flags

PythonOutputType

Available Python output types

SourceType

alias of ProcessingSourceType

Static Methods

documentationFlagToString

Converts a documentation flag to a translated string.

sourceTypeToString

Converts a source type to a string representation.

Attributes

TEMPORARY_OUTPUT

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

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:

flag (Qgis.ProcessingAlgorithmDocumentationFlag)

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