<div dir="ltr"><br><br>On Thu, Sep 12, 2019 at 2:24 AM Rich Shepard <<a href="mailto:rshepard@appl-ecosys.com">rshepard@appl-ecosys.com</a>> wrote:<br>><br>> Importing a large (4.4G) vector map of wetlands takes a long time even on my<br>> 8-core/16-thread, 32G desktop. When it finally completed grass recommended<br>> re-importing with an additional 'snap' distance specified:<br>><br>> Command line: > v.in.ogr in=OR_geodatabase_wetlands.gdb out=more_wetlands loc=geo_wetlands<br>><br>> WARNING: Number of incorrect boundaries: 88544<br>> -----------------------------------------------------<br>> WARNING: The output contains topological errors:<br>>           Unable to calculate a centroid for 329691 areas<br>>           Number of incorrect boundaries: 88544<br>> The input could be cleaned by snapping vertices to each other.<br>> Estimated range of snapping threshold: [1e-09, 1]<br>> Try to import again, snapping with 1e-05: 'snap=1e-05'<br>><br>> In the past 1e-05 produced similar warnings.<br>><br>> I'd like advice on two issues:<br>><br>> 1) Is 1e-05 the most reasonable starting snap distance? (I assume it is a<br>> generic value but perhaps not for all maps.) If not, what would be a snap<br>> distance to use?<br><div><br></div><div>The estimated snap distance is estimated from the bounding box of the imported data and thus specific for each import. In this particular case the suggested snap distance is snap=1e-5. If results are not as expected, increase or decrease by powers of 10, i.e. up to 1e-4 or down to 1e-6.<br></div><div>></div>> 2) What would be a reasonable snap distance to stop re-importing when<br><div>> warnings continue to be displayed?</div><div><br></div><div>The upper limit of the estimated range, in this case of [1e-09, 1], i.e 1.</div><div><br></div><div>Markus M<br></div>><br>> TIA,<br>><br>> Rich<br>><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></div>