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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Dec 15 06:35:00 EST 2009


Author: hamish
Date: 2009-12-15 06:35:00 -0500 (Tue, 15 Dec 2009)
New Revision: 40016

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

Modified: grass/branches/develbranch_6/general/g.region/printwindow.c
===================================================================
--- grass/branches/develbranch_6/general/g.region/printwindow.c	2009-12-15 11:04:45 UTC (rev 40015)
+++ grass/branches/develbranch_6/general/g.region/printwindow.c	2009-12-15 11:35:00 UTC (rev 40016)
@@ -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/develbranch_6/lib/gis/wr_cellhd.c
===================================================================
--- grass/branches/develbranch_6/lib/gis/wr_cellhd.c	2009-12-15 11:04:45 UTC (rev 40015)
+++ grass/branches/develbranch_6/lib/gis/wr_cellhd.c	2009-12-15 11:35:00 UTC (rev 40016)
@@ -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