Full lineage and traceability

OGC 08-094r1 SWE Common Data Model Examples A dataset representing a time series of observations acquired by a mobile sensor can be encoded with various methods depending on the requirements: - XML encoding can be used when data needs to be easily styled to other markup formats such as HTML or when precise error localization in the case of an error in the stream is needed. - ASCII encoding can be used to achieve a good compromise between readability and size efficiency. - Binary encoding can be used eventually with embedded compression when pure performance i.e. size but also reading and writing throughput is the main concern. A data component can be both a data descriptor and a data container: - A data component used as a data descriptor defines the structure, representation, semantics, quality, and other metadata of a data set but does not include the actual data values. - A data component used as a data container equally defines the dataset but also includes the actual property values.

6.6 Data Encoding

A key concept of the SWE Common Data Model is the ability to separate data values themselves from the description of the data structure, semantics and representation. This allows verbose metadata to be used in order to robustly define the content and meaning of a dataset while still being able to package the data values in very efficient manners. Data encoding methods define how the data is packed as blocks that can efficiently be transferred or stored using various protocols and formats. Different methods allow encoding the data as XML, text CSV like, binary and even compressed or encrypted formats in a way that is agnostic to a particular structure. This allows any of the encodings methods to be selected and used based on a particular requirement, such as performance, re-use of tools, alignment with existing standards and so on. Requirement http:www.opengis.netspecSWE2.0reqcoreencoding-method-valid Req 13. All encoding methods shall be applicable to any arbitrarily complex data structures as long as they are made of the data components described in clause 6.5. 18 Copyright © 2011 Open Geospatial Consortium