[GRASS-user] Calculate Median values in a State

Giovanni Pasini jynxtor at gmail.com
Tue Mar 16 11:01:56 EDT 2010


Il giorno Tue, 16 Mar 2010 10:46:15 -0400
Andrew Lewin <andrew.lewin a sympatico.ca> ha scritto:

maybe v.rast.stats [1]
Calculates univariate statistics from a GRASS raster map
based on vector polygons and uploads statistics to new attribute
columns.

[1] http://grass.itc.it/grass65/manuals/html65_user/v.rast.stats.html


> 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?
> 
> 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 a sympatico.ca
> Tel: (905) 639-4646
> Mobile: (905) 630-8441
> Skype: andrew.lewin99
> 
> _______________________________________________
> grass-user mailing list
> grass-user a lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user



More information about the grass-user mailing list