Basic Data Types Requirements Class: Basic Types and Simple Components Packages Requirements Class

SWE Common Data Model OGC 08-094r1 The “extension” attribute is used as a container for future extensions. Each extension should put its content in a separate extension property. It is available by inheritance to all sub-classes of “AbstractSWEValue”. This extension point can be used at runtime i.e. at the instance level in the case of XML encoding to add new extended properties to an existing class. The optional “name” and “description” attributes can be used to provide human readable information describing what property the component represents. The “name” is meant to hold a short descriptive name whereas “description” can carry any length of plain text. These two fields should not be used to specify robust semantic information see 6.3.1. Instead, the “definition” attribute described below should be used for that purpose. The optional “identifier” attribute allows assigning a unique identifier to the component, so that it can be referenced later on. It can be used, for example, when defining the unique identifier of a universal constant. The “definition” attribute identifies the property often an observed property in our context that the data component represents by using a scoped name. It should map to a controlled term defined in an web accessible dictionary, registry or ontology. Such terms provide the formal textual definition agreed upon by one or more communities, eventually illustrated by pictures and diagrams as well as additional semantic information such as relationships to units and other concepts, ontological mappings, etc. Examples The definition may indicate that the value represents an atmospheric temperature using a URN such as “urn:ogc:def:property:OGC::SamplingTime” referencing the complete definition in a register. The definition may also be a URL linking to a concept defined in an ontology such as “httpwww.opengis.netdefOGC0SamplingTime” The name could be “Sampling Time”, which allows quick identification by human data consumers. The description could be “Time at which the observation was made as measured by the on-board clock” which adds contextual details. The “optional” attribute is an optional flag indicating if the component value can be omitted in the data stream. It is only meaningful if the component is used as a schema descriptor i.e. not for a component containing an inline value. It is ‘false’ by default. The “updatable” attribute is an optional flag indicating if the component value is fixed or can be updated. It is only applicable if the data component is used to define the input of a process i.e. when used to define the input or parameter of a service, process or sensor, but not when used to define the content of a dataset. Examples The “updatable” flag can be used to identify what parameters of a system are changeable. The exact semantics depends on the context. For example: Copyright © 2011 Open Geospatial Consortium 25 OGC 08-094r1 SWE Common Data Model - In SensorML process chains, the “updatable” flag is used to identify process parameters that can accept an incoming connection and thus can get changed while the process is in execution. - In a SensorML System it is used to indicate whether or not a system parameter is changeable, either by an operator i.e. by turning a screw or inserting a jumper or remotely by sending a command. - In the Sensor Planning Service it is used to indicate if tasking parameters are changeable by the client i.e. by using the Update operation after a task has been submitted.

7.2.3 Attributes shared by all simple data components

As shown on Figure 7.3, classes modeling simple data components inherit attributes from the “AbstractSimpleComponent” class from which they are directly derived. This abstract class is shown again below: AbstractDataComponent «Type» AbstractSimpleComponent «property» + referenceFrame: SC_CRS [0..1] + axisID: CharacterString [0..1] + quality: Quality [0..] + nilValues: NilValues [0..1] Figure 7.7 – AbstractSimpleComponent Class The definition attribute inherited from the “AbstractDataComponent” class is mandatory on this class and thus on all its descendants. Requirement http:www.opengis.netspecSWE2.0requml-simple-componentsdefinition-present Req 18. The “definition” attribute shall be specified by all instances of concrete classes derived from “AbstractSimpleComponent”. It provides two attributes allowing the association of a data component to a reference frame and an axis and thus implements core concepts introduced in clause 6.3.3. These attributes are used for a component which value is the projection of a property along a temporal or spatial axis. The “referenceFrame” attribute identifies the reference frame as defined by the “SC_CRS” object relative to which the coordinate value is given. The “axisID” attribute takes a string that uniquely identifies one of the reference frame’s axes along which the coordinate value is given. 26 Copyright © 2011 Open Geospatial Consortium SWE Common Data Model OGC 08-094r1 Requirement http:www.opengis.netspecSWE2.0requml-simple-componentsaxis-valid Req 19. The value of the “axisID” attribute shall correspond to the “axisAbbrev” attribute of one of the coordinate system axes listed in the specified reference frame definition. The union of these two attributes thus uniquely identifies one axis of one given reference frame along which the value of the component is expressed. Note that even though the ISO 19111 model assigns units to CRS axes in addition to a direction, only the direction is used in this standard and the unit is defined by the data component itself. This allows expressing other quantities than the one predefined along the CRS’s axes such as velocity, acceleration or rotation. A component representing a projected quantity can be defined in isolation or can be contained within a “Vector” aggregate when it contributes to the specification of a multi- dimensional quantity see clause 7.3.2. In this last case the reference frame definition is usually inherited from the parent “Vector” instance and is thus omitted from the scalar component itself. However, the “axisID” attribute still needs to be specified. Requirement http:www.opengis.netspecSWE2.0requml-simple-componentsaxis-defined Req 20. The “axisID” attribute shall be specified by all instances of concrete classes derived from “AbstractSimpleComponent” and representing a property projected along a spatial axis. Requirement http:www.opengis.netspecSWE2.0requml-simple-componentsref-frame-defined Req 21. The “referenceFrame” attribute shall be specified by all instances of concrete classes derived from “AbstractSimpleComponent” and representing a property projected along a spatial or temporal axis, except if it is inherited from a parent aggregate Vector or Matrix. The optional “quality” attribute is used to provide simple quality information as discussed in 6.4.1. It is of type “Quality” which is a union of several classes as defined in clause 7.2.15. Its multiplicity is more than one which means that several quality measures can be given on for a single data component. Example Both precision and accuracy of the value associated to a data component can be specified concurrently see http:en.wikipedia.orgwikiAccuracy_and_precision for a good explanation of the difference between the two. Copyright © 2011 Open Geospatial Consortium 27