Sunday 23 March 2008

Convert Web Map Context (WMC) to OWS Context

After manually converting many WMC files to OWS Context I convinced myself that it would be easier to write a stylesheet to do the job for me. As usual, the XSL took longer to write than expected, but it was much more satisfying.

You can try out the stylesheet yourself, it is incorporated into Mapbuilder's codebase at:

To run, from a linux command line:
    xsltproc YourWMC.xml > NewOWSContext.xml
If you find any bugs, please report them in, and let me know you have reported them.

No comments: