Subgroup: other

Class: QgsHillshadeFilter

class qgis.analysis.QgsHillshadeFilter(inputFile: str, outputFile: str, outputFormat: str, lightAzimuth: float = 300, lightAngle: float = 40)

Bases: qgis._analysis.QgsDerivativeFilter

QgsHillshadeFilter(QgsHillshadeFilter)

Methods

calcFirstDerX
calcFirstDerY
cellSizeX
cellSizeY
inputNodataValue
lightAngle
lightAzimuth
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
setLightAngle
setLightAzimuth
setOutputNodataValue
setZFactor
zFactor

Attributes

calcFirstDerX()
calcFirstDerY()
lightAngle(self) → float
lightAzimuth(self) → float
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*

setLightAngle(self, angle: float)
setLightAzimuth(self, azimuth: float)