[GRASS-user] Calculate raster statistics for each polygon

Martin Wegmann martin.wegmann at uni-wuerzburg.de
Thu Aug 5 12:38:40 EDT 2010


Hello, 

I think v.rast.stats is what you are looking for

http://grass.itc.it/gdp/html_grass64/v.rast.stats.html

regards, Martin

On Donnerstag, 5. August 2010 18:25:37 katrin eggert wrote:
> Hello
> 
> I have polygon layer which divides my image into several areas all
> contiguous. With the same size, I have a raster image. I want to:
> 
> - calculate the most frequent value of the raster inside each polygon;
> 
> - the maximum and minimum value inside each polygon
> 
> How can this be done in GRASS?
> 
> 
> Thanks
> 
> Katrin




More information about the grass-user mailing list