[GRASS-SVN] r60674 - grass/trunk/vector/v.in.ogr
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jun 2 12:52:41 PDT 2014
Author: hcho
Date: 2014-06-02 12:52:41 -0700 (Mon, 02 Jun 2014)
New Revision: 60674
Modified:
grass/trunk/vector/v.in.ogr/main.c
Log:
v.in.ogr: print the estimated range of snapping threshold for reference
Modified: grass/trunk/vector/v.in.ogr/main.c
===================================================================
--- grass/trunk/vector/v.in.ogr/main.c 2014-06-02 18:40:18 UTC (rev 60673)
+++ grass/trunk/vector/v.in.ogr/main.c 2014-06-02 19:52:41 UTC (rev 60674)
@@ -1501,6 +1501,7 @@
G_important_message("%s", separator);
G_warning(_("Errors were encountered during the import"));
+ G_important_message(_("Estimated range of snapping threshold: [%g, %g]"), min_snap, max_snap);
if (snap < min_snap) {
G_important_message(_("Try to import again, snapping with at least %g: 'snap=%g'"), min_snap, min_snap);
@@ -1509,7 +1510,9 @@
min_snap = snap * 10;
G_important_message(_("Try to import again, snapping with %g: 'snap=%g'"), min_snap, min_snap);
}
- /* else assume manual cleaning is required */
+ else
+ /* assume manual cleaning is required */
+ G_important_message(_("Manual cleaning may be needed."));
}
}
More information about the grass-commit
mailing list