Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<schema targetNamespace="http://www.opengis.net/gml/3.2" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.2.1.2">
3
	<annotation>
4
		<appinfo source="urn:x-ogc:specification:gml:schema-xsd:temporalReferenceSystems:3.2.1">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.
8

    
9
GML is an OGC Standard.
10
Copyright (c) 2007,2010 Open Geospatial Consortium.
11
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
12
		</documentation>
13
	</annotation>
14
	<include schemaLocation="gml.xsd"/>
15
	<include schemaLocation="temporalTopology.xsd"/>
16
	<include schemaLocation="dictionary.xsd"/>
17
	<element name="TimeReferenceSystem" type="gml:TimeReferenceSystemType" substitutionGroup="gml:Definition">
18
		<annotation>
19
			<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>
20
		</annotation>
21
	</element>
22
	<complexType name="TimeReferenceSystemType">
23
		<complexContent>
24
			<extension base="gml:DefinitionType">
25
				<sequence>
26
					<element name="domainOfValidity" type="string"/>
27
				</sequence>
28
			</extension>
29
		</complexContent>
30
	</complexType>
31
	<element name="TimeCoordinateSystem" type="gml:TimeCoordinateSystemType" substitutionGroup="gml:TimeReferenceSystem">
32
		<annotation>
33
			<documentation>A temporal coordinate system shall be based on a continuous interval scale defined in terms of a single time interval.
34
The differences to ISO 19108 TM_CoordinateSystem are:
35
-	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;
36
-	the interval uses gml:TimeIntervalLengthType.
37
</documentation>
38
		</annotation>
39
	</element>
40
	<complexType name="TimeCoordinateSystemType">
41
		<complexContent>
42
			<extension base="gml:TimeReferenceSystemType">
43
				<sequence>
44
					<choice>
45
						<element name="originPosition" type="gml:TimePositionType"/>
46
						<element name="origin" type="gml:TimeInstantPropertyType"/>
47
					</choice>
48
					<element name="interval" type="gml:TimeIntervalLengthType"/>
49
				</sequence>
50
			</extension>
51
		</complexContent>
52
	</complexType>
53
	<element name="TimeCalendar" type="gml:TimeCalendarType" substitutionGroup="gml:TimeReferenceSystem">
54
		<annotation>
55
			<documentation>A calendar is a discrete temporal reference system that provides a basis for defining temporal position to a resolution of one day.
56
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. 
57
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>
58
		</annotation>
59
	</element>
60
	<complexType name="TimeCalendarType">
61
		<complexContent>
62
			<extension base="gml:TimeReferenceSystemType">
63
				<sequence>
64
					<element name="referenceFrame" type="gml:TimeCalendarEraPropertyType" maxOccurs="unbounded"/>
65
				</sequence>
66
			</extension>
67
		</complexContent>
68
	</complexType>
69
	<element name="TimeCalendarEra" type="gml:TimeCalendarEraType">
70
		<annotation>
71
			<documentation>gml:TimeCalendarEra inherits basic properties from gml:DefinitionType and has the following additional properties:
72
-	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.
73
-	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.
74
-	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.
75
-	gml:epochOfUse is the period for which the calendar era was used as a basis for dating.</documentation>
76
		</annotation>
77
	</element>
78
	<complexType name="TimeCalendarEraType">
79
		<complexContent>
80
			<extension base="gml:DefinitionType">
81
				<sequence>
82
					<element name="referenceEvent" type="gml:StringOrRefType"/>
83
					<element name="referenceDate" type="gml:CalDate"/>
84
					<element name="julianReference" type="decimal"/>
85
					<element name="epochOfUse" type="gml:TimePeriodPropertyType"/>
86
				</sequence>
87
			</extension>
88
		</complexContent>
89
	</complexType>
90
	<complexType name="TimeCalendarPropertyType">
91
		<annotation>
92
			<documentation>gml:TimeCalendarPropertyType provides for associating a gml:TimeCalendar with an object.</documentation>
93
		</annotation>
94
		<sequence minOccurs="0">
95
			<element ref="gml:TimeCalendar"/>
96
		</sequence>
97
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
98
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
99
	</complexType>
