<br><br><div class="gmail_quote">On Mon, Apr 9, 2012 at 5:54 PM, Markus Neteler <span dir="ltr">&lt;<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Mon, Apr 9, 2012 at 4:25 PM, Margherita Di Leo<br>
&lt;<a href="mailto:dileomargherita@gmail.com">dileomargherita@gmail.com</a>&gt; wrote:<br>
&gt; Ciao Markus,<br>
&gt;<br>
&gt; On Mon, Apr 9, 2012 at 3:47 PM, Markus Neteler &lt;<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Wouldn&#39;t it be better to remove them with v.clean and rmarea to avoid<br>
&gt;&gt; holes?<br>
&gt;<br>
&gt;<br>
&gt; just tried with:<br>
&gt;<br>
&gt;<br>
&gt;         grass.run_command(&#39;v.clean&#39;, input = v_basins,<br>
&gt;                                      output = v_basin,<br>
&gt;                                      type = &#39;area&#39;,<br>
&gt;                                      tool = &#39;rmarea&#39;,<br>
&gt;                                      thresh = 1,     # I also tried 10<br>
&gt;                                      overwrite = True)<br>
&gt;<br>
&gt; Maybe I do something wrong, but this way I can&#39;t get rid of small polygons,<br>
<br>
</div>what is exactly happening? Nothing or some are removed?<br></blockquote><div><br></div><div>In this case, nothing is removed. I&#39;ll give it some more try.. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im"><br>
&gt; and, in addiction, I need to set the threshold parameter, which I&#39;m not sure<br>
&gt; to be suitable for all cases...<br>
<br>
</div>I wanted to suggest to run quartile statistics (extended stats in v.univar) on<br>
an &quot;area&quot; column (if needed, add with v.to.db). But I realized that it only<br>
supports extended statistics on point data :( No idea why this limitation...<br>
So I thought to suggest the 1st quartile as threshold.<br></blockquote><div><br></div><div>Thanks, I&#39;ll work on this idea. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
Maybe someone else has an idea?<br>
<span class="HOEnZb"><font color="#888888"><br>
Markus<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="color:rgb(102,102,102)">Ing. Margherita Di Leo, </span><span style="color:rgb(102,102,102)">Ph.D. </span><font color="#666666"><br></font><span style="color:rgb(102,102,102)"></span><br>
<br><br>