How do I implement and use a WMC?

To add a web map context document to your web map server, follow these 3 steps:

  1. Read the OpenGIS® Web Map Context Document Implementation Specification.

    An overview of the specification is available on the GeoConnections website.

  2. Find a WMS viewer that supports WMC documents. Click for a list of viewer software that support WMC documents.

  3. Create a WMC document.

 

To view your WMC document, open the WMC document using a WMS viewer. There are several ways to do this:

  • Save it as a file on your computer by passing the URL to a web map server.

  • Save it as a local file on your computer. You can code it as a URL, but the URL is not very portable.

  • Include the body of the WMC in the URL. This creates a long and complex URL. Once again, there are no specifications or guidelines for doing this, so you must learn the WMS client capabilities.