[GRASSLIST:545] Re: [GRASS5] collecting into a vector polygons statistics of raster pixels

Hamish hamish_nospam at yahoo.com
Mon Apr 3 00:19:33 EDT 2006


> I am more interested in stats from a raster around a given buffer from
> each vector point..

like magic:

http://grass.gdf-hannover.de/twiki/bin/view/GRASS/GrassAddOns

# v.sample.buffer is a shell script that samples rasters in buffers of a
  specified size around features in a specified vector file. Sampling
  results are added as attributes to the vector file. This script was
  designed for sampling vegetation indices and DEM derived attributes
  for bird point counts. Sampling results can be one or more basic
  statistics such as mean, range, max, etc.
Author: Trevor Wiens 


you might be able to modify that script to do the MASK per cat number
step instead of the buffer step?


Hamish




More information about the grass-user mailing list