[GRASS-user] weighted mean

Markus Metz markus.metz.giswork at gmail.com
Sun Mar 10 11:17:21 PDT 2013


On Sat, Mar 9, 2013 at 12:06 AM, Giuliano Urgeghe <giuliano.u at gmail.com> wrote:
> Hi,
> does anyone here know if there is a command in Grass that calculates the
> weighted mean (on areas) of values in a coloumn in the attribute table of a
> vector layer?

v.univar calculates for areas the mean from values in a column in the
attribute table weighted by the size of each area. Is this what you
are looking for?

Markus M

>
> Since I need to execute this command for several vector layers, would it be
> possible to automatically create a new tablet filled with the calculated
> values?
>
> I thank you in advance for your reply.
> Best regards.
>
> --
> Ing. Giuliano Urgeghe
> Via Prunizzedda 61 - 07100 Sassari
> giuliano.u at gmail.com
> tel. 3283268186
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>


More information about the grass-user mailing list