[GRASS-SVN] r56978 - grass/trunk/gui/wxpython/web_services
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jul 2 06:35:40 PDT 2013
Author: turek
Date: 2013-07-02 06:35:39 -0700 (Tue, 02 Jul 2013)
New Revision: 56978
Modified:
grass/trunk/gui/wxpython/web_services/widgets.py
Log:
wxgui wms: do not ignore CRS projections
Modified: grass/trunk/gui/wxpython/web_services/widgets.py
===================================================================
--- grass/trunk/gui/wxpython/web_services/widgets.py 2013-07-02 13:30:21 UTC (rev 56977)
+++ grass/trunk/gui/wxpython/web_services/widgets.py 2013-07-02 13:35:39 UTC (rev 56978)
@@ -683,7 +683,6 @@
first = True
for l in curr_sel_ls:
layer_projs = l['cap_intf_l'].GetLayerData('srs')
-
if first:
projs_list = layer_projs
first = False
@@ -696,7 +695,7 @@
for proj in projs_list:
proj_spl = proj.strip().split(':')
- if 'epsg' in proj_spl[0].strip().lower():
+ if proj_spl[0].strip().lower() in self.drv_info.GetSrs():
try:
int(proj_spl[1])
self.projs_list.append(proj)
More information about the grass-commit
mailing list