[GRASS-user] v.rast.stats with mode?

Anna Petrášová kratochanna at gmail.com
Wed Mar 16 05:59:34 PDT 2016


On Wed, Mar 16, 2016 at 6:23 AM, patrick s. <patrick_gis at gmx.net> wrote:

> Dear list
>
> Is it possible to get the "mode" (most common occurring value) in a
> polygon for discrete classes? It appears that v.rast.stats does not have
> this option.
>

v.rast.stats uses r.univar and r.univar doesn't have mode implemented (it's
a TODO in manual). You can look at r.mode but it returns raster map, not
one number.

Anna


> Thanks for a short feedback,
> Patrick
>
> _______________________________________________
> 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/20160316/7385fb2d/attachment.html>


More information about the grass-user mailing list