Forráskód Böngészése

tbres is not measured in degrees (bug https://trac.osgeo.org/grass/ticket/821; merge from devbr6)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@40017 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 15 éve
szülő
commit
0172a80e98
2 módosított fájl, 2 hozzáadás és 2 törlés
  1. 1 1
      general/g.region/printwindow.c
  2. 1 1
      lib/gis/wr_cellhd.c

+ 1 - 1
general/g.region/printwindow.c

@@ -35,7 +35,7 @@ void print_window(struct Cell_head *window, int print_flag)
     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 */

+ 1 - 1
lib/gis/wr_cellhd.c

@@ -98,6 +98,6 @@ void G__write_Cell_head3(FILE * fd,
     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);
 }