Browse Source

r.out.gdal: tell user which GDAL data type is used

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@62345 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 10 years ago
parent
commit
e3b0435d8e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      raster/r.out.gdal/export_band.c

+ 1 - 0
raster/r.out.gdal/export_band.c

@@ -153,6 +153,7 @@ int exact_checks(GDALDataType export_datatype,
 	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) {