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

Markus Neteler neteler at osgeo.org
Thu Apr 22 04:16:49 EDT 2010


On Wed, Apr 21, 2010 at 7:21 PM, Jarek Jasiewicz <jarekj at amu.edu.pl> wrote:
> Luis Lisboa pisze:
>>
>> 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?
...
> v.rast.stats

Or how about r.univar.zonal?
http://grass.osgeo.org/wiki/Addons#r.univar.zonal

Markus


More information about the grass-user mailing list