The owc4j library provides the tools to manage OGC OWS Context documents.
The OGC Web Services Context Document (OWS Context) describes the use cases, requirements and conceptual model for the OWS Context encoding standard.
The OGC Web Services Context Document allows a set of configured information resources (service set) to be passed between applications primarily as a collection of services and supports in-line content as well (e.g. Geography Markup Language (GML)).
The goal is to support use cases such as the distribution of search results, the exchange of a set of resources such as OGC Web Feature Service (WFS), Web Map Service (WMS), Web Map Tile Service (WMTS), Web Coverage Service (WCS) and others in a ‘common operating picture’. Additionally OWS Context can deliver a set of configured processing services (Web Processing Service (WPS)) parameters to allow the processing to be reproduced on different nodes.
The standard provides a core model, which is extended and encoded as defined in extensions to this standard. A ‘context document’ specifies a fully configured service set which can be exchanged (with a consistent interpretation) among clients supporting the standard.
Find out more about OGC OWS Context:
There's an OWS Context demonstration live at terradue.github.io/ows-context-demo/
The folder https://github.com/Terradue/ows-context4j/tree/master/src/test/java/com/terradue/owc/test contains several tests that represent examples of the owc4j library.
The library does not provide yet the full coverage of the OGC OWS Context specification.
Please file any bugs or questions as issues
Fork the repository here and send us pull requests.