[GRASS-SVN] r71164 - grass/branches/releasebranch_7_2/gui/wxpython/core

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jun 4 14:57:51 PDT 2017


Author: annakrat
Date: 2017-06-04 14:57:51 -0700 (Sun, 04 Jun 2017)
New Revision: 71164

Modified:
   grass/branches/releasebranch_7_2/gui/wxpython/core/render.py
Log:
wxGUI: fix rendering in latlon when resolution is high (merge from trunk, r71163)

Modified: grass/branches/releasebranch_7_2/gui/wxpython/core/render.py
===================================================================
--- grass/branches/releasebranch_7_2/gui/wxpython/core/render.py	2017-06-04 18:49:13 UTC (rev 71163)
+++ grass/branches/releasebranch_7_2/gui/wxpython/core/render.py	2017-06-04 21:57:51 UTC (rev 71164)
@@ -1091,11 +1091,11 @@
                         (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":



More information about the grass-commit mailing list