瀏覽代碼

wxgui wms: do not ignore CRS projections

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@56978 15284696-431f-4ddb-bdfa-cd5b030d7da7
Štěpán Turek 12 年之前
父節點
當前提交
23d6d9bc57
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      gui/wxpython/web_services/widgets.py

+ 1 - 2
gui/wxpython/web_services/widgets.py

@@ -683,7 +683,6 @@ class WSPanel(wx.Panel):
         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 @@ class WSPanel(wx.Panel):
             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)