Schema Central > niem41 > observation.xsd > gml:Observation
Advanced search
Need NIEM Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

gml:Observation

The content model is a straightforward extension of gml:AbstractFeatureType; it automatically has the gml:identifier, gml:description, gml:descriptionReference, gml:name, and gml:boundedBy properties. 
The gml:validTime element describes the time of the observation. Note that this may be a time instant or a time period.
The gml:using property contains or references a description of a sensor, instrument or procedure used for the observation.
The gml:target property contains or references the specimen, region or station which is the object of the observation. This property is particularly useful for remote observations, such as photographs, where a generic location property might apply to the location of the camera or the location of the field of view, and thus may be ambiguous.  
The gml:subject element is provided as a convenient synonym for gml:target. This is the term commonly used in phtotography.  
The gml:resultOf property indicates the result of the observation.  The value may be inline, or a reference to a value elsewhere.

Element information

Type: gml:ObservationType

Properties: Global, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
gml:id [1..1]xsd:IDThe attribute gml:id supports provision of a handle for the XML element representing a GML Object. Its use is mandatory for all GML objects. It is of XML type ID, so is constrained to be unique in the XML document within which it occurs.from type gml:AbstractGMLType

Used in

Substitution hierarchy

Sample instance

<gml:Observation gml:id="ID">
   <gml:metaDataProperty>
      <gml:GenericMetaData>Any text, intermingled with:
         <!--any element-->
      </gml:GenericMetaData>
   </gml:metaDataProperty>
   <gml:description>string</gml:description>
   <gml:descriptionReference/>
   <gml:identifier codeSpace="http://www.example.com/">string</gml:identifier>
   <gml:name>string</gml:name>
   <gml:boundedBy>
      <gml:Envelope>
         <gml:lowerCorner>1.0 1.0</gml:lowerCorner>
         <gml:upperCorner>1.0 1.0</gml:upperCorner>
      </gml:Envelope>
   </gml:boundedBy>
   <gml:location>
      <gml:MultiGeometry gml:id="ID">
         <gml:metaDataProperty>...
         </gml:metaDataProperty>
         <gml:description>string</gml:description>
         <gml:descriptionReference/>
         <gml:identifier codeSpace="http://www.example.com/">string</gml:identifier>
         <gml:name>string</gml:name>
         <gml:geometryMember>...
         </gml:geometryMember>
         <gml:geometryMembers>...
         </gml:geometryMembers>
      </gml:MultiGeometry>
   </gml:location>
   <gml:validTime>
      <gml:TimeInstant gml:id="ID">
         <gml:metaDataProperty>...
         </gml:metaDataProperty>
         <gml:description>string</gml:description>
         <gml:descriptionReference/>
         <gml:identifier codeSpace="http://www.example.com/">string</gml:identifier>
         <gml:name>string</gml:name>
         <gml:relatedTime>...
         </gml:relatedTime>
         <gml:timePosition>12:00:00</gml:timePosition>
      </gml:TimeInstant>
   </gml:validTime>
   <gml:using>
      <gml:MultiPointCoverage gml:id="ID">
         <gml:metaDataProperty>...
         </gml:metaDataProperty>
         <gml:description>string</gml:description>
         <gml:descriptionReference/>
         <gml:identifier codeSpace="http://www.example.com/">string</gml:identifier>
         <gml:name>string</gml:name>
         <gml:boundedBy>...
         </gml:boundedBy>
         <gml:location>...
         </gml:location>
         <gml:domainSet>...
         </gml:domainSet>
         <gml:rangeSet>...
         </gml:rangeSet>
         <gml:coverageFunction>...
         </gml:coverageFunction>
      </gml:MultiPointCoverage>
   </gml:using>
   <gml:target>
      <gml:MultiPointCoverage gml:id="ID">
         <gml:metaDataProperty>...
         </gml:metaDataProperty>
         <gml:description>string</gml:description>
         <gml:descriptionReference/>
         <gml:identifier codeSpace="http://www.example.com/">string</gml:identifier>
         <gml:name>string</gml:name>
         <gml:boundedBy>...
         </gml:boundedBy>
         <gml:location>...
         </gml:location>
         <gml:domainSet>...
         </gml:domainSet>
         <gml:rangeSet>...
         </gml:rangeSet>
         <gml:coverageFunction>...
         </gml:coverageFunction>
      </gml:MultiPointCoverage>
   </gml:target>
   <gml:resultOf>
      <!--any element-->
   </gml:resultOf>
</gml:Observation>