[GRASS-SVN] r35321 - grass/branches/releasebranch_6_4/raster/r.out.gdal

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


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

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

Modified: grass/branches/releasebranch_6_4/raster/r.out.gdal/export_band.c
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.out.gdal/export_band.c	2009-01-10 21:23:33 UTC (rev 35320)
+++ grass/branches/releasebranch_6_4/raster/r.out.gdal/export_band.c	2009-01-10 21:23:51 UTC (rev 35321)
@@ -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