100
	<complexType name="TimeCalendarEraPropertyType">
101
		<annotation>
102
			<documentation>gml:TimeCalendarEraPropertyType provides for associating a gml:TimeCalendarEra with an object.</documentation>
103
		</annotation>
104
		<sequence minOccurs="0">
105
			<element ref="gml:TimeCalendarEra"/>
106
		</sequence>
107
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
108
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
109
	</complexType>
110
	<element name="TimeClock" type="gml:TimeClockType" substitutionGroup="gml:TimeReferenceSystem">
111
		<annotation>
112
			<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.
113
gml:TimeClock adds the following properties to those inherited from gml:TimeReferenceSystemType:
114
-	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.
115
-	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. 
116
-	gml:utcReference specifies the 24 hour local or UTC time that corresponds to the reference time.
117
-	gml:dateBasis contains or references the calendars that use this clock.</documentation>
118
		</annotation>
119
	</element>
120
	<complexType name="TimeClockType" final="#all">
121
		<complexContent>
122
			<extension base="gml:TimeReferenceSystemType">
123
				<sequence>
124
					<element name="referenceEvent" type="gml:StringOrRefType"/>
125
					<element name="referenceTime" type="time"/>
126
					<element name="utcReference" type="time"/>
127
					<element name="dateBasis" type="gml:TimeCalendarPropertyType" minOccurs="0" maxOccurs="unbounded"/>
128
				</sequence>
129
			</extension>
130
		</complexContent>
131
	</complexType>
132
	<complexType name="TimeClockPropertyType">
133
		<annotation>
134
			<documentation>gml:TimeClockPropertyType provides for associating a gml:TimeClock with an object.</documentation>
135
		</annotation>
136
		<sequence minOccurs="0">
137
			<element ref="gml:TimeClock"/>
138
		</sequence>
139
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
140
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
141
	</complexType>
142
	<element name="TimeOrdinalReferenceSystem" type="gml:TimeOrdinalReferenceSystemType" substitutionGroup="gml:TimeReferenceSystem">
143
		<annotation>
144
			<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. 
145
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.  
146
The positions of the beginning and end of a given era may calibrate the relative time scale.
147
gml:TimeOrdinalReferenceSystem adds one or more gml:component properties to the generic temporal reference system model.</documentation>
148
		</annotation>
149
	</element>
150
	<complexType name="TimeOrdinalReferenceSystemType">
151
		<complexContent>
152
			<extension base="gml:TimeReferenceSystemType">
153
				<sequence>
154
					<element name="component" type="gml:TimeOrdinalEraPropertyType" maxOccurs="unbounded"/>
155
				</sequence>
156
			</extension>
157
		</complexContent>
158
	</complexType>
159
	<element name="TimeOrdinalEra" type="gml:TimeOrdinalEraType">
160
		<annotation>
161
			<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.
162
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>
163
		</annotation>
164
	</element>
165
	<complexType name="TimeOrdinalEraType">
166
		<complexContent>
167
			<extension base="gml:DefinitionType">
168
				<sequence>
169
					<element name="relatedTime" type="gml:RelatedTimeType" minOccurs="0" maxOccurs="unbounded"/>
170
					<element name="start" type="gml:TimeNodePropertyType" minOccurs="0"/>
171
					<element name="end" type="gml:TimeNodePropertyType" minOccurs="0"/>
172
					<element name="extent" type="gml:TimePeriodPropertyType" minOccurs="0"/>
173
					<element name="member" type="gml:TimeOrdinalEraPropertyType" minOccurs="0" maxOccurs="unbounded"/>
174
					<element name="group" type="gml:ReferenceType" minOccurs="0"/>
175
				</sequence>
176
			</extension>
177
		</complexContent>
178
	</complexType>
179
	<complexType name="TimeOrdinalEraPropertyType">
180
		<annotation>
181
			<documentation>gml:TimeOrdinalEraPropertyType provides for associating a gml:TimeOrdinalEra with an object.</documentation>
182
		</annotation>
183
		<sequence minOccurs="0">
184
			<element ref="gml:TimeOrdinalEra"/>
185
		</sequence>
186
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
187
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
188
	</complexType>
189
</schema>
(26-26/30)