Class: QgsRasterNuller¶
-
class
qgis.core.
QgsRasterNuller
¶ Bases:
QgsRasterInterface
Raster pipe that deals with null values.
Methods
- rtype
int
- param bandNo
- rtype
QgsRasterNuller
- param bandNo
- param bandNo
- param bandNo
Sets the output no data value.
-
bandCount
(self) → int¶ - Return type
int
-
block
(self, bandNo: int, extent: QgsRectangle, width: int, height: int, feedback: QgsRasterBlockFeedback = None) → QgsRasterBlock¶ - Parameters
bandNo (int) –
extent (QgsRectangle) –
width (int) –
height (int) –
feedback (
QgsRasterBlockFeedback
= None) –
- Return type
-
clone
(self) → QgsRasterNuller¶ - Return type
-
dataType
(self, bandNo: int) → Qgis.DataType¶ - Parameters
bandNo (int) –
- Return type
-
initHistogram
()¶
-
initStatistics
()¶
-
noData
(self, bandNo: int) → object¶ - Parameters
bandNo (int) –
- Return type
object
-
setNoData
(self, bandNo: int, noData: object)¶ - Parameters
bandNo (int) –
noData (object) –
-
setOutputNoDataValue
(self, bandNo: int, noData: float)¶ Sets the output no data value.
- Parameters
bandNo (int) –
noData (float) –