[GRASS-SVN] r31194 - grass/trunk/raster/r.in.gdal

svn_grass at osgeo.org svn_grass at osgeo.org
Thu May 1 11:44:37 EDT 2008


Author: martinl
Date: 2008-05-01 11:44:37 -0400 (Thu, 01 May 2008)
New Revision: 31194

Modified:
   grass/trunk/raster/r.in.gdal/main.c
Log:
r.in.gdal: message cosmetics (sync'ed with develbr6)

Modified: grass/trunk/raster/r.in.gdal/main.c
===================================================================
--- grass/trunk/raster/r.in.gdal/main.c	2008-05-01 15:42:36 UTC (rev 31193)
+++ grass/trunk/raster/r.in.gdal/main.c	2008-05-01 15:44:37 UTC (rev 31194)
@@ -483,6 +483,7 @@
 	        sprintf( szBandName, "%s.%d", output, nBand);
 
             ImportBand( hBand, szBandName, &ref );
+
             if (title)
                 G_put_cell_title (szBandName, title);
         }
@@ -936,7 +937,7 @@
            /* found 0..255 data: we set to grey scale: */
            struct Colors    colors;
         
-           G_debug (1, "Setting grey color table for %s (8bit, full range)", output );
+           G_verbose_message (_("Setting grey color table for <%s> (8bit, full range)"), output);
 
            G_init_colors (&colors);
            G_make_grey_scale_colors (&colors, 0, 255); /* full range */
@@ -949,7 +950,7 @@
            struct Range     range;
            CELL             min, max;
         
-           G_debug (1, "Setting grey color table for %s (16bit, image range)", output );
+           G_verbose_message (_("Setting grey color table for <%s> (16bit, image range)"), output );
            G_read_range( (char *) output, G_mapset(), &range) ;
            G_get_range_min_max (&range, &min, &max);
 
@@ -958,5 +959,9 @@
            G_write_colors( (char *) output, G_mapset(), &colors);
         }
     }
+
+    G_message(_("<%s> created"), output);
+
+    return;
 }
 



More information about the grass-commit mailing list