Explorar o código

save the mapfile with fes for debugging purposes

Michal Šrédl %!s(int64=14) %!d(string=hai) anos
pai
achega
3c9a38b82a
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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"]