Class: QgsRasterCalculatorEntry

class qgis.analysis.QgsRasterCalculatorEntry

Bases: sip.wrapper

Represents an individual raster layer/band number entry within a raster calculation.

New in version 2.18: Methods

rasterEntries Creates a list of raster entries from the current project.

Signals

Attributes

qgis.analysis.QgsRasterCalculatorEntry.bandNumber
qgis.analysis.QgsRasterCalculatorEntry.raster
qgis.analysis.QgsRasterCalculatorEntry.ref
bandNumber
raster
rasterEntries() → object

Creates a list of raster entries from the current project.

If there is more than one layer with the same data source only one of them is added to the list, duplicate names are also handled by appending an _n integer to the base name.

Returns:the list of raster entries form the current project

New in version 3.6.

ref