Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" 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:temporalTopology:3.1.1"/>
5
		<documentation xml:lang="en">The temporal topology schema for ISO19136 provides constructs for handling topological complexes and 
6
		temporal feature relationships. 
7
		Temporal geometric characteristics of features are represented as instants and periods. 
8
		While, temporal context of features that does not relate to the position of time is described as connectivity relationships 
9
		among instants and periods. These relationships are called temporal topology as they do not change in time, 
10
		as long as the direction of time does not change. 
11
		It is used effectively in the case of describing a family tree expressing evolution of species, an ecological cycle, 
12
		a lineage of lands or buildings, or a history of separation and merger of administrative boundaries.
13
		This schema reflects a partial yet consistent implementation of the model described in ISO 19108:2002.
14
		
15
		GML is an OGC Standard.
16
		Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
17
		To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
18
		</documentation>
19
	</annotation>
20
	<!-- ===================================== -->
21
	<include schemaLocation="gml.xsd"/>
22
	<include schemaLocation="temporal.xsd"/>
23
	<!-- ===================================== -->
24
	<!-- ================================================================== -->
25
	<!-- == TimeTopologyComplex == -->
26
	<!-- ================================================================== -->
27
	<element name="TimeTopologyComplex" type="gml:TimeTopologyComplexType" substitutionGroup="gml:_TimeComplex">
28
		<annotation>
29
			<documentation xml:lang="en">This element represents temporal topology complex. It shall be the connected acyclic directed graph composed of time nodes and time edges.</documentation>
30
		</annotation>
31
	</element>
32
	<!-- ================================================================== -->
33
	<complexType name="TimeTopologyComplexType">
34
		<annotation>
35
			<documentation xml:lang="en">A temporal topology complex.</documentation>
36
		</annotation>
37
		<complexContent>
38
			<extension base="gml:AbstractTimeComplexType">
39
				<sequence>
40
					<element name="primitive" type="gml:TimeTopologyPrimitivePropertyType" maxOccurs="unbounded"/>
41
				</sequence>
42
			</extension>
43
		</complexContent>
44
	</complexType>
45
	<!-- ================================================================== -->
46
	<complexType name="TimeTopologyComplexPropertyType">
47
		<annotation>
48
			<documentation>A time topology complex property can either be any time topology complex element
49
			 encapsulated in an element of this type or an XLink reference to a remote time topology complex element 
50
			 (where remote includes elements located elsewhere in the same document). 
51
			 Note that either the reference or the contained element must be given, but not both or none.</documentation>
52
		</annotation>
53
		<sequence minOccurs="0">
54
			<element ref="gml:TimeTopologyComplex"/>
55
		</sequence>
56
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
57
	</complexType>
58
	<!-- ================================================================== -->
59
	<!--  == TimeTopologyPrimitive == -->
60
	<!-- ================================================================== -->
61
	<element name="_TimeTopologyPrimitive" type="gml:AbstractTimeTopologyPrimitiveType" abstract="true" substitutionGroup="gml:_TimePrimitive">
62
		<annotation>
63
			<documentation xml:lang="en">This abstract element acts as the head of the substitution group for temporal topology primitives.</documentation>
64
		</annotation>
65
	</element>
66
	<!-- ================================================================== -->
67
	<complexType name="AbstractTimeTopologyPrimitiveType" abstract="true">
68
		<annotation>
69
			<documentation xml:lang="en">The element "complex" carries a reference to the complex containing this primitive.</documentation>
70
		</annotation>
71
		<complexContent>
72
			<extension base="gml:AbstractTimePrimitiveType">
73
				<sequence>
74
					<element name="complex" type="gml:ReferenceType" minOccurs="0"/>
75
				</sequence>
76
			</extension>
77
		</complexContent>
78
	</complexType>
79
	<!-- ================================================================== -->
80
	<complexType name="TimeTopologyPrimitivePropertyType">
81
		<annotation>
82
			<documentation>A time topology primitive property can either hold any time topology complex element
83
			 eor carry an XLink reference to a remote time topology complex element 
84
			 (where remote includes elements located elsewhere in the same document). 
85
			 Note that either the reference or the contained element must be given, but not both or none.</documentation>
86
		</annotation>
87
		<sequence minOccurs="0">
88
			<element ref="gml:_TimeTopologyPrimitive"/>
89
		</sequence>
90
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
91
	</complexType>
92
	<!-- ================================================================== -->
93
	<!--  ======= TimeNode ======= -->
94
	<!-- ================================================================== -->
95
	<element name="TimeNode" type="gml:TimeNodeType" substitutionGroup="gml:_TimeTopologyPrimitive">
96
		<annotation>
97
			<documentation xml:lang="en">"TimeNode" is a zero dimensional temporal topology primitive, 
98
			expresses a position in topological time, and is a start and an end of time edge, which represents states of time.
99
			Time node may be isolated. However, it cannot describe the ordering relationships with other primitives. 
100
			An isolated node may not be an element of any temporal topology complex.</documentation>
101
		</annotation>
102
	</element>
103
	<!-- ================================================================== -->
104
	<complexType name="TimeNodeType">
105
		<annotation>
106
			<documentation xml:lang="en">Type declaration of the element "TimeNode".</documentation>
107
		</annotation>
108
		<complexContent>
109
			<extension base="gml:AbstractTimeTopologyPrimitiveType">
110
				<sequence>
111
					<element name="previousEdge" type="gml:TimeEdgePropertyType" minOccurs="0" maxOccurs="unbounded"/>
112
					<element name="nextEdge" type="gml:TimeEdgePropertyType" minOccurs="0" maxOccurs="unbounded"/>
113
					<element name="position" type="gml:TimeInstantPropertyType" minOccurs="0"/>
114
				</sequence>
115
			</extension>
116
		</complexContent>
117
	</complexType>
118
	<!-- ================================================================== -->
119
	<complexType name="TimeNodePropertyType">
120
		<annotation>
121
			<documentation>A time node property can either be any time node element encapsulated in an element of this type 
122
			or an XLink reference to a remote time node element (where remote includes elements located elsewhere in the same document). 
123
			Note that either the reference or the contained element must be given, but not both or none.</documentation>
124
		</annotation>
125
		<sequence minOccurs="0">
126
			<element ref="gml:TimeNode"/>
127
		</sequence>
128
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
129
	</complexType>
130
	<!-- ================================================================== -->
131
	<!--  ======= TimeEdge ======= -->
132
	<!-- ================================================================== -->
133
	<element name="TimeEdge" type="gml:TimeEdgeType" substitutionGroup="gml:_TimeTopologyPrimitive">
134
		<annotation>
135
			<documentation xml:lang="en">TimeEdge is one dimensional temporal topology primitive,
136
			 expresses a state in topological time. It has an orientation from its start toward the end, 
137
			 and its boundaries shall associate with two different time nodes.</documentation>
138
		</annotation>
139
	</element>
140
	<!-- ================================================================== -->
141
	<complexType name="TimeEdgeType">
142
		<annotation>
143
			<documentation xml:lang="en">Type declaration of the element "TimeEdge".</documentation>
144
		</annotation>
145
		<complexContent>
146
			<extension base="gml:AbstractTimeTopologyPrimitiveType">
147
				<sequence>
148
					<element name="start" type="gml:TimeNodePropertyType"/>
149
					<element name="end" type="gml:TimeNodePropertyType"/>
150
					<element name="extent" type="gml:TimePeriodPropertyType" minOccurs="0"/>
151
				</sequence>
152
			</extension>
153
		</complexContent>
154
	</complexType>
155
	<!-- ================================================================== -->
156
	<complexType name="TimeEdgePropertyType">
157
		<annotation>
158
			<documentation>A time edge property can either be any time edge element encapsulated in an element of this type 
159
			or an XLink reference to a remote time edge element (where remote includes elements located elsewhere in the same document). 
160
			Note that either the reference or the contained element must be given, but not both or none.</documentation>
161
		</annotation>
162
		<sequence minOccurs="0">
163
			<element ref="gml:TimeEdge"/>
164
		</sequence>
165
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
166
	</complexType>
167
	<!-- ================================================================== -->
168
	<!-- ===       Succession        === -->
169
	<!-- ================================================================== -->
170
	<simpleType name="SuccessionType">
171
		<annotation>
172
			<documentation>Feature succession is a semantic relationship derived from evaluation of observer, and 
173
			Feature Substitution, Feature Division and Feature Fusion are defined as associations between 
174
			previous features and next features in the temporal context. 
175
			Successions shall be represented in either following two ways. 
176
			* define a temporal topological complex element as a feature element 
177
			* define an association same as temporal topological complex between features.</documentation>
178
		</annotation>
179
		<restriction base="string">
180
			<enumeration value="substitution"/>
181
			<enumeration value="division"/>
182
			<enumeration value="fusion"/>
183
			<enumeration value="initiation"/>
184
		</restriction>
185
	</simpleType>
186
	<!-- ================================================================== -->
187
</schema>
(26-26/29)