[GRASS-SVN] r60746 - grass/branches/releasebranch_7_0/vector/v.in.ogr

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jun 8 02:44:57 PDT 2014


Author: hcho
Date: 2014-06-08 02:44:57 -0700 (Sun, 08 Jun 2014)
New Revision: 60746

Modified:
   grass/branches/releasebranch_7_0/vector/v.in.ogr/main.c
Log:
v.in.ogr: merge from r60674. useful messages

Modified: grass/branches/releasebranch_7_0/vector/v.in.ogr/main.c
===================================================================
--- grass/branches/releasebranch_7_0/vector/v.in.ogr/main.c	2014-06-08 09:42:54 UTC (rev 60745)
+++ grass/branches/releasebranch_7_0/vector/v.in.ogr/main.c	2014-06-08 09:44:57 UTC (rev 60746)
@@ -1445,6 +1445,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);
@@ -1453,7 +1454,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