Hi all<div>I&#39;m reading the v.rast.stats Help and I&#39;m a bit confused. It says &quot;<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: medium; ">Calculates basic univariate statistics from a raster map only for the parts covered by the specified vector map&quot;. But for instance if all my region is covered by different polygons and, if I want to calculate for each polygon my average value from raster, is this function helpful? (e.g. I have vector with zip codes for my region and I want to calculate average elevation of each zip code).</span><br>
<br><div class="gmail_quote">On Wed, Apr 21, 2010 at 6:21 PM, Jarek Jasiewicz <span dir="ltr">&lt;<a href="mailto:jarekj@amu.edu.pl">jarekj@amu.edu.pl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Luis Lisboa pisze:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
Greetings<br>
<br>
I have a vectorial data that divides my region in sub-areas. I want to calculate the average value of  a raster but instead for all pixel values, I want to calculate the average of pixel values that are inside each polygonIs this possible in GRASS? If yes, how?<br>

Thank you<br>
Luis<br></div></div>
------------------------------------------------------------------------<div class="im"><br>
<br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
  <br>
</div></blockquote>
v.rast.stats<br>
</blockquote></div><br></div>