[GRASS-SVN] r34113 - grass/trunk/raster/r.info
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Oct 30 16:38:58 EDT 2008
Author: neteler
Date: 2008-10-30 16:38:58 -0400 (Thu, 30 Oct 2008)
New Revision: 34113
Modified:
grass/trunk/raster/r.info/main.c
Log:
output also top/bottom in -g mode (trac #248)
Modified: grass/trunk/raster/r.info/main.c
===================================================================
--- grass/trunk/raster/r.info/main.c 2008-10-30 20:08:33 UTC (rev 34112)
+++ grass/trunk/raster/r.info/main.c 2008-10-30 20:38:58 UTC (rev 34113)
@@ -345,6 +345,8 @@
G_format_easting(cellhd.west, tmp2, cellhd.proj);
fprintf(out, "east=%s\n", tmp1);
fprintf(out, "west=%s\n", tmp2);
+ fprintf(out, "top=%f\n", zmax);
+ fprintf(out, "bottom=%f\n", zmin);
}
if (sflag->answer) {
More information about the grass-commit
mailing list