[GRASS-user] Calculate statistics for raster values in polygons

Christian Schwartze christian.schwartze at uni-jena.de
Wed Apr 21 05:16:45 EDT 2010


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
grass-user at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100421/52d75a1e/attachment.html


More information about the grass-user mailing list