<div dir="ltr">Hi Markus,<div><br></div><div>I'm ashamed to admit that I hacked my way into fixing this problem by exporting the vector dataset using `v.out.ogr` to a geopackage then importing it. The cleaning tools in v.in.ogr seemed to solve my problem..</div><div><br></div><div>Very clumsy, but it worked.</div><div><br></div><div>Thank you!</div><div><br></div><div>Peter</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 27, 2018 at 11:51 AM, Markus Metz <span dir="ltr"><<a href="mailto:markus.metz.giswork@gmail.com" target="_blank">markus.metz.giswork@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">[ please keep this on the GRASS mailing list ]<span class=""><br><div><br>On Fri, Apr 27, 2018 at 6:43 PM, Peter Tittmann <<a href="mailto:ptittmann@gmail.com" target="_blank">ptittmann@gmail.com</a>> wrote:<br>><br>> Hi Markus,<br>><br>> grass72 -v<br>> GRASS GIS 7.2.2<br><br></div></span><div>This is already the latest 7.2 release. You might try GRASS 7.4.<br></div><span class=""><div><br>><br>> i will try to figure out how to get the latest release up and running. If you have any suggestions for fixing the boundaries, that would be great.<br><br></div></span><div>If upgrading to the latest GRASS 7.4 release does not help, I would need the data for testing to find out why removing small areas fails. If the vector has been imported from an external datasource without modification of the geometries inside GRASS, this version would be preferable. Otherwise the history of <span style="font-variant-ligatures:no-common-ligatures">plot_pa_with_lidar@project_<wbr>area</span> would be helpful (<a href="http://v.info" target="_blank">v.info</a> -h).<br><br></div><div>Markus M<br></div><div><div class="h5"><div>><br>> Peter<br>><br>> On Thu, Apr 26, 2018 at 11:19 PM, Markus Metz <<a href="mailto:markus.metz.giswork@gmail.com" target="_blank">markus.metz.giswork@gmail.com</a><wbr>> wrote:<br>>><br>>><br>>><br>>> On Fri, Apr 27, 2018 at 1:37 AM, Peter Tittmann <<a href="mailto:ptittmann@gmail.com" target="_blank">ptittmann@gmail.com</a>> wrote:<br>>> ><br>>> > Hi,<br>>> ><br>>> > I am attempting to use the `rmarea` tool in v.clean with a threshold of ~ 1000 sq meters.<br>>> ><br>>> [...]<br>>><br>>> ><br>>> >  I am getting a rather cryptic message ‘Failed to build area’.<br>>> ><br>>> > > v.clean -c --overwrite --verbose input=plot_pa_with_lidar@<wbr>project_area output=plot_pa_rmarea tool=rmarea threshold=1017.2<br>>> > ------------------------------<wbr>--------------------<br>>> > Tool: Threshold<br>>> > Remove small areas: 1017.2<br>>> > ------------------------------<wbr>--------------------<br>>> > WARNING: Vector map <plot_pa_rmarea> already exists and will be overwritten<br>>> > Using native format<br>>> > Copying features...<br>>> >  100%<br>>> > Rebuilding parts of topology...<br>>> > Building topology for vector map <plot_pa_rmarea@project_area>.<wbr>..<br>>> > Registering primitives...<br>>> > 1720636 primitives registered<br>>> > 3439992 vertices registered<br>>> > Building areas...<br>>> > WARNING: Area of size = 0.0 ignored<br>>> > WARNING: Area of size = 0.0 ignored<br>>> > WARNING: Area of size = 0.0 ignored<br>>> > WARNING: Area of size = 0.0 ignored<br>>> > WARNING: Area of size = 0.0 ignored<br>>> > WARNING: Area of size = 0.0 ignored<br>>> > WARNING: Area of size = 0.0 ignored<br>>> > WARNING: Area of size = 0.0 ignored<br>>> > WARNING: Area of size = 0.0 ignored<br>>> > WARNING: Area of size = 0.0 ignored<br>>> > WARNING: Area of size = 0.0 ignored<br>>> > WARNING: Area of size = 0.0 ignored<br>>> > WARNING: Area of size = 0.0 ignored<br>>> > WARNING: Area of size = 0.0 ignored<br>>> >  100%<br>>> > 499671 areas built<br>>> > 6004 isles built<br>>> > Attaching islands...<br>>> >  100%<br>>> > Attaching centroids...<br>>> >  100%<br>>> > Topology was built<br>>> > Number of nodes: 728615<br>>> > Number of primitives: 1720636<br>>> > Number of points: 0<br>>> > Number of lines: 0<br>>> > Number of boundaries: 1222309<br>>> > Number of centroids: 498327<br>>> > Number of areas: 499671<br>>> > Number of isles: 6004<br>>> > WARNING: Number of incorrect boundaries: 9<br>>> > WARNING: Number of duplicate centroids: 14<br>>> > ------------------------------<wbr>--------------------<br>>> > Tool: Remove small areas<br>>> > ERROR: Failed to build new area<br>>><br>>> I guess the problem are these 9 incorrect boundaries. Which GRASS version are you using? Can you try again with the latest release in case you are not using the latest release?<br>>><br>>> Markus M<br>><br>><br></div></div></div></div>
</blockquote></div><br></div>