SensorML OGC 12-000
Copyright © 2014 Open Geospatial Consortium
81
attributeGroup ref
= gml:AssociationAttributeGroup
attributeGroup ref
= gml:OwnershipAttributeGroup
complexType
Additionally, most property values in DescribedObject are of type AbstractMetadataListType, which supports a list structure along with identification and
definition properties.
element name
= AbstractMetadataList
type =
sml:AbstractMetadataListType substitutionGroup
= swe:AbstractSWEIdentifiable
complexType name
= AbstractMetadataListType
complexContent extension
base =
swe:AbstractSWEIdentifiableType attribute
name =
definition type
= anyURI
use =
optional extension
complexContent complexType
complexType name
= AbstractMetadataListPropertyType
sequence minOccurs
= element
ref =
sml:AbstractMetadataList sequence
attributeGroup ref
= swe:AssociationAttributeGroup
complexType
8.1.3.1 Description Property
The description property is inherited from gml:AbstractFeature and provides a textual description for the feature.
An example of a description is given below:
gml:description Thermometer on the window of the Cass Building, Room 315
gml:description
8.1.3.2 Name Property
The name property is inherited from gml:AbstractFeature and provides a common name for the feature.
An example of the name property is given below:
gml:name Health Physics Instruments 2070 Gamma Detector
gml:name
8.1.3.3 Unique Identifier
This specification reserves the gml:identifier, inherited from gml:AbstractFeature, as a means of providing a unique identifier for the DescribedObject. This unique identifier
should be referenced in any other specification that involves this object, thereby providing a means of searching for all references to this object.
Requirement
Copyright © 2014 Open Geospatial Consortium
82
http:www.opengis.netspecsensorml2.0reqxmlcore-processglobally-unique-id
Req 52. An instance supporting DescribedObject shall have one and only one gml:identifier and this element shall have a codespace attribute with a value set
to “uniqueID”. The value of the gml:identifier shall be a globally unique identifier for the DescribedObject.
The value of the gml:identifier can be a URI e.g. URL or URN or a series of string characters that uniquely identify the object. An example of a globally unique identifier
for a weather station is given below:
gml:identifier codeSpace
= uid
urn:icd:stations:FR8766 gml:identifier
gml:identifier codeSpace
= uid
38a7s8f9d55 gml:identifier
8.1.3.4 Keywords
The keyword property and the KeywordList element are XML Schema implementations of the UML classes defined in clause 7.2.2.2.
The XML snippet for the KeywordList element and its corresponding complex types is shown below:
element name
= KeywordList
type =
sml:KeywordListType substitutionGroup
= sml:AbstractMetadataList
complexType name
= KeywordListType
complexContent extension
base =
sml:AbstractMetadataListType sequence
element name
= codeSpace
type =
swe:Reference minOccurs
= maxOccurs
= 1
element name
= keyword
type =
string minOccurs
= 1
maxOccurs =
unbounded sequence
extension complexContent
complexType complexType
name =
KeywordListPropertyType sequence
minOccurs =
element ref
= sml:KeywordList
sequence attributeGroup
ref =
swe:AssociationAttributeGroup complexType
The KeywordList element includes an optional codespace attribute that should reference an external dictionary or keyword list that includes all possible keyword entries. An
example of a keyword list without a codespace defined is shown below:
keywords KeywordList
keyword weather station
keyword keyword
precipitation keyword
SensorML OGC 12-000
Copyright © 2014 Open Geospatial Consortium
83
keyword wind speed
keyword keyword
temperature keyword
KeywordList keywords
An example of a keyword list with codespace is shown below:
keywords KeywordList
codespace =
http:myAuthoritativeDomain.orgdefmyKeywordList keyword
weather station keyword
keyword precipitation
keyword keyword
wind speed keyword
keyword temperature
keyword KeywordList
keywords
8.1.3.5 Identifiers