[GRASS-SVN] r71578 - grass/branches/releasebranch_7_2/scripts/v.import
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Oct 22 11:09:58 PDT 2017
Author: mmetz
Date: 2017-10-22 11:09:58 -0700 (Sun, 22 Oct 2017)
New Revision: 71578
Modified:
grass/branches/releasebranch_7_2/scripts/v.import/v.import.html
grass/branches/releasebranch_7_2/scripts/v.import/v.import.py
Log:
v.import: do not snap by default (backport trunk r71577)
Modified: grass/branches/releasebranch_7_2/scripts/v.import/v.import.html
===================================================================
--- grass/branches/releasebranch_7_2/scripts/v.import/v.import.html 2017-10-22 18:09:17 UTC (rev 71577)
+++ grass/branches/releasebranch_7_2/scripts/v.import/v.import.html 2017-10-22 18:09:58 UTC (rev 71578)
@@ -37,12 +37,11 @@
<h3>Topology cleaning</h3>
-When importing polygons, non-topological polygons are converted to
-topological areas. By default, a very small snapping threshold is applied
-(1e-13 map units) to avoid topological errors caused by numerical inaccuracy
-of the input data format. If the original polygons contain errors (unexpected
-overlapping areas or small gaps between polygons), the import might
-need to be repeated using a larger <em>snap</em> value.
+When importing polygons, non-topological polygons are converted to
+topological areas. If the input polygons contain errors (unexpected
+overlapping areas, small gaps between polygons, or warnings about being
+unable to calculate centroids), the import might need to be repeated
+using a <em>snap</em> value as suggested in the output messages.
<!-- TODO: add hints for latlong -->
Modified: grass/branches/releasebranch_7_2/scripts/v.import/v.import.py
===================================================================
--- grass/branches/releasebranch_7_2/scripts/v.import/v.import.py 2017-10-22 18:09:17 UTC (rev 71577)
+++ grass/branches/releasebranch_7_2/scripts/v.import/v.import.py 2017-10-22 18:09:58 UTC (rev 71578)
@@ -63,8 +63,8 @@
#% key: snap
#% type: double
#% label: Snapping threshold for boundaries (map units)
-#% description: '-1' for no snap
-#% answer: 1e-13
+#% description: A suitable threshold is estimated during import
+#% answer: -1
#% guisection: Output
#%end
#%option
More information about the grass-commit
mailing list