Il giorno Tue, 16 Mar 2010 10:46:15 -0400
Andrew Lewin <andrew.lewin@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.
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?