Subgroup: other
Class: QgsRuggednessFilter¶
-
class
qgis.analysis.
QgsRuggednessFilter
¶ Bases:
qgis._analysis.QgsNineCellFilter
Calculates the ruggedness index based on a 3x3 moving window. Algorithm from Riley et al. 1999: A terrain ruggedness index that quantifies topographic heterogeneity*
Methods
cellSizeX
cellSizeY
inputNodataValue
outputNodataValue
processNineCellWindow
Calculates output value from nine input values. processRaster
Starts the calculation, reads from mInputFile and stores the result in mOutputFile setCellSizeX
setCellSizeY
setInputNodataValue
setOutputNodataValue
setZFactor
zFactor
Attributes
-
processNineCellWindow
(self) → Tuple[float, float, float, float, float, float, float, float, float, float]¶ Calculates output value from nine input values. The input values and the output value can be equal to the nodata value if not present or outside of the border. Must be implemented by subclasses*
-