Greetings Christian<div><br></div><div>Unfortunely it only works with CELL values. For instance, r.median uses more than just CELL.</div><div>Is there any other alternative? Beucase for mode and median there is specific functions.</div>
<div><br>Thamls</div><div><br>Best regards,</div><div>Monica</div><div><br><div class="gmail_quote">On Mon, Feb 28, 2011 at 3:55 PM, Christian Schwartze <span dir="ltr"><<a href="mailto:christian.schwartze@uni-jena.de">christian.schwartze@uni-jena.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr">
<div dir="ltr">
<div style="font-family:'Calibri';color:#000000;font-size:12pt">
<div>Monica,</div>
<div> </div>
<div>try to use r.statistics with the average function/method. Pass you maps
through the cover= and base= parameters...</div>
<div> </div>
<div>Christian.</div>
<div style="font-style:normal;display:inline;font-family:'Calibri';color:#000000;font-size:small;font-weight:normal;text-decoration:none">
<div style="font:10pt tahoma">
<div> </div>
<div style="background:#f5f5f5">
<div><b>From:</b> <a title="monicabuescu1985@gmail.com" href="mailto:monicabuescu1985@gmail.com" target="_blank">Monica Buescu</a> </div>
<div><b>Sent:</b> Monday, February 28, 2011 4:27 PM</div>
<div><b>To:</b> <a title="grass-user@lists.osgeo.org" href="mailto:grass-user@lists.osgeo.org" target="_blank">GRASS user list</a> </div>
<div><b>Subject:</b> [GRASS-user] calculating average value over a base
map</div></div></div>
<div> </div></div>
<div style="font-style:normal;display:inline;font-family:'Calibri';color:#000000;font-size:small;font-weight:normal;text-decoration:none"><div><div></div><div class="h5">Greetings
<div> </div>
<div>I have a map with values and a base map created with r.clump. How can I
calculate the average of values that falls inside each cluster defined by
r.clump?</div>
<div>Thanks</div>
<div> </div>
<div>Best regards,</div>
<div>Monica</div>
</div></div><p>
</p><hr>
_______________________________________________<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>
<p></p></div></div></div></div>
</blockquote></div><br></div>