1 |
10458
|
tao
|
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
|
|
<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.2.0">
|
3 |
|
|
<annotation>
|
4 |
|
|
<appinfo source="urn:ogc:specification:gml:schema-xsd:observation:3.2.0">observation.xsd</appinfo>
|
5 |
|
|
<documentation>See ISO/DIS 19136 Clause 19.
|
6 |
|
|
A GML observation models the act of observing, often with a camera, a person or some form of instrument. An observation feature describes the “metadata” associated with an information capture event, together with a value for the result of the observation. This covers a broad range of cases, from a tourist photo (not the photo but the act of taking the photo), to images acquired by space borne sensors or the measurement of a temperature 5 meters below the surfaces of a lake.
|
7 |
|
|
The basic structures introduced in this schema are intended to serve as the foundation for more comprehensive schemas for scientific, technical and engineering measurement schemas.
|
8 |
|
|
</documentation>
|
9 |
|
|
</annotation>
|
10 |
|
|
<include schemaLocation="feature.xsd"/>
|
11 |
|
|
<include schemaLocation="direction.xsd"/>
|
12 |
|
|
<include schemaLocation="valueObjects.xsd"/>
|
13 |
|
|
<element name="Observation" type="gml:ObservationType" substitutionGroup="gml:AbstractFeature">
|
14 |
|
|
<annotation>
|
15 |
|
|
<documentation>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.
|
16 |
|
|
The gml:validTime element describes the time of the observation. Note that this may be a time instant or a time period.
|
17 |
|
|
The gml:using property contains or references a description of a sensor, instrument or procedure used for the observation.
|
18 |
|
|
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.
|
19 |
|
|
The gml:subject element is provided as a convenient synonym for gml:target. This is the term commonly used in phtotography.
|
20 |
|
|
The gml:resultOf property indicates the result of the observation. The value may be inline, or a reference to a value elsewhere. If the value is inline, it shall be a member of the gml:AbstractObject substitution group.
|
21 |
|
|
</documentation>
|
22 |
|
|
</annotation>
|
23 |
|
|
</element>
|
24 |
|
|
<complexType name="ObservationType">
|
25 |
|
|
<complexContent>
|
26 |
|
|
<extension base="gml:AbstractFeatureType">
|
27 |
|
|
<sequence>
|
28 |
|
|
<element ref="gml:validTime"/>
|
29 |
|
|
<element ref="gml:using" minOccurs="0"/>
|
30 |
|
|
<element ref="gml:target" minOccurs="0"/>
|
31 |
|
|
<element ref="gml:resultOf"/>
|
32 |
|
|
</sequence>
|
33 |
|
|
</extension>
|
34 |
|
|
</complexContent>
|
35 |
|
|
</complexType>
|
36 |
|
|
<element name="using" type="gml:ProcedurePropertyType"/>
|
37 |
|
|
<complexType name="ProcedurePropertyType">
|
38 |
|
|
<sequence minOccurs="0">
|
39 |
|
|
<element ref="gml:AbstractFeature"/>
|
40 |
|
|
</sequence>
|
41 |
|
|
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
|
42 |
|
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
43 |
|
|
</complexType>
|
44 |
|
|
<element name="target" type="gml:TargetPropertyType"/>
|
45 |
|
|
<element name="subject" type="gml:TargetPropertyType" substitutionGroup="gml:target"/>
|
46 |
|
|
<complexType name="TargetPropertyType">
|
47 |
|
|
<choice minOccurs="0">
|
48 |
|
|
<element ref="gml:AbstractFeature"/>
|
49 |
|
|
<element ref="gml:AbstractGeometry"/>
|
50 |
|
|
</choice>
|
51 |
|
|
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
|
52 |
|
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
53 |
|
|
</complexType>
|
54 |
|
|
<element name="resultOf" type="gml:ResultType"/>
|
55 |
|
|
<complexType name="ResultType">
|
56 |
|
|
<sequence minOccurs="0">
|
57 |
|
|
<element ref="gml:AbstractObject"/>
|
58 |
|
|
</sequence>
|
59 |
|
|
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
|
60 |
|
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
61 |
|
|
</complexType>
|
62 |
|
|
<element name="DirectedObservation" type="gml:DirectedObservationType" substitutionGroup="gml:Observation">
|
63 |
|
|
<annotation>
|
64 |
|
|
<documentation>A gml:DirectedObservation is the same as an observation except that it adds an additional gml:direction property. This is the direction in which the observation was acquired. Clearly this applies only to certain types of observations such as visual observations by people, or observations obtained from terrestrial cameras.</documentation>
|
65 |
|
|
</annotation>
|
66 |
|
|
</element>
|
67 |
|
|
<complexType name="DirectedObservationType">
|
68 |
|
|
<complexContent>
|
69 |
|
|
<extension base="gml:ObservationType">
|
70 |
|
|
<sequence>
|
71 |
|
|
<element ref="gml:direction"/>
|
72 |
|
|
</sequence>
|
73 |
|
|
</extension>
|
74 |
|
|
</complexContent>
|
75 |
|
|
</complexType>
|
76 |
|
|
<element name="DirectedObservationAtDistance" type="gml:DirectedObservationAtDistanceType" substitutionGroup="gml:DirectedObservation">
|
77 |
|
|
<annotation>
|
78 |
|
|
<documentation>gml:DirectedObservationAtDistance adds an additional distance property. This is the distance from the observer to the subject of the observation. Clearly this applies only to certain types of observations such as visual observations by people, or observations obtained from terrestrial cameras.</documentation>
|
79 |
|
|
</annotation>
|
80 |
|
|
</element>
|
81 |
|
|
<complexType name="DirectedObservationAtDistanceType">
|
82 |
|
|
<complexContent>
|
83 |
|
|
<extension base="gml:DirectedObservationType">
|
84 |
|
|
<sequence>
|
85 |
|
|
<element name="distance" type="gml:MeasureType"/>
|
86 |
|
|
</sequence>
|
87 |
|
|
</extension>
|
88 |
|
|
</complexContent>
|
89 |
|
|
</complexType>
|
90 |
|
|
</schema>
|