[GRASS-user] Calculating mode value for each polygon

Monica Buescu monicabuescu1985 at gmail.com
Mon Oct 18 06:32:49 EDT 2010


I don't think so.. What I want is to calculate the mode (most frequent
value) of a raster file for each polygon that this raster covers. What I
will have is the most frequent raster value that falls inside each polygon.
Is kind of a univariate statistic of a raster for each polygon.

Any ideas?
(thanks Micha for your suggestion)

On Mon, Oct 18, 2010 at 10:19 AM, Micha Silver <micha at arava.co.il> wrote:

>  On 18/10/2010 10:11, Monica Buescu wrote:
>
> Greetings
>
>  I have an image that is divided in several (>300) polygons and, using a
> data_map raster, I want to calculate the mode value from this image for each
> polygon. Is it possible? can anyone give me a tip on this?
>
>  Have a look at v.what.rast. That might be what you're looking for.
>
> Thanks
>
>  Monica
>
> This mail was received via Mail-SeCure System.
>
>
> _______________________________________________
> grass-user mailing listgrass-user at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/grass-user
>
> This mail was received via Mail-SeCure System.
>
>
>
>
>
> --
> Micha Silverhttp://www.surfaces.co.il/
> Arava Development Co.  +972-52-3665918
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20101018/9daa0208/attachment.html


More information about the grass-user mailing list