[GRASS-SVN] r54325 - grass/trunk/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Dec 17 13:42:59 PST 2012


Author: martinl
Date: 2012-12-17 13:42:59 -0800 (Mon, 17 Dec 2012)
New Revision: 54325

Modified:
   grass/trunk/lib/vector/Vlib/snap.c
Log:
vlib: Vect_snap_lines(): progress messages should be printed on verbosity level 1


Modified: grass/trunk/lib/vector/Vlib/snap.c
===================================================================
--- grass/trunk/lib/vector/Vlib/snap.c	2012-12-17 14:14:15 UTC (rev 54324)
+++ grass/trunk/lib/vector/Vlib/snap.c	2012-12-17 21:42:59 UTC (rev 54325)
@@ -210,7 +210,7 @@
     nvertices = 0;
     XPnts = NULL;
 
-    G_verbose_message(_("Snap vertices Pass 1: select points"));
+    G_important_message(_("Snap vertices Pass 1: select points"));
     for (line_idx = 0; line_idx < List_lines->n_values; line_idx++) {
 	int v;
 
@@ -264,7 +264,7 @@
     /* Go through all registered points and if not yet marked mark it as anchor and assign this anchor
      * to all not yet marked points in threshold */
 
-    G_verbose_message(_("Snap vertices Pass 2: assign anchor vertices"));
+    G_important_message(_("Snap vertices Pass 2: assign anchor vertices"));
 
     nanchors = ntosnap = 0;
     for (point = 1; point <= npoints; point++) {
@@ -333,7 +333,7 @@
 
     nsnapped = ncreated = 0;
 
-    G_verbose_message(_("Snap vertices Pass 3: snap to assigned points"));
+    G_important_message(_("Snap vertices Pass 3: snap to assigned points"));
 
     for (line_idx = 0; line_idx < List_lines->n_values; line_idx++) {
 	int v, spoint, anchor;
@@ -543,6 +543,7 @@
 
     nlines = Vect_get_num_lines(Map);
 
+    G_important_message(_("Reading features..."));
     for (line = 1; line <= nlines; line++) {
 	G_debug(3, "line =  %d", line);
 



More information about the grass-commit mailing list