Project

General

Profile

1 10458 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.2.0">
3
	<annotation>
4
		<appinfo source="urn:ogc:specification:gml:schema-xsd:temporalReferenceSystems:3.2.0">temporalReferenceSystems.xsd</appinfo>
5
		<documentation>See ISO/DIS 19136 15.5.
6
A value in the time domain is measured relative to a temporal reference system. Common types of reference systems include calendars, ordinal temporal reference systems, and temporal coordinate systems (time elapsed since some epoch).  The primary temporal reference system for use with geographic information is the Gregorian Calendar and 24 hour local or Coordinated Universal Time (UTC), but special applications may entail the use of alternative reference systems.  The Julian day numbering system is a temporal coordinate system that has an origin earlier than any known calendar, at noon on 1 January 4713 BC in the Julian proleptic calendar, and is useful in transformations between dates in different calendars.
7
In GML seven concrete elements are used to describe temporal reference systems: gml:TimeReferenceSystem, gml:TimeCoordinateSystem, gml:TimeCalendar, gml:TimeCalendarEra, gml:TimeClock, gml:TimeOrdinalReferenceSystem, and gml:TimeOrdinalEra.</documentation>
8
	</annotation>
9
	<include schemaLocation="temporalTopology.xsd"/>
10
	<include schemaLocation="dictionary.xsd"/>
11
	<element name="TimeReferenceSystem" type="gml:TimeReferenceSystemType" substitutionGroup="gml:Definition">
12
		<annotation>
13
			<documentation>A reference system is characterized in terms of its domain of validity: the spatial and temporal extent over which it is applicable. The basic GML element for temporal reference systems is gml:TimeReferenceSystem.  Its content model extends gml:DefinitionType with one additional property, gml:domainOfValidity.</documentation>
14
		</annotation>
15
	</element>
16
	<complexType name="TimeReferenceSystemType">
17
		<complexContent>
18
			<extension base="gml:DefinitionType">
19
				<sequence>
20
					<element name="domainOfValidity" type="string"/>
21
				</sequence>
22
			</extension>
23
		</complexContent>
24
	</complexType>
25
	<element name="TimeCoordinateSystem" type="gml:TimeCoordinateSystemType" substitutionGroup="gml:TimeReferenceSystem">
26
		<annotation>
27
			<documentation>A temporal coordinate system shall be based on a continuous interval scale defined in terms of a single time interval.
28
The differences to ISO 19108 TM_CoordinateSystem are:
29
-	the origin is specified either using the property gml:originPosition whose value is a direct time position, or using the property gml:origin whose model is gml:TimeInstantPropertyType; this permits more flexibility in representation and also supports referring to a value fixed elsewhere;
30
-	the interval uses gml:TimeIntervalLengthType.
31
</documentation>
32
		</annotation>
33
	</element>
34
	<complexType name="TimeCoordinateSystemType">
35
		<complexContent>
36
			<extension base="gml:TimeReferenceSystemType">
37
				<sequence>
38
					<choice>
39
						<element name="originPosition" type="gml:TimePositionType"/>
40
						<element name="origin" type="gml:TimeInstantPropertyType"/>
41
					</choice>
42
					<element name="interval" type="gml:TimeIntervalLengthType"/>
43
				</sequence>
44
			</extension>
45
		</complexContent>
46
	</complexType>
47
	<element name="TimeCalendar" type="gml:TimeCalendarType" substitutionGroup="gml:TimeReferenceSystem">
48
		<annotation>
49
			<documentation>A calendar is a discrete temporal reference system that provides a basis for defining temporal position to a resolution of one day.
50
gml:TimeCalendar adds one property to those inherited from gml:TimeReferenceSystem. A gml:referenceFrame provides a link to a gml:TimeCalendarEra that it uses. A  gml:TimeCalendar may reference more than one calendar era.
51
The referenceFrame element follows the standard GML property model, allowing the association to be instantiated either using an inline description using the gml:TimeCalendarEra element, or a link to a gml:TimeCalendarEra which is explicit elsewhere.</documentation>
52
		</annotation>
53
	</element>
54
	<complexType name="TimeCalendarType">
55
		<complexContent>
56
			<extension base="gml:TimeReferenceSystemType">
57
				<sequence>
58
					<element name="referenceFrame" type="gml:TimeCalendarEraPropertyType" maxOccurs="unbounded"/>
59
				</sequence>
60
			</extension>
61
		</complexContent>
62
	</complexType>
63
	<element name="TimeCalendarEra" type="gml:TimeCalendarEraType">
64
		<annotation>
65
			<documentation>gml:TimeCalendarEra inherits basic properties from gml:DefinitionType and has the following additional properties:
66
-	gml:referenceEvent is the name or description of a mythical or historic event which fixes the position of the base scale of the calendar era.  This is given as text or using a link to description held elsewhere.
67
-	gml:referenceDate specifies the date of the referenceEvent expressed as a date in the given calendar.  In most calendars, this date is the origin (i.e., the first day) of the scale, but this is not always true.
68
-	gml:julianReference specifies the Julian date that corresponds to the reference date.  The Julian day number is an integer value; the Julian date is a decimal value that allows greater resolution.  Transforming calendar dates to and from Julian dates provides a relatively simple basis for transforming dates from one calendar to another.
69
-	gml:epochOfUse is the period for which the calendar era was used as a basis for dating.</documentation>
70
		</annotation>
71
	</element>
72
	<complexType name="TimeCalendarEraType">
73
		<complexContent>
74
			<extension base="gml:DefinitionType">
75
				<sequence>
76
					<element name="referenceEvent" type="gml:StringOrRefType"/>
77
					<element name="referenceDate" type="gml:CalDate"/>
78
					<element name="julianReference" type="decimal"/>
79
					<element name="epochOfUse" type="gml:TimePeriodPropertyType"/>
80
				</sequence>
81
			</extension>
82
		</complexContent>
83
	</complexType>
84
	<complexType name="TimeCalendarPropertyType">
85
		<annotation>
86
			<documentation>gml:TimeCalendarPropertyType provides for associating a gml:TimeCalendar with an object.</documentation>
87
		</annotation>
88
		<sequence minOccurs="0">
89
			<element ref="gml:TimeCalendar"/>
90
		</sequence>
91
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
92
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
93
	</complexType>
94
	<complexType name="TimeCalendarEraPropertyType">
95
		<annotation>
96
			<documentation>gml:TimeCalendarEraPropertyType provides for associating a gml:TimeCalendarEra with an object.</documentation>
97
		</annotation>
98
		<sequence minOccurs="0">
99
			<element ref="gml:TimeCalendarEra"/>
100
		</sequence>
101
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
102
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
103
	</complexType>
104
	<element name="TimeClock" type="gml:TimeClockType" substitutionGroup="gml:TimeReferenceSystem">
105
		<annotation>
106
			<documentation>A clock provides a basis for defining temporal position within a day. A clock shall be used with a calendar in order to provide a complete description of a temporal position within a specific day.
107
gml:TimeClock adds the following properties to those inherited from gml:TimeReferenceSystemType:
108
-	gml:referenceEvent is the name or description of an event, such as solar noon or sunrise, which fixes the position of the base scale of the clock.
109
-	gml:referenceTime specifies the time of day associated with the reference event expressed as a time of day in the given clock. The reference time is usually the origin of the clock scale.
110
-	gml:utcReference specifies the 24 hour local or UTC time that corresponds to the reference time.
111
-	gml:dateBasis contains or references the calendars that use this clock.</documentation>
112
		</annotation>
113
	</element>
114
	<complexType name="TimeClockType" final="#all">
115
		<complexContent>
116
			<extension base="gml:TimeReferenceSystemType">
117
				<sequence>
118
					<element name="referenceEvent" type="gml:StringOrRefType"/>
119
					<element name="referenceTime" type="time"/>
120
					<element name="utcReference" type="time"/>
121
					<element name="dateBasis" type="gml:TimeCalendarPropertyType" minOccurs="0" maxOccurs="unbounded"/>
122
				</sequence>
123
			</extension>
124
		</complexContent>
125
	</complexType>
126
	<complexType name="TimeClockPropertyType">
127
		<annotation>
128
			<documentation>gml:TimeClockPropertyType provides for associating a gml:TimeClock with an object.</documentation>
129
		</annotation>
130
		<sequence minOccurs="0">
131
			<element ref="gml:TimeClock"/>
132
		</sequence>
133
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
134
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
135
	</complexType>
136
	<element name="TimeOrdinalReferenceSystem" type="gml:TimeOrdinalReferenceSystemType" substitutionGroup="gml:TimeReferenceSystem">
137
		<annotation>
138
			<documentation>In some applications of geographic information — such as geology and archaeology — relative position in time is known more precisely than absolute time or duration. The order of events in time can be well established, but the magnitude of the intervals between them cannot be accurately determined; in such cases, the use of an ordinal temporal reference system is appropriate. An ordinal temporal reference system is composed of a sequence of named coterminous eras, which may in turn be composed of sequences of member eras at a finer scale, giving the whole a hierarchical structure of eras of verying resolution.
139
An ordinal temporal reference system whose component eras are not further subdivided is effectively a temporal topological complex constrained to be a linear graph. An ordinal temporal reference system some or all of whose component eras are subdivided is effectively a temporal topological complex with the constraint that parallel branches may only be constructed in pairs where one is a single temporal ordinal era and the other is a sequence of temporal ordinal eras that are called "members" of the "group". This constraint means that within a single temporal ordinal reference system, the relative position of all temporal ordinal eras is unambiguous.
140
The positions of the beginning and end of a given era may calibrate the relative time scale.
141
gml:TimeOrdinalReferenceSystem adds one or more gml:component properties to the generic temporal reference system model.</documentation>
142
		</annotation>
143
	</element>
144
	<complexType name="TimeOrdinalReferenceSystemType">
145
		<complexContent>
146
			<extension base="gml:TimeReferenceSystemType">
147
				<sequence>
148
					<element name="component" type="gml:TimeOrdinalEraPropertyType" maxOccurs="unbounded"/>
149
				</sequence>
150
			</extension>
151
		</complexContent>
152
	</complexType>
153
	<element name="TimeOrdinalEra" type="gml:TimeOrdinalEraType">
154
		<annotation>
155
			<documentation>Its content model follows the pattern of gml:TimeEdge, inheriting standard properties from gml:DefinitionType, and adding gml:start, gml:end and gml:extent properties, a set of gml:member properties which indicate ordered gml:TimeOrdinalEra elements, and a gml:group property which points to the parent era.
156
The recursive inclusion of gml:TimeOrdinalEra elements allow the construction of an arbitrary depth hierarchical ordinal reference schema, such that an ordinal era at a given level of the hierarchy includes a sequence of shorter, coterminous ordinal eras.</documentation>
157
		</annotation>
158
	</element>
159
	<complexType name="TimeOrdinalEraType">
160
		<complexContent>
161
			<extension base="gml:DefinitionType">
162
				<sequence>
163
					<element name="relatedTime" type="gml:RelatedTimeType" minOccurs="0" maxOccurs="unbounded"/>
164
					<element name="start" type="gml:TimeNodePropertyType"/>
165
					<element name="end" type="gml:TimeNodePropertyType"/>
166
					<element name="extent" type="gml:TimePeriodPropertyType" minOccurs="0"/>
167
					<element name="member" type="gml:TimeOrdinalEraPropertyType" minOccurs="0" maxOccurs="unbounded"/>
168
					<element name="group" type="gml:ReferenceType" minOccurs="0"/>
169
				</sequence>
170
			</extension>
171
		</complexContent>
172
	</complexType>
173
	<complexType name="TimeOrdinalEraPropertyType">
174
		<annotation>
175
			<documentation>gml:TimeOrdinalEraPropertyType provides for associating a gml:TimeOrdinalEra with an object.</documentation>
176
		</annotation>
177
		<sequence minOccurs="0">
178
			<element ref="gml:TimeOrdinalEra"/>
179
		</sequence>
180
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
181
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
182
	</complexType>
183
</schema>