Class: QgsProcessingOutputMapLayer

class qgis.core.QgsProcessingOutputMapLayer

Bases: QgsProcessingOutputDefinition

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.

QgsProcessingOutputMapLayer(name: str, description: str = ‘’) Constructor for QgsProcessingOutputMapLayer.

QgsProcessingOutputMapLayer(QgsProcessingOutputMapLayer)

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