SWE Common Data Model OGC 08-094r1
7 UML Conceptual Models normative
This standard defines normative UML models with which derived encoding models as well as all future separate extensions should be compliant. The standardization target type
for the UML requirements classes defined in this clause is thus a software implementation or an encoding model that directly implements the conceptual models
defined in this standard.
7.1 Package Dependencies
The following packages are defined by the SWE Common Data Model:
«Leaf» Record Components
«Leaf» Block Components
«Leaf» Simple Encodings
«Leaf» Simple Components
«Application Schema» SWE Common Data Model 2.0
«Leaf» Basic Types
«Leaf» Adv anced Encodings
«Leaf» Choice Components
«import» «import»
«import»
«import» «import»
«import» «import»
«import»
«import»
«import» «import»
Figure 7.1 – Internal Package Dependencies
Copyright © 2011 Open Geospatial Consortium
19
OGC 08-094r1 SWE Common Data Model
This standard also has dependencies on external packages defined by other standards, namely ISO 19103, ISO 19108 and ISO 19111, as show below:
«Leaf» Simple Components
«Leaf» Basic Types
«Leaf» Simple Encodings
ISO 19108 Temporal Schema
ISO 19103 Schema Language ISO 19111 Referencing by Coordinates
«import» «import»
Figure 7.2 – External Package Dependencies
20
Copyright © 2011 Open Geospatial Consortium
SWE Common Data Model OGC 08-094r1
7.2 Requirements Class: Basic Types and Simple Components Packages Requirements Class
http:www.opengis.netspecSWE2.0requml-simple-components
Target Type Software Implementation or Encoding of the Conceptual Models
Dependency
http:www.opengis.netspecSWE2.0reqcore
Data components are the most essential part of the SWE Common Data Model. They are used to describe all types of data structures, whether they represent data stream contents,
tasking messages, alert messages or process inputsoutputs.
The “Simple Components” UML package contains classes modeling simple data components, that is to say scalar components and range components i.e. value extents.
These classes implement concepts defined in the core section of this standard.
Requirement
http:www.opengis.netspecSWE2.0requml-simple-componentsdependency-core
Req 14. An encoding or software passing the “Simple Components UML Package”
conformance test class shall first pass the core conformance test class.
The “Basic Types” UML package from which the “Simple Components” package is dependent is included in this requirement class.
Requirement
http:www.opengis.netspecSWE2.0requml-simple-componentspackage-fully-implemented
Req 15. The encoding or software shall correctly implement all UML classes defined
in the “Simple Components” and “Basic Types” packages.
Several dependencies to ISO standards exist and are detailed below. Data types from several packages of the ISO 19103 standard are used directly which
makes this requirement class dependent on it. These data types are “CharacterString”, “Boolean”, “Real”, “Integer”, “Date”, “Time”, “DateTime”, “ScopedName”,
“UnitOfMeasure” and “UomTime”.
Requirement
http:www.opengis.netspecSWE2.0requml-simple-componentsiso19103-implemented
Req 16. The encoding or software shall correctly implement all UML classes defined
Copyright © 2011 Open Geospatial Consortium
21
OGC 08-094r1 SWE Common Data Model
in ISO 19103 that are referenced directly or indirectly by this standard.
The “TM_Position” data type from the “Temporal Reference System” package of the ISO 19108 standard is also used.
Requirement
http:www.opengis.netspecSWE2.0requml-simple-componentsiso19108-implemented
Req 17. The encoding or software shall correctly implement all UML classes defined
in ISO 19108 that are referenced directly or indirectly by this standard.
The “SC_CRS” and “TM_Temporal_CRS” classifiers are referenced conceptually from ISO 19111 but their implementation is not required by this standard. Implementations are
allowed to simply use a CRS’s identifier as a mean of recognizing predefined coordinate reference systems. The use of identifiers from the EPSG database is recommended in this
case. However, when new CRS definitions need to be created e.g. engineering CRS attached to sensors or platforms, the models defined in ISO 19111 shall be used.
Classes of the “Simple Components” package are designed to collect information about nature, representation and quality of data as introduced in previous sections. These
include six scalar types – Boolean, Text, Category, Count, Quantity, and Time – as well as four range types – CategoryRange, CountRange, QuantityRange and TimeRange.
As an overview, conceptual models of the six scalar component types are shown on the following UML class diagram:
22
Copyright © 2011 Open Geospatial Consortium