瀏覽代碼

save the mapfile with fes for debugging purposes

Michal Šrédl 14 年之前
父節點
當前提交
3c9a38b82a
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      OWS.py

+ 4 - 0
OWS.py

@@ -359,6 +359,10 @@ class OWS:
         # set the filter
         layerobj.setMetaData("wfs_filter",msFilter)
 
+        # save the mapfile - debugging
+        mapobj.save("mapfile.fes")
+
+
 def getService(configFile=None):
 
     qstring = os.environ["QUERY_STRING"]