[GRASS-SVN] r58044 - grass/trunk/raster/r.info

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Oct 18 05:49:58 PDT 2013


Author: turek
Date: 2013-10-18 05:49:58 -0700 (Fri, 18 Oct 2013)
New Revision: 58044

Modified:
   grass/trunk/raster/r.info/main.c
Log:
r.info -g: format resolution in same way as g.region -g do

Modified: grass/trunk/raster/r.info/main.c
===================================================================
--- grass/trunk/raster/r.info/main.c	2013-10-18 12:10:15 UTC (rev 58043)
+++ grass/trunk/raster/r.info/main.c	2013-10-18 12:49:58 UTC (rev 58044)
@@ -312,10 +312,10 @@
 	    fprintf(out, "east=%s\n", tmp1);
 	    fprintf(out, "west=%s\n", tmp2);
 
-	    G_format_resolution(cellhd.ns_res, tmp3, cellhd.proj);
+	    G_format_resolution(cellhd.ns_res, tmp3, -1);
 	    fprintf(out, "nsres=%s\n", tmp3);
 
-	    G_format_resolution(cellhd.ew_res, tmp3, cellhd.proj);
+	    G_format_resolution(cellhd.ew_res, tmp3, -1);
 	    fprintf(out, "ewres=%s\n", tmp3);
 
             fprintf(out, "rows=%d\n", cellhd.rows);



More information about the grass-commit mailing list