소스 검색

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"]