[GRASS-user] Calculate statistics for raster values in polygons
Micha Silver
micha at arava.co.il
Fri Apr 23 04:40:42 EDT 2010
Luis Lisboa wrote:
> Hi all
> I'm reading the v.rast.stats Help and I'm a bit confused. It says
> "Calculates basic univariate statistics from a raster map only for the
> parts covered by the specified vector map". But for instance if all my
> region is covered by different polygons and, if I want to calculate
> for each polygon my average value from raster, is this function
> helpful? (e.g. I have vector with
yes, exactly the function you need. It adds nine attribute columns to
your vector layer with min,max,mean, etc values calculated from the raster.
> zip codes for my region and I want to calculate average elevation of
> each zip code).
>
> On Wed, Apr 21, 2010 at 6:21 PM, Jarek Jasiewicz <jarekj at amu.edu.pl
> <mailto: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?
> Thank you
> Luis
> ------------------------------------------------------------------------
>
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org <mailto:grass-user at lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
>
> v.rast.stats
>
>
>
> This mail was received via Mail-SeCure System.
> ------------------------------------------------------------------------
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
> This mail was received via Mail-SeCure System.
>
>
>
--
Micha Silver
Arava Development Co. +972-52-3665918
http://surfaces.co.il
More information about the grass-user
mailing list