OGC UML-to-GML Application Schema Pilot 2020 (UGAS-2020)

For more information please contact innovation@ogc.org

The main goal of the project was to enhance the conversion of conceptual schemas to target representations. This is particularly useful if complex conceptual schemas need to be converted into different target representations. Here, the focus was on UML conceptual schema conversion to JSON Schema. The rules have been developed and validated in the context of the National System for Geospatial Intelligence (NSG) Application Schema (NAS).

The NSG Standards Registry describes the National System for Geospatial Intelligence (NSG) Application Schema (NAS) as an NSG-wide model for geospatial data that is technology-neutral. From it, using Model Driven Architecture (MDA) techniques, technology-tied Platform Specific Models (PSM) may be automatically derived and directly employed in system development. The NAS – Part 1 conforms to ISO 19109, Geographic information – Rules for application schema, and its conceptual schema. It integrates conceptual schemas from multiple ISO 19100-series standards for geospatial information modeling, such as those for features, events, names and coverages (e.g., grids, rasters, and TINs).

The project investigated emerging technology requirements for NAS employment in the NSG that are generally applicable to the wider geospatial community. The following paragraphcs list the main activities and key results, which are documented in full detail in the OGC UGAS-2020 Engineering Report (OGC 20-012).

  1. To enable a wide variety of analytic tradecrafts in the NSG to consistently and interoperably exchange data, the NAS defines an NSG-wide standard UML-based application schema in accordance with the ISO 19109 General Feature Model. In light of continuing technology evolution in the commercial marketplace it is desirable to be able to employ (NAS-conformant) JSON-based data exchanges alongside existing (NAS-conformant) XML-based data exchanges. A prototype design and implementation of UML Application Schema to JSON Schema rules (see the OWS-9 SSI UGAS Conversion Engineering Report) was reviewed and revised based on the final draft IETF JSON Schema standard “draft 2019-09”. The revised implementation was evaluated using NAS Baseline X-3. This work is reported in section UML to JSON Schema Encoding Rule.
  2. To maximize cross-community data interoperability the NAS employs conceptual data schemas developed by communities external to the NSG, for example as defined by the ISO 19100-series standards. At the present time there are no defined JSON-based encodings for those conceptual schemas. A JSON-based core profile was developed for key external community conceptual schemas, particularly components of those ISO 19100-series standards used to enable data discovery, access, control, and use in data exchange in general, including in the NSG. This work is reported in section Features Core Profile of Key Community Conceptual Schemas.

    The Features Core Profile and its JSON encoding have been specified with a broader scope than the NAS. It builds on the widely used GeoJSON standard and extends it with minimal extensions to support additional concepts that are important for the wider geospatial community and the OGC API standards, including support for solids, coordinate reference systems, and time intervals. These extensions have been kept minimal to keep implementation efforts as low as possible. If there is interest in the OGC membership, the JSON encoding of the Core Profile could be a starting point for a JSON encoding standard for features in the OGC. A new Standards Working Group for a standard OGC Features and Geometries JSON has been proposed.

  3. Linked data is increasingly important to “connect the dots”, i.e., to express relationships between diverse, distributed data sources and data repositories. Validation of both data content and link-based data relationships is critical to ensure logical integrity and meaningful information for the linked data graphs. SHACL, a language for describing and validating RDF graphs, appears to offer significant as yet unrealized potential for enabling robust data validation in linked-data environments. The results of evaluating that potential – with emphasis on deriving SHACL from a UML-based application schema – are reported in section Using SHACL for Validation of Linked Data.
  4. The OpenAPI initiative is gaining traction in the commercial marketplace for defining machine-readable specifications for RESTful APIs in web-based environments. The OGC is currently shifting towards interface specifications based on the OpenAPI 3.1 specification. That specification defines both the interface (interactions between the client and service) and the structure of data payloads (content) offered by that service. It is desirable to be able to efficiently model the service interface using UML and then automatically derive the physical expression of that interface (for example, as a JSON file) using Model Driven Engineering (MDE) techniques alongside the derivation of JSON Schema defining data content. A preliminary analysis and design based on the OGC API Features standard, parts 1 and 2, for sections other than for content schemas, is reported in section Generating OpenAPI definitions from an application schema in UML.

CALL FOR PARTICIPATION is now closed: HTML version, PDF version.

Our partners

We represent over 500 businesses, government agencies, research organizations, and universities united with a desire to make location information FAIR – Findable, Accessible, Interoperable, and Reusable.

Sign up today

Receive the latest news on OGC.

© 2024 Open Geospatial Consortium. All Rights Reserved.

Become a memberBecome a member