[GRASS-SVN] r72771 - grass/trunk/raster/r.info
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jun 5 12:35:05 PDT 2018
Author: mmetz
Date: 2018-06-05 12:35:05 -0700 (Tue, 05 Jun 2018)
New Revision: 72771
Modified:
grass/trunk/raster/r.info/main.c
Log:
r.info: report Type of Map (raster, reclass, GDAL-link, virtual) also with -e flag
Modified: grass/trunk/raster/r.info/main.c
===================================================================
--- grass/trunk/raster/r.info/main.c 2018-06-05 19:33:32 UTC (rev 72770)
+++ grass/trunk/raster/r.info/main.c 2018-06-05 19:35:05 UTC (rev 72771)
@@ -463,6 +463,7 @@
G_unqualified_name(name, mapset, xname, xmapset);
fprintf(out, "map=%s\n", xname);
+ fprintf(out, "maptype=%s\n", hist_ok ? Rast_get_history(&hist, HIST_MAPTYPE) : "??");
fprintf(out, "mapset=%s\n", mapset);
fprintf(out, "location=%s\n", G_location());
fprintf(out, "database=%s\n", G_gisdbase());
More information about the grass-commit
mailing list