Il giorno Wed, 17 Mar 2010 07:42:39 -0400 Andrew Lewin <andrew.le...@sympatico.ca> ha scritto:
> Hi All, > > I would like to calculate a value of one layer within an area of > another raster. For instance, I have a precipitation raster layer > that I would like to calculate the median value within each state. > v.rast.stats doesn't calculate the median value and neither does > v.univar. from v.rast.stats DESCRIPTION: Nine columns are generated (n, min, max, range, mean, stddev, variance, coeff_var, sum) according to the output of r.univar. BUT If the -e extended statistics flag is given the 1st quartile, median, 3rd quartile, and given percentile are also calculated. I'm wrong? > > I tried r.median, but I could not get one median value in each > state, it was always greater than one value per state. > > Any help would be much appreciated. > > thanks > > Andrew > > Andrew Lewin, M.Sc., Adv. Dipl. GIS > Email: andrew.le...@sympatico.ca > Tel: (905) 639-4646 > Mobile: (905) 630-8441 > Skype: andrew.lewin99 > > _______________________________________________ > grass-user mailing list > grass-user@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/grass-user _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user