[GRASS-SVN] r72123 - grass/branches/releasebranch_7_4/gui/wxpython/core
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jan 25 07:32:58 PST 2018
Author: martinl
Date: 2018-01-25 07:32:58 -0800 (Thu, 25 Jan 2018)
New Revision: 72123
Modified:
grass/branches/releasebranch_7_4/gui/wxpython/core/ws.py
Log:
wxGUI: fix WMS service in latlong locations
(merge r72122 from trunk)
Modified: grass/branches/releasebranch_7_4/gui/wxpython/core/ws.py
===================================================================
--- grass/branches/releasebranch_7_4/gui/wxpython/core/ws.py 2018-01-25 15:27:36 UTC (rev 72122)
+++ grass/branches/releasebranch_7_4/gui/wxpython/core/ws.py 2018-01-25 15:32:58 UTC (rev 72123)
@@ -196,7 +196,11 @@
if len(r) < 2:
continue
try:
- if r[0] in ['cols', 'rows']:
+ if r[0] in ['e-w resol3', 'n-s resol3', 'rows3', 'cols3',
+ 'depths']:
+ # ignore 3D region values (causing problems in latlong locations)
+ continue
+ if r[0] in ['cols', 'rows', 'zone', 'proj']:
region[r[0]] = int(r[1])
else:
region[r[0]] = float(r[1])
More information about the grass-commit
mailing list