Class: QgsProcessingOutputMapLayer

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

Bases: 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:

Methods

type

rtype

str

typeName

Returns the type name for the output class.

type(self) str
Return type

str

typeName() str

Returns the type name for the output class.

Return type

str