Vector Class Requirements Class: Record Components Package Requirements Class
OGC 08-094r1 SWE Common Data Model
Requirement
http:www.opengis.netspecSWE2.0requml-record-componentsvector-coord-name-unique
Req 40. Each “coordinate” attribute in a given instance of the “Vector” class shall be
identified by a name that is unique to this instance.
This class contains a mandatory “referenceFrame” attribute that identifies the frame of reference with respect to which the vector quantity is expressed. The coordinates of the
vector correspond to values projected on the axes of this frame.
The “referenceFrame” attribute is inherited by all components of the “Vector”, so that it shall not be redefined for each coordinate. However the “axisID” attribute shall be
specified for each coordinate, in order to unambiguously indicate what axis of the reference frame it corresponds to.
Requirement
http:www.opengis.netspecSWE2.0requml-record-componentsvector-component-no-ref-frame
Req 41. The “referenceFrame” attribute shall be ommited from all data components
used to define coordinates of a “Vector” instance.
Requirement
http:www.opengis.netspecSWE2.0requml-record-componentsvector-component-axis-defined
Req 42. The “axisID” attribute shall be specified on all data components used as
children of a “Vector” instance.
The optional “localFrame” attribute allows identifying the frame of interest, that is to say the frame we are positioning with the coordinate values associated to this component by
opposition to the “referenceFrame” that specifies the frame with respect to which the values of the coordinates are expressed.
Requirement
http:www.opengis.netspecSWE2.0requml-record-componentsvector-local-frame-valid
Req 43. The “localFrame” attribute of an instance of the “Vector” class shall have a
different value than the “referenceFrame” attribute.
Correctly identifying the local and reference frame is an important feature that allows chaining several relative positions, something that is essential to correctly compute
accurate position of sensor data especially remote sensing data.
46
Copyright © 2011 Open Geospatial Consortium
SWE Common Data Model OGC 08-094r1
Note: “Vector” aggregates are most commonly used to describe location, orientation, velocity, and acceleration within temporal and spatial domains, but can also be used to
express relationships between any two coordinate frames.
Example 1
A location vector is used to locate the origin of a frame of interest the local frame relative to the origin of a frame of reference the reference frame through a linear translation. It is composed of three coordinates of type
“Quantity”, each with a definition indicating that the coordinate represents a length expressed in the desired unit. The definition of the “Vector” itself should also indicate that it is a “location vector”.
In the case of a 3D location vector, each coordinate u
1
, u
2
, u
3
represents a distance along the x, y, z axes respectively.
Frame of Reference
Local Frame
x y
z u
1
u
2
u
3
Example 2
An orientation vector is used to indicate the rotation of the axes of a frame of interest the local frame relative to a frame of reference the reference frame. It is composed of three coordinates of type “Quantity” with a definition
indicating an angular property. The “Vector” definition should indicate the type of orientation vector such as “Euler Angles” or “Quaternion”. Depending on the exact definition, the order in which the coordinates are listed in the
vector may matter.
Copyright © 2011 Open Geospatial Consortium
47
OGC 08-094r1 SWE Common Data Model