<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16535"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px" 
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true" 
name="Compose message area">
<DIV><FONT face=Calibri>Try to transform your&nbsp;vector areas into a raster 
map, afterwards you are able to use r.statistics (now, former polygons 
as&nbsp;the&nbsp;raster base map and desired raster as the cover map)...that 
should work!</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>Regards,</FONT></DIV>
<DIV><FONT face=Calibri>Christian.&nbsp;&nbsp;</FONT></DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=luislisboa1975@gmail.com 
href="mailto:luislisboa1975@gmail.com">Luis Lisboa</A> </DIV>
<DIV><B>Sent:</B> Wednesday, April 21, 2010 7:03 PM</DIV>
<DIV><B>To:</B> <A title=grass-user@lists.osgeo.org 
href="mailto:grass-user@lists.osgeo.org">GRASS user list</A> </DIV>
<DIV><B>Subject:</B> [GRASS-user] Calculate statistics for raster values in 
polygons</DIV></DIV></DIV>
<DIV><BR></DIV>Greetings 
<DIV><BR></DIV>
<DIV>I have a vectorial data that divides my region in sub-areas. I want to 
calculate the average value of &nbsp;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?</DIV>
<DIV>Thank you</DIV>
<DIV>Luis</DIV>
<P>
<HR>

<P></P>_______________________________________________<BR>grass-user mailing 
list<BR><A 
href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</A><BR>http://lists.osgeo.org/mailman/listinfo/grass-user<BR></BODY></HTML>