Class: QgsProcessingOutputMapLayer

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

Bases: qgis._core.QgsProcessingOutputDefinition

Constructor for QgsProcessingOutputMapLayer.

QgsProcessingOutputMapLayer(QgsProcessingOutputMapLayer)

A map layer output for processing algorithms, where layers may be either vector or raster.

If the actual layer output type is known (e.g. always vector or always raster), use QgsProcessingOutputVectorLayer or QgsProcessingOutputRasterLayer instead.

New in version 3.0: Enums

Methods

type

typeName

Returns the type name for the output class.

Signals

Attributes

type(self) → str
typeName() → str

Returns the type name for the output class.