Explorar el Código

debugging url for briseide

Michal Šrédl hace 14 años
padre
commit
3ccc27619e
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      OWS.py

+ 3 - 0
OWS.py

@@ -35,6 +35,7 @@ class OWS:
         self.requestUrl = url
         if url:
             self.url = url
+            logging.debug("OWS.py::__init__()::url: '%s'" % url)
             self.__getCapabilities()
         if qstring:
             self.qstring = qstring
@@ -57,6 +58,7 @@ class OWS:
         logging.debug("%s initialized"%self.service)
 
     def __getCapabilities(self):
+        logging.debug("OWS.py::__getCapabilities::self.url: '%s'" % self.url)
         self.parsedUrl = urlparse.urlparse(self.url)
         if self.service == "WFS":
             from owslib.wfs import WebFeatureService
@@ -306,6 +308,7 @@ def getService():
 
         if params["owsService"][0].lower() == "wfs":
             from wfs import WFS
+            logging.debug("OWS.py::getService()::owsUrl: '%s'" % owsUrl)
             return WFS(owsUrl,qstring)
         elif params["owsService"][0].lower() == "wcs":
             from wcs import WCS