Browse Source

output also top/bottom in -g mode (trac https://trac.osgeo.org/grass/ticket/248)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@34113 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 16 years ago
parent
commit
11b0853578
1 changed files with 2 additions and 0 deletions
  1. 2 0
      raster/r.info/main.c

+ 2 - 0
raster/r.info/main.c

@@ -345,6 +345,8 @@ int main(int argc, char **argv)
 	    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) {