Subgroup: other

Class: QgsSlopeFilter

class qgis.analysis.QgsSlopeFilter

Bases: qgis._analysis.QgsDerivativeFilter

Calculates slope values in a window of 3x3 cells based on first order derivatives in x- and y- directions*

Methods

calcFirstDerX
calcFirstDerY
processNineCellWindow Calculates output value from nine input values.

Signals

Attributes

calcFirstDerX()
calcFirstDerY()
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*