Try to transform your vector areas into a raster map, afterwards you are able 
to use r.statistics (now, former polygons as the raster base map and desired 
raster as the cover map)...that should work!

Regards,
Christian.  


From: Luis Lisboa 
Sent: Wednesday, April 21, 2010 7:03 PM
To: GRASS user list 
Subject: [GRASS-user] Calculate statistics for raster values in polygons


Greetings 


I have a vectorial data that divides my region in sub-areas. I want to 
calculate the average value of  a raster but instead for all pixel values, I 
want to calculate the average of pixel values that are inside each polygonIs 
this possible in GRASS? If yes, how?
Thank you
Luis


--------------------------------------------------------------------------------


_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to