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

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


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

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

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-10-22 10:49:38 UTC (rev 62343)
+++ grass/branches/releasebranch_7_0/raster/r.out.gdal/export_band.c	2014-10-22 10:51:10 UTC (rev 62344)
@@ -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