OWSlib and mapscript

My first major code contribution to MapServer was a server side implementation of OWS Common 1.0.0. For those who are not aware, OWS Common is a specification which unifies common XML constructs, etc. used by OGC specifications, such as Capabilities metadata, exception reports and bounding box encodings. The benefit of OWS Common is that specifications, and subsequently server implementations, can focus on their core specific functionality while leveraging the common bits.

A good example here is MapServer’s SOS server support, which leverages mapowscommon.c, making mapogcsos.c alot lighter as a result. Client implementations can additionally write OWS Common parsers as reusable functionality which they can then use when writing their, say, WFS and SOS clients. I really believe that this is a benefit for those developing SDI components (i.e. why should contact information be encoded differently for WMS and WFS, really?); just imagine the reduction in code as a result of OWS Common!

Sean recently pointed me to OWSlib, a python lib for working with OGC Web Services. I initially thought it would be great to write an OWS Common client / parser for OWSlib, so that when WFS 1.1.0 and SOS 1.0.0 clients are developed, they can use an OWS Common class between them.

But then I thought why not just implement this in MapServer, and have the functionality exposed via mapscript?

3 Comments so far »

  1. Sean Gillies said,

    Wrote on July 15, 2007 @ 16:14:10

    Mozilla Firefox 2.0.0.4 Ubuntu Linux

    Tom, if mapscript is what you want to use, by all means implement it in MapServer. OWSLib aims to be a package for programming WxS clients with minimal dependencies, it is not designed to complement mapscript.

    Posted from United States United States
    Mozilla Firefox 2.0.0.4 Ubuntu Linux
  2. tomkralidis said,

    Wrote on July 15, 2007 @ 16:36:23

    Mozilla Firefox 2.0.0.4 Fedora Linux

    Sean: Ah, ok. Thanks for the clarification. I can see the value of something lightweight like OWSlib then, as well as something more involved like MapServer. Stay tuned, you might see a contrib or two from me on this one 🙂

    Posted from United States
    Mozilla Firefox 2.0.0.4 Fedora Linux
  3. tomkralidis said,

    Wrote on July 17, 2007 @ 17:36:24

    Mozilla Firefox 2.0.0.4 Windows XP

    Manual trackback: Sean has posted a response

    Posted from United States
    Mozilla Firefox 2.0.0.4 Windows XP

Comment RSS · TrackBack URI

Leave a Comment

Name: (Required)

E-mail: (Required)

Website:

Comment:

Modified: 15 July 2007 11:56:48 EST