[GRASS-SVN] r63683 - grass/branches/releasebranch_7_0/raster/r.out.gdal

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Dec 22 12:35:30 PST 2014


Author: mmetz
Date: 2014-12-22 12:35:29 -0800 (Mon, 22 Dec 2014)
New Revision: 63683

Modified:
   grass/branches/releasebranch_7_0/raster/r.out.gdal/export_band.c
Log:
r.out.gdal: fix #2512

Modified: grass/branches/releasebranch_7_0/raster/r.out.gdal/export_band.c
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.out.gdal/export_band.c	2014-12-22 20:35:09 UTC (rev 63682)
+++ grass/branches/releasebranch_7_0/raster/r.out.gdal/export_band.c	2014-12-22 20:35:29 UTC (rev 63683)
@@ -237,11 +237,6 @@
 	Rast_get_fp_range_min_max(&sRange, &dfCellMin, &dfCellMax);
     }
 
-    /* suppress useless warnings */
-    CPLPushErrorHandler(CPLQuietErrorHandler);
-    GDALSetRasterColorInterpretation(hBand, GPI_RGB);
-    CPLPopErrorHandler();
-    
     sprintf(value, "GRASS GIS %s", GRASS_VERSION_NUMBER);
     GDALSetMetadataItem(hBand, "Generated_with", value, NULL);
 



More information about the grass-commit mailing list