Project

General

Profile

1 9238 tao
<?xml version="1.0" encoding="UTF-8"?>
2
<schema targetNamespace="http://www.opengis.net/gml" xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.1.1.2">
3
	<annotation>
4
		<appinfo source="urn:opengis:specification:gml:schema-xsd:dynamicFeature:3.1.1"/>
5
		<documentation xml:lang="en">Basic support for tracking moving objects and objects with changing state.
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
	<include schemaLocation="gml.xsd"/>
14
	<include schemaLocation="feature.xsd"/>
15
	<include schemaLocation="direction.xsd"/>
16
	<!-- ================================================================== -->
17
	<element name="dataSource" type="gml:StringOrRefType"/>
18
	<element name="status" type="gml:StringOrRefType"/>
19
	<!-- ================================================================== -->
20
	<element name="_TimeSlice" type="gml:AbstractTimeSliceType" abstract="true" substitutionGroup="gml:_GML"/>
21
	<!-- ===================================== -->
22
	<complexType name="AbstractTimeSliceType" abstract="true">
23
		<annotation>
24
			<documentation xml:lang="en">A timeslice encapsulates the time-varying properties of a dynamic feature--it
25
        must be extended to represent a timestamped projection of a feature. The dataSource
26
        property describes how the temporal data was acquired.</documentation>
27
		</annotation>
28
		<complexContent>
29
			<extension base="gml:AbstractGMLType">
30
				<sequence>
31
					<element ref="gml:validTime"/>
32
					<element ref="gml:dataSource" minOccurs="0"/>
33
				</sequence>
34
			</extension>
35
		</complexContent>
36
	</complexType>
37
	<!-- ================================================================== -->
38
	<element name="MovingObjectStatus" type="gml:MovingObjectStatusType" substitutionGroup="gml:_TimeSlice"/>
39
	<!-- ===================================== -->
40
	<complexType name="MovingObjectStatusType">
41
		<annotation>
42
			<documentation xml:lang="en">This type encapsulates various dynamic properties of moving objects
43
             (points, lines, regions). It is useful for dealing with features whose
44
             geometry or topology changes over time.</documentation>
45
		</annotation>
46
		<complexContent>
47
			<extension base="gml:AbstractTimeSliceType">
48
				<sequence>
49
					<element ref="gml:location"/>
50
					<element name="speed" type="gml:MeasureType" minOccurs="0"/>
51
					<element name="bearing" type="gml:DirectionPropertyType" minOccurs="0"/>
52
					<element name="acceleration" type="gml:MeasureType" minOccurs="0"/>
53
					<element name="elevation" type="gml:MeasureType" minOccurs="0"/>
54
					<element ref="gml:status" minOccurs="0"/>
55
				</sequence>
56
			</extension>
57
		</complexContent>
58
	</complexType>
59
	<!-- ================================================================== -->
60
	<element name="history" type="gml:HistoryPropertyType"/>
61
	<!-- ===================================== -->
62
	<complexType name="HistoryPropertyType">
63
		<annotation>
64
			<documentation xml:lang="en">The history relationship associates a feature with a sequence of TimeSlice instances.</documentation>
65
		</annotation>
66
		<sequence maxOccurs="unbounded">
67
			<element ref="gml:_TimeSlice"/>
68
		</sequence>
69
	</complexType>
70
	<!-- ================================================================== -->
71
	<element name="track" type="gml:TrackType" substitutionGroup="gml:history"/>
72
	<!-- ===================================== -->
73
	<complexType name="TrackType">
74
		<annotation>
75
			<documentation xml:lang="en">The track of a moving object is a sequence of specialized timeslices        that indicate the status of the object.</documentation>
76
		</annotation>
77
		<complexContent>
78
			<restriction base="gml:HistoryPropertyType">
79
				<sequence maxOccurs="unbounded">
80
					<element ref="gml:MovingObjectStatus"/>
81
				</sequence>
82
			</restriction>
83
		</complexContent>
84
	</complexType>
85
	<!-- ================================================================== -->
86
	<group name="dynamicProperties">
87
		<sequence>
88
			<element ref="gml:validTime" minOccurs="0"/>
89
			<element ref="gml:history" minOccurs="0"/>
90
			<element ref="gml:dataSource" minOccurs="0"/>
91
		</sequence>
92
	</group>
93
	<!-- ================================================================== -->
94
	<complexType name="DynamicFeatureType">
95
		<annotation>
96
			<documentation>A dynamic feature may possess a history and/or a timestamp.</documentation>
97
		</annotation>
98
		<complexContent>
99
			<extension base="gml:AbstractFeatureType">
100
				<group ref="gml:dynamicProperties"/>
101
			</extension>
102
		</complexContent>
103
	</complexType>
104
	<!-- ===================================== -->
105
	<complexType name="DynamicFeatureCollectionType">
106
		<annotation>
107
			<documentation>A dynamic feature collection may possess a history and/or a timestamp.</documentation>
108
		</annotation>
109
		<complexContent>
110
			<extension base="gml:FeatureCollectionType">
111
				<group ref="gml:dynamicProperties"/>
112
			</extension>
113
		</complexContent>
114
	</complexType>
115
	<!-- ===================================== -->
116
</schema>