Ciao Markus,<br><br><div class="gmail_quote">On Mon, Apr 9, 2012 at 3:47 PM, Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org">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 class="im"><br>
<br>
</div>Wouldn't it be better to remove them with v.clean and rmarea to avoid holes?<br></blockquote><div><br></div><div>just tried with:</div><div><br></div><div><br></div><div> grass.run_command('v.clean', input = v_basins,</div>
<div> output = v_basin,</div><div> type = 'area',</div><div> tool = 'rmarea',</div><div> thresh = 1, # I also tried 10</div>
<div> overwrite = True)</div><div><br></div><div>Maybe I do something wrong, but this way I can't get rid of small polygons, and, in addiction, I need to set the threshold parameter, which I'm not sure to be suitable for all cases...</div>
<div><br></div><div>where am I wrong?</div><div><br></div><div>Thanks,</div><div>madi </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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>