[GRASS-user] Get a mean value using raster and vector
Hamish
hamish_b at yahoo.com
Sun Jul 12 23:23:08 EDT 2009
Ben wrote:
> I have a raster image of climate data and I have a vector file containing
> some boundaries. Is it possible, using grass to get the mean values from
> the raster using the boundaries of the vector file. I had a look at
> r.median but it seemed that you needed to have two raster files for
> this.
if they are not already, convert boundaries to areas (ensure that they are
boundary type and have centroids), then use v.rast.stats.
Hamish
More information about the grass-user
mailing list