grass icon indicating copy to clipboard operation
grass copied to clipboard

[Bug] v.clean error

Open dthib opened this issue 3 years ago • 1 comments

Describe the bug When using the v.clean tool with the attached dataset in order to remove small areas after breaking, I am facing the following error: "ERROR: Dissolve with neighbour area: corrupt topology". Above, I have the following warning "WARNING: Number of incorrect boundaries: 1". But I don't know how to identify the incorrect boundary and how to remove it. Any help greatly appreciated.

To Reproduce Use the v.clean with the tools break,rmarea and the thresholds 0,1000

Expected behavior The possibility to get the layer cleaned with some errors?

System description (please complete the following information):

dthib avatar Jun 13 '22 20:06 dthib

The rmarea tool of v.clean requires a clean input vector without topological errors.

The attached shapefile needs a bit more cleaning during import, in particular snapping of vertices, in order to get clean topology (see also message of v.in.ogr after import).

Using

v.in.ogr in=at_processed_census_2017_geo_snap.shp out=at_processed_census_2017_geo_snap snap=1e-09

with subsequent cleaning as described works for me.

metzm avatar Jun 15 '22 15:06 metzm