1
|
<?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.1.1.2">
|
3
|
<annotation>
|
4
|
<appinfo source="urn:opengis:specification:gml:schema-xsd:observation:3.1.1">observation.xsd</appinfo>
|
5
|
<documentation>Observation schema for GML 3.1
|
6
|
|
7
|
GML is an OGC Standard.
|
8
|
Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
|
9
|
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
|
10
|
</documentation>
|
11
|
</annotation>
|
12
|
<!-- =================================================================== -->
|
13
|
<!-- === includes and imports ============================================ -->
|
14
|
<include schemaLocation="gml.xsd"/>
|
15
|
<include schemaLocation="feature.xsd"/>
|
16
|
<include schemaLocation="direction.xsd"/>
|
17
|
<include schemaLocation="valueObjects.xsd"/>
|
18
|
<!-- =================================================================== -->
|
19
|
<!-- =================== properties =================================== -->
|
20
|
<element name="using" type="gml:FeaturePropertyType">
|
21
|
<annotation>
|
22
|
<documentation>This element contains or points to a description of a sensor, instrument or procedure used for the observation</documentation>
|
23
|
</annotation>
|
24
|
</element>
|
25
|
<!-- =================================================================== -->
|
26
|
<element name="target" type="gml:TargetPropertyType">
|
27
|
<annotation>
|
28
|
<documentation>This element contains or points to the specimen, region or station which is the object of the observation</documentation>
|
29
|
</annotation>
|
30
|
</element>
|
31
|
<!-- =================================================================== -->
|
32
|
<element name="subject" type="gml:TargetPropertyType" substitutionGroup="gml:target">
|
33
|
<annotation>
|
34
|
<documentation>Synonym for target - common word used for photographs</documentation>
|
35
|
</annotation>
|
36
|
</element>
|
37
|
<!-- =================================================================== -->
|
38
|
<complexType name="TargetPropertyType">
|
39
|
<annotation>
|
40
|
<documentation>Container for an object representing the target or subject of an observation.</documentation>
|
41
|
</annotation>
|
42
|
<sequence minOccurs="0">
|
43
|
<choice>
|
44
|
<element ref="gml:_Feature"/>
|
45
|
<element ref="gml:_Geometry"/>
|
46
|
</choice>
|
47
|
</sequence>
|
48
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
49
|
</complexType>
|
50
|
<!-- =================================================================== -->
|
51
|
<element name="resultOf" type="gml:AssociationType">
|
52
|
<annotation>
|
53
|
<documentation>The result of the observation: an image, external object, etc</documentation>
|
54
|
</annotation>
|
55
|
</element>
|
56
|
<!-- =================================================================== -->
|
57
|
<!-- ===================== Features =========================== -->
|
58
|
<element name="Observation" type="gml:ObservationType" substitutionGroup="gml:_Feature"/>
|
59
|
<!-- =========================================================== -->
|
60
|
<complexType name="ObservationType">
|
61
|
<complexContent>
|
62
|
<extension base="gml:AbstractFeatureType">
|
63
|
<sequence>
|
64
|
<element ref="gml:validTime"/>
|
65
|
<element ref="gml:using" minOccurs="0"/>
|
66
|
<element ref="gml:target" minOccurs="0"/>
|
67
|
<element ref="gml:resultOf"/>
|
68
|
</sequence>
|
69
|
</extension>
|
70
|
</complexContent>
|
71
|
</complexType>
|
72
|
<!-- =========================================================== -->
|
73
|
<element name="DirectedObservation" type="gml:DirectedObservationType" substitutionGroup="gml:Observation"/>
|
74
|
<!-- =========================================================== -->
|
75
|
<complexType name="DirectedObservationType">
|
76
|
<complexContent>
|
77
|
<extension base="gml:ObservationType">
|
78
|
<sequence>
|
79
|
<element ref="gml:direction"/>
|
80
|
</sequence>
|
81
|
</extension>
|
82
|
</complexContent>
|
83
|
</complexType>
|
84
|
<!-- =========================================================== -->
|
85
|
<element name="DirectedObservationAtDistance" type="gml:DirectedObservationAtDistanceType" substitutionGroup="gml:DirectedObservation"/>
|
86
|
<!-- =========================================================== -->
|
87
|
<complexType name="DirectedObservationAtDistanceType">
|
88
|
<complexContent>
|
89
|
<extension base="gml:DirectedObservationType">
|
90
|
<sequence>
|
91
|
<element name="distance" type="gml:MeasureType"/>
|
92
|
</sequence>
|
93
|
</extension>
|
94
|
</complexContent>
|
95
|
</complexType>
|
96
|
<!-- =========================================================== -->
|
97
|
</schema>
|