Statistics
| Revision:

root / trunk / libraries / libGPE-GML / testdata / schemas / 3.1.1 / base / dynamicFeature.xsd @ 11160

History | View | Annotate | Download (5.04 KB)

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