[GRASS-SVN] r58207 - grass/trunk/raster/r.in.xyz

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 13 01:59:08 PST 2013


Author: martinl
Date: 2013-11-13 01:59:08 -0800 (Wed, 13 Nov 2013)
New Revision: 58207

Modified:
   grass/trunk/raster/r.in.xyz/main.c
Log:
r.in.xyz: message cosmetics + fix progress info

Modified: grass/trunk/raster/r.in.xyz/main.c
===================================================================
--- grass/trunk/raster/r.in.xyz/main.c	2013-11-13 09:55:42 UTC (rev 58206)
+++ grass/trunk/raster/r.in.xyz/main.c	2013-11-13 09:59:08 UTC (rev 58207)
@@ -572,7 +572,7 @@
     /* allocate memory for a single row of output data */
     raster_row = Rast_allocate_buf(rtype);
 
-    G_message(_("Reading data ..."));
+    G_message(_("Reading input data..."));
 
     count_total = 0;
 
@@ -783,9 +783,10 @@
 
 
 	/* calc stats and output */
-	G_message(_("Writing to map ..."));
+	G_message(_("Writing to output raster map..."));
 	for (row = 0; row < rows; row++) {
 
+            G_percent(row, rows, 5);
 	    switch (method) {
 	    case METHOD_N:	/* n is a straight copy */
 		Rast_raster_cpy(raster_row,



More information about the grass-commit mailing list