Skip to main content

OGC context format

Know where WMC ends and service loading begins.

Web Map Context packages a configured set of map layers. loaders.gl preserves this page as a format reference while the active implementation boundary remains XML parsing plus the WMS source APIs.

loaders.gl support​

TypeAPI
—WMC documents have no dedicated loader. Use WMSLoader to load each referenced WMS service.

Implementation boundary

Read the context, then load the referenced service.

A WMC document is configuration and references, not the map pixels themselves. Use XML parsing for the document and a service source for each referenced WMS endpoint.

Document

Configured layers and service references

Parsing

@loaders.gl/documents for legacy documents

Map data

WMSLoader for referenced services

Status

No dedicated WMC loader in v5

Web Map Context is a legacy OGC document format for saving and exchanging a configured set of map layers.

Feature support​

CapabilitySupportRecommendation
WMC document parsing❌ Not implementedParse XML with @loaders.gl/documents when maintaining legacy applications
WMC document writing❌ Not implementedKeep application state in a modern JSON configuration
Referenced WMS layers✅ Supported separatelyUse WMSLoader for each referenced service
Modern context exchange❌ Not implementedOWS Context is documented separately but also has no dedicated loader

Detailed guide

WMC format details

The support matrix below distinguishes the context document from the WMS services it references.

This page is retained so users can distinguish WMC from WMS. loaders.gl v5 supports the referenced WMS services, not the context document itself.

References​