Zonal statistics

From GRASS-Wiki
Revision as of 09:47, 5 September 2012 by Neteler (talk | contribs) (+screenshot)
Jump to navigation Jump to search

GRASS GIS offers support for zonal statistics

Countries as zones for zonal statistics

Single maps

  • r.clump: finds all areas of contiguous raster cell category values in the input raster map and assigns a unique category value to each such area ("clump") in the resulting output raster map. This can be used to calculate statistics based on the clumps instead of individual raster cells.
  • r.report: report generator in various units
  • r.univar: univariate and zonal raster statistics
  • v.univar: univariate and zonal raster statistics
  • r.neighbors: makes each cell category value a function of the category values assigned to the cells around it, and stores new cell values in an output raster map layer.
  • v.neighbors: makes each cell value a function of the attribute values assigned to the vector points or centroids around it, and stores new cell values in an output raster map layer.

Multiple maps

  • r.univar: univariate and zonal raster statistics
  • v.rast.stats: calculates univariate statistics from a raster map based on vector polygons and uploads statistics to new attribute columns
  • v.vect.stats: count points in areas, calculate statistics from point attributes (needs GRASS 7).