浏览代码

wxGUI: fix rendering in latlon when resolution is high

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@71163 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 8 年之前
父节点
当前提交
0904ff9e1a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      gui/wxpython/core/render.py

+ 2 - 2
gui/wxpython/core/render.py

@@ -1091,11 +1091,11 @@ class Map(object):
                         (region['w'])
                     continue
                 elif key == "e-w resol":
-                    grass_region += "e-w resol: %f; " % \
+                    grass_region += "e-w resol: %.10f; " % \
                         (region['ewres'])
                     continue
                 elif key == "n-s resol":
-                    grass_region += "n-s resol: %f; " % \
+                    grass_region += "n-s resol: %.10f; " % \
                         (region['nsres'])
                     continue
                 elif key == "cols":