[GRASS-SVN] r35319 - grass/trunk/raster/r.out.gdal

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jan 10 16:23:05 EST 2009


Author: neteler
Date: 2009-01-10 16:23:05 -0500 (Sat, 10 Jan 2009)
New Revision: 35319

Modified:
   grass/trunk/raster/r.out.gdal/export_band.c
Log:
make warnings suppressable with 'GRASS_VERBOSE=0' (for R interface)

Modified: grass/trunk/raster/r.out.gdal/export_band.c
===================================================================
--- grass/trunk/raster/r.out.gdal/export_band.c	2009-01-10 17:58:37 UTC (rev 35318)
+++ grass/trunk/raster/r.out.gdal/export_band.c	2009-01-10 21:23:05 UTC (rev 35319)
@@ -288,12 +288,12 @@
 
     if (n_nulls > 0) {		/* TODO: && nodata_param NOT specified */
 	if (maptype == CELL_TYPE)
-	    G_warning(_("Input raster map contains cells with NULL-value (no-data). "
+	    G_important_message(_("Input raster map contains cells with NULL-value (no-data). "
 		       "The value %d was used to represent no-data values in the input map. "
 		       "You can specify nodata value by %s parameter."),
 		      (int)nodataval, nodatakey);
 	else
-	    G_warning(_("Input raster map contains cells with NULL-value (no-data). "
+	    G_important_message(_("Input raster map contains cells with NULL-value (no-data). "
 		       "The value %g was used to represent no-data values in the input map. "
 		       "You can specify nodata value by %s parameter."),
 		      nodataval, nodatakey);



More information about the grass-commit mailing list