Browse Source

save the mapfile with fes for debugging purposes

Michal Šrédl 14 years ago
parent
commit
3c9a38b82a
1 changed files with 4 additions and 0 deletions
  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"]