owsproxy.cgi 292 B

12345678910111213141516
  1. #!/usr/bin/python
  2. #debugger
  3. #import rpdb2; rpdb2.start_embedded_debugger("lucerna")
  4. import OWS
  5. import logging
  6. import OWSExceptions
  7. logging.basicConfig(level=logging.DEBUG)
  8. try:
  9. service = OWS.getService()
  10. service.performRequest()
  11. except OWSExceptions.OWSException,e:
  12. e.toXml()