Subgroup: Processing

Class: QgsProcessingOutputMapLayer

class qgis.core.QgsProcessingOutputMapLayer

Bases: qgis._core.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: Methods

description Returns the description for the output.
name Returns the name of the output.
setDescription Sets the description for the output.
setName Sets the name of the output.
type
typeName Returns the type name for the output class.

Attributes

type(self) → str
typeName() → str

Returns the type name for the output class.