[GRASS-user] Calculate Median values in a State

Micha Silver micha at arava.co.il
Tue Mar 16 11:04:30 EDT 2010


On 03/16/2010 04:46 PM, Andrew Lewin wrote:
> Hi All,
>
> I want to calculate the median precipitation value from a raster layer 
> in each state/province in a vector layer.
>
> How would I go about doing this?
>
v.rast.stats
 From the manual:
Nine  columns are generated (n, min, max, range, mean, stddev, variance, 
coeff_var, sum) according to the output of r.univar.
> Should I convert the vector layer to a raster and then overlay the 
> layers?
>
> I would appreciate the help.
>
> Thanks,
>
> Andrew
>
> Andrew Lewin, M.Sc., Adv. Dipl. GIS
> Email: andrew.lewin at sympatico.ca
> Tel: (905) 639-4646
> Mobile: (905) 630-8441
> Skype: andrew.lewin99
>
> _______________________________________________
> 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
http://www.surfaces.co.il/
Arava Development Co.  +972-52-3665918



More information about the grass-user mailing list