12. Zonal stat raster¶
Zonal stat raster¶
This tab allows for calculating the statistics related to an input raster for every unique value of a reference vector or raster.
For example, if a vector file contains a numeric field zone, this tool allows for calculating the mean value (for each zone) of input raster pixels.
12.1. Zonal stat raster¶
Select the input raster
: select a raster (already loaded in QGIS);
Use value as NoData
: if checked, pixels having NoDatavalue are excluded from the calculation;Select the reference vector or raster
: select a raster or a vector (already loaded in QGIS), used as reference layer for zones;Vector field
: if a vector is selected as reference, select a vector field containing numeric values;
12.2. Statistic¶
Select a statistic
: select a statistic; available options are Sum,Max,Min,Count,Mean,Median,Percentile,StandardDeviation; forPercentilea value can be entered;BATCH
: add this function to the Batch;RUN
: choose the output destination and start the calculation;
