Subgroup: other
Class: QgsZonalStatistics¶
-
class
qgis.analysis.
QgsZonalStatistics
¶ Bases:
sip.wrapper
A class that calculates raster statistics (count, sum, mean) for a polygon or multipolygon layer and appends the results as attributes*
-
All
= 4095¶
-
Count
= 1¶
-
Majority
= 512¶
-
Max
= 64¶
-
Mean
= 4¶
-
Median
= 8¶
-
Min
= 32¶
-
Minority
= 256¶
-
Range
= 128¶
-
StDev
= 16¶
-
class
Statistic
¶ Bases:
int
-
class
Statistics
¶ Bases:
sip.wrapper
QgsZonalStatistics.Statistics(Union[QgsZonalStatistics.Statistics, QgsZonalStatistics.Statistic]) QgsZonalStatistics.Statistics(QgsZonalStatistics.Statistics)
-
Sum
= 2¶
-
Variance
= 2048¶
-
Variety
= 1024¶
-
calculateStatistics
(self, feedback: QgsFeedback) → int¶ Starts the calculation
Returns: 0 in case of success*
-