[GRASS-SVN] r40018 - in grass/branches/releasebranch_6_4: general/g.region lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Dec 15 06:38:12 EST 2009


Author: hamish
Date: 2009-12-15 06:38:12 -0500 (Tue, 15 Dec 2009)
New Revision: 40018

Modified:
   grass/branches/releasebranch_6_4/general/g.region/printwindow.c
   grass/branches/releasebranch_6_4/lib/gis/wr_cellhd.c
Log:
tbres is not measured in degrees (bug #821; merge from devbr6)

Modified: grass/branches/releasebranch_6_4/general/g.region/printwindow.c
===================================================================
--- grass/branches/releasebranch_6_4/general/g.region/printwindow.c	2009-12-15 11:37:05 UTC (rev 40017)
+++ grass/branches/releasebranch_6_4/general/g.region/printwindow.c	2009-12-15 11:38:12 UTC (rev 40018)
@@ -35,7 +35,7 @@
     G_format_resolution(window->ew_res3, ewres3, x);
     G_format_resolution(window->ns_res, nsres, x);
     G_format_resolution(window->ns_res3, nsres3, x);
-    G_format_resolution(window->tb_res, tbres, x);
+    G_format_resolution(window->tb_res, tbres, -1);
     G_begin_distance_calculations();
 
     /* EW Dist at North edge */

Modified: grass/branches/releasebranch_6_4/lib/gis/wr_cellhd.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/gis/wr_cellhd.c	2009-12-15 11:37:05 UTC (rev 40017)
+++ grass/branches/releasebranch_6_4/lib/gis/wr_cellhd.c	2009-12-15 11:38:12 UTC (rev 40018)
@@ -100,7 +100,7 @@
     G_format_resolution(cellhd->ns_res3, buf, fmt);
     fprintf(fd, "n-s resol3: %s\n", buf);
 
-    G_format_resolution(cellhd->tb_res, buf, fmt);
+    G_format_resolution(cellhd->tb_res, buf, -1);
     fprintf(fd, "t-b resol:  %s\n", buf);
 
     return 1;



More information about the grass-commit mailing list