Subgroup: Raster

Class: QgsRasterNuller

class qgis.core.QgsRasterNuller

Bases: qgis._core.QgsRasterInterface

Raster pipe that deals with null values.

Methods

bandCount
bandStatistics Get band statistics.
block
capabilities Returns a bitmask containing the supported capabilities
capabilitiesString Returns the above in friendly format.
clone
cumulativeCut Find values for cumulative pixel count cut.
dataType
dataTypeSize
extent Get the extent of the interface.
generateBandName helper function to create zero padded band names
hasHistogram Returns true if histogram is available (cached, already calculated)
hasStatistics Returns true if histogram is available (cached, already calculated).
histogram Get histogram.
initHistogram
initStatistics
input Current input
noData
on Is on/off
readXml Sets base class members from xml.
setInput Set input.
setNoData
setOn Set on/off
setOutputNoDataValue Set output no data value.
sourceDataType Returns source data type for the band specified by number,
sourceInput Get source / raw input, the first in pipe, usually provider.
writeXml Write base class members to xml.
xBlockSize Get block size
xSize Get raster size
yBlockSize
ySize

Attributes

BuildPyramids
Create
Identify
IdentifyFeature
IdentifyHtml
IdentifyText
IdentifyValue
NoCapabilities
Remove
Size
class NoData

Bases: sip.wrapper

QgsRasterNuller.NoData(QgsRasterNuller.NoData)

max
min
bandCount(self) → int
block(self, bandNo: int, extent: QgsRectangle, width: int, height: int, feedback: QgsRasterBlockFeedback = None) → QgsRasterBlock
clone(self) → QgsRasterNuller
dataType(self, bandNo: int) → Qgis.DataType
initHistogram()
initStatistics()
noData(self, bandNo: int) → object
setNoData(self, bandNo: int, noData: object)
setOutputNoDataValue(self, bandNo: int, noData: float)

Set output no data value.