[GRASS-SVN] r71163 - grass/trunk/gui/wxpython/core

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jun 4 11:49:13 PDT 2017


Author: annakrat
Date: 2017-06-04 11:49:13 -0700 (Sun, 04 Jun 2017)
New Revision: 71163

Modified:
   grass/trunk/gui/wxpython/core/render.py
Log:
wxGUI: fix rendering in latlon when resolution is high

Modified: grass/trunk/gui/wxpython/core/render.py
===================================================================
--- grass/trunk/gui/wxpython/core/render.py	2017-06-04 08:50:41 UTC (rev 71162)
+++ grass/trunk/gui/wxpython/core/render.py	2017-06-04 18:49:13 UTC (rev 71163)
@@ -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