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

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 22 03:51:24 PDT 2014


Author: neteler
Date: 2014-10-22 03:51:24 -0700 (Wed, 22 Oct 2014)
New Revision: 62345

Modified:
   grass/trunk/raster/r.out.gdal/export_band.c
Log:
r.out.gdal: tell user which GDAL data type is used

Modified: grass/trunk/raster/r.out.gdal/export_band.c
===================================================================
--- grass/trunk/raster/r.out.gdal/export_band.c	2014-10-22 10:51:10 UTC (rev 62344)
+++ grass/trunk/raster/r.out.gdal/export_band.c	2014-10-22 10:51:24 UTC (rev 62345)
@@ -153,6 +153,7 @@
 	G_warning("Raster export results in data loss.");
 	ret = -2;
     }
+    G_message(_("Using GDAL data type <%s>"), GDALGetDataTypeName(export_datatype));
 
     /* a default nodata value was used and NULL cells were present */
     if (n_nulls && default_nodataval) {



More information about the grass-commit mailing list