<div dir="ltr"><div><div><br><br>On Thu, Jan 26, 2017 at 11:15 AM, Paulo van Breugel <<a href="mailto:p.vanbreugel@gmail.com">p.vanbreugel@gmail.com</a>> wrote:<br>><br>><br>><br>> On 26-01-17 11:03, Markus Metz wrote:<br>><br>><br>><br>> On Thu, Jan 26, 2017 at 10:51 AM, Paulo van Breugel <<a href="mailto:p.vanbreugel@gmail.com">p.vanbreugel@gmail.com</a>> wrote:<br>> ><br>> > Hi<br>> ><br>> > I am using the v.clean tool with the option "prune". According to the manual, threshold values have to be in map units. I am using this with a latlon map with vertices as close as 0.0001 degrees. However, v.clean only removes vertices at threshold values of about 50 or up. This seems to suggest that the tools assumes threshold values are in meters?<br>><br>> The prune tool of v.clean never really worked. Please use v.generalize instead.<br>><br>><br>> OK, will do. Still the question remains whether this is a bug, an error in the manual page (i.e., threshold values are not in mapping units, but in meters like for the rmarea) , or I am doing something wrong (note that it seems to work fine if one assumed threshold values have to be in meters). If a bug or error in the manual page, I can create a ticket.<br><br></div>It's a bug in the code [0], the algorithm is not working properly. There is v.generalize, therefore I recommend to remove the prune tool from v.clean.<br><br></div>Markus M<br><div><br>[0] <a href="https://trac.osgeo.org/grass/browser/grass/trunk/lib/vector/diglib/prune.c">https://trac.osgeo.org/grass/browser/grass/trunk/lib/vector/diglib/prune.c</a><br><div>><br>><br>><br>> Markus M<br>><br>> ><br>> > Best wishes,<br>> ><br>> > Paulo<br>> ><br>> > _______________________________________________<br>> > grass-dev mailing list<br>> > <a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>> > <a href="https://lists.osgeo.org/mailman/listinfo/grass-dev">https://lists.osgeo.org/mailman/listinfo/grass-dev</a><br>><br>><br></div></div></div>