[GRASS-SVN] r63682 - grass/trunk/raster/r.out.gdal
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Dec 22 12:35:09 PST 2014
Author: mmetz
Date: 2014-12-22 12:35:09 -0800 (Mon, 22 Dec 2014)
New Revision: 63682
Modified:
grass/trunk/raster/r.out.gdal/export_band.c
Log:
r.out.gdal: fix #2512
Modified: grass/trunk/raster/r.out.gdal/export_band.c
===================================================================
--- grass/trunk/raster/r.out.gdal/export_band.c 2014-12-22 20:27:44 UTC (rev 63681)
+++ grass/trunk/raster/r.out.gdal/export_band.c 2014-12-22 20:35:09 UTC (rev 63682)
@@ -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