I don't think so.. What I want is to calculate the mode (most frequent value) of a raster file for each polygon that this raster covers. What I will have is the most frequent raster value that falls inside each polygon. Is kind of a univariate statistic of a raster for each polygon.<div>
<br></div><div>Any ideas?</div><div>(thanks Micha for your suggestion)<br><br><div class="gmail_quote">On Mon, Oct 18, 2010 at 10:19 AM, Micha Silver <span dir="ltr"><<a href="mailto:micha@arava.co.il">micha@arava.co.il</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="direction:ltr" bgcolor="#ffffff" text="#000000"><div class="im">
<p style="margin-bottom:0cm;margin-top:0pt">On 18/10/2010 10:11,
Monica Buescu wrote:<br>
</p>
<blockquote type="cite">Greetings
<div><br>
</div>
<div>I have an image that is divided in several (>300) polygons
and, using a data_map raster, I want to calculate the mode value
from this image for each polygon. Is it possible? can anyone
give me a tip on this?</div>
<div><br>
</div>
</blockquote></div>
Have a look at v.what.rast. That might be what you're looking for.<br>
<blockquote type="cite">
<div>Thanks</div>
<div><br>
</div>
<div>Monica</div>
<br>
This mail was received via Mail-SeCure System.<br>
<pre><fieldset></fieldset>
_______________________________________________
grass-user mailing list
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a>
This mail was received via Mail-SeCure System.
</pre>
</blockquote>
<br>
<br>
<pre cols="62">--
Micha Silver
<a href="http://www.surfaces.co.il/" target="_blank">http://www.surfaces.co.il/</a>
Arava Development Co. +972-52-3665918
</pre>
</div>
</blockquote></div><br></div>