|
QGIS API Documentation
2.8.2-Wien
|
A class that calculates raster statistics (count, sum, mean) for a polygon or multipolygon layer and appends the results as attributes. More...
#include <qgszonalstatistics.h>
Public Member Functions | |
| QgsZonalStatistics (QgsVectorLayer *polygonLayer, const QString &rasterFile, const QString &attributePrefix="", int rasterBand=1) | |
| ~QgsZonalStatistics () | |
| int | calculateStatistics (QProgressDialog *p) |
| Starts the calculation. | |
A class that calculates raster statistics (count, sum, mean) for a polygon or multipolygon layer and appends the results as attributes.
Definition at line 29 of file qgszonalstatistics.h.
| QgsZonalStatistics::QgsZonalStatistics | ( | QgsVectorLayer * | polygonLayer, |
| const QString & | rasterFile, | ||
| const QString & | attributePrefix = "", |
||
| int | rasterBand = 1 |
||
| ) |
Definition at line 33 of file qgszonalstatistics.cpp.
| QgsZonalStatistics::~QgsZonalStatistics | ( | ) |
Definition at line 51 of file qgszonalstatistics.cpp.
| int QgsZonalStatistics::calculateStatistics | ( | QProgressDialog * | p | ) |
Starts the calculation.
Definition at line 56 of file qgszonalstatistics.cpp.
1.8.1.2