QgsRelief class
Produces colored relief rasters from DEM.
Contents
Constructors, destructors, conversion operators
Public functions
-
auto calculateOptimizedReliefClasses() -> QList<QgsRelief::
ReliefColor> - Calculates class breaks according with the method of Buenzli (2011) using an iterative algorithm for segmented regression.
- auto exportFrequencyDistributionToCsv(const QString& file) -> bool
- Write frequency of elevation values to file for manual inspection.
- auto operator=(const QgsRelief& rh) -> QgsRelief& deleted
- QgsRelief cannot be copied.
- auto processRaster(QgsFeedback* feedback = nullptr) -> int
- Starts the calculation, reads from mInputFile and stores the result in mOutputFile.
Function documentation
QList<QgsRelief:: ReliefColor> QgsRelief:: calculateOptimizedReliefClasses()
Calculates class breaks according with the method of Buenzli (2011) using an iterative algorithm for segmented regression.
| Returns | true in case of success |
|---|
int QgsRelief:: processRaster(QgsFeedback* feedback = nullptr)
Starts the calculation, reads from mInputFile and stores the result in mOutputFile.
| Parameters | |
|---|---|
| feedback | feedback object that receives update and that is checked for cancelation. |
| Returns | 0 in case of success |