<br><br><div class="gmail_quote">On Mon, Apr 9, 2012 at 6:43 PM, Margherita Di Leo <span dir="ltr"><<a href="mailto:dileomargherita@gmail.com">dileomargherita@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><br><div class="gmail_quote"><div class="im">On Mon, Apr 9, 2012 at 5:54 PM, Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Mon, Apr 9, 2012 at 4:25 PM, Margherita Di Leo<br>
<<a href="mailto:dileomargherita@gmail.com" target="_blank">dileomargherita@gmail.com</a>> wrote:<br>
> Ciao Markus,<br>
><br>
> On Mon, Apr 9, 2012 at 3:47 PM, Markus Neteler <<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>> wrote:<br>
>><br>
>> Wouldn't it be better to remove them with v.clean and rmarea to avoid<br>
>> holes?<br>
><br>
><br>
> just tried with:<br>
><br>
><br>
> grass.run_command('v.clean', input = v_basins,<br>
> output = v_basin,<br>
> type = 'area',<br>
> tool = 'rmarea',<br>
> thresh = 1, # I also tried 10<br>
> overwrite = True)<br>
><br>
> Maybe I do something wrong, but this way I can't get rid of small polygons,<br>
<br>
</div>what is exactly happening? Nothing or some are removed?<br></blockquote><div><br></div></div><div>In this case, nothing is removed. I'll give it some more try.. </div></div></blockquote><div><br></div><div>Looks like small areas are removed, but the table associated to the vector map is not updated, hence the records of the small areas are still present (cat = 2 and cat = 3). My error? What am I missing?</div>
<div><br></div><div> </div></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>