<div dir="ltr"><div><div><div><br><br>On Fri, Oct 20, 2017 at 8:22 PM, Helmut Kudrnovsky <<a href="mailto:hellik@web.de">hellik@web.de</a>> wrote:<br>><br>> >I have what I think is a large shapefile. It is 122 MB (30 MB dbf file and<br>> 90 MB shp file).<br>><br>> not that large; a few weeks ago I've imported a ~1 GB shapefile; it took<br>> some time to import because of topological building, but it worked.<br>><br>> >WARNING: Number of incorrect boundaries: 1586<br>> >WARNING: Number of centroids outside area: 186<br>> >WARNING: Number of duplicate centroids: 631<br>><br>> it seems there may be some issues e.g. overlapping polygons,<br>> self-intersections of boundaries, very small areas etc.<br>><br>> try to use v.in.ogr instead in a location with the original projection and<br>> then reproject it.<br>><br>> sometimes I get data sets with such warnings; first I open such data in<br>> QGIS; in master aka QGIS 3, there is a nice new topology checker to inspect<br>> about topological errors. after some cleaning in QGIS, I try to import the<br>> data by v.in.ogr without cleaning and afterwards clean the vector data by<br>> v.clean e.g. remove small areas, etc<br><br></div>The cleaning part of v.in.ogr should be renamed to "converting non-topological polygons to topological areas areas". The real cleaning happens only if the snap option is set to > 0. v.in.ogr should provide a topologically correct vector map. Overlapping areas are ok if the input polygons are really supposed to overlap.<br><br>Can you provide examples where v.in.ogr with cleaning/polygon conversion did not work, but v.in.ogr -c + v.clean produced better results? This would help to improve v.in.ogr, which should be able to produce a reasonable output, maybe with some parameter tuning.<br><br></div>I noticed that v.in.ogr complains about overlapping areas, which were input polygons that should not overlap, but snapping did not help there, instead I needed to remove small areas afterwards with v.clean. Should the current min_area option of v.in.ogr also be used to remove small areas in the output?<br><br></div>Markus M<br><div><div><div>><br>> HTH<br>><br>><br>><br>><br>><br>><br>> -----<br>> best regards<br>> Helmut<br>> --<br>> Sent from: <a href="http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html">http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html</a><br>> _______________________________________________<br>> grass-user mailing list<br>> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br><br></div></div></div></div>