Project

General

Profile

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.2" xml:lang="en">
3
	<annotation>
4
		<appinfo source="urn:opengis:specification:gml:schema-xsd:coordinateSystems:3.1.1"/>
5
		<documentation>How to encode coordinate system definitions. Builds on referenceSystems.xsd to encode the data needed to define coordinate systems, including the specific subtypes of coordinate systems. 
6
		This schema encodes the Coordinate System (CS_) package of the extended UML Model for OGC Abstract Specification Topic 2: Spatial Referencing by Coordinates. That UML model is adapted from ISO 19111 - Spatial referencing by coordinates, as described in Annex C of Topic 2. 
7
		Caution: The CRS package in GML 3.1 and GML 3.1.1 is preliminary, and is expected to undergo some modifications that are not backward compatible during the development of GML 3.2 (ISO 19136). The GML 3.2 package will implement the model described in the revised version of ISO 19111.
8
		
9
		GML is an OGC Standard.
10
		Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
11
		To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
12
		</documentation>
13
	</annotation>
14
	<!-- ======================================================
15
       includes and imports
16
	====================================================== -->
17
	<include schemaLocation="gml.xsd"/>
18
	<include schemaLocation="referenceSystems.xsd"/>
19
	<!-- ======================================================
20
       elements and types
21
	====================================================== -->
22
	<element name="CoordinateSystemAxis" type="gml:CoordinateSystemAxisType" substitutionGroup="gml:Definition"/>
23
	<!-- =================================================== -->
24
	<complexType name="CoordinateSystemAxisBaseType" abstract="true">
25
		<annotation>
26
			<documentation>Basic encoding for coordinate system axis objects, simplifying and restricting the DefinitionType as needed. </documentation>
27
		</annotation>
28
		<complexContent>
29
			<restriction base="gml:DefinitionType">
30
				<sequence>
31
					<element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
32
					<element ref="gml:name">
33
						<annotation>
34
							<documentation>The name by which this coordinate system axis is identified. </documentation>
35
						</annotation>
36
					</element>
37
				</sequence>
38
				<attribute ref="gml:id" use="required"/>
39
			</restriction>
40
		</complexContent>
41
	</complexType>
42
	<!-- =================================================== -->
43
	<complexType name="CoordinateSystemAxisType">
44
		<annotation>
45
			<documentation>Definition of a coordinate system axis. </documentation>
46
		</annotation>
47
		<complexContent>
48
			<extension base="gml:CoordinateSystemAxisBaseType">
49
				<sequence>
50
					<element ref="gml:axisID" minOccurs="0" maxOccurs="unbounded">
51
						<annotation>
52
							<documentation>Set of alternative identifications of this coordinate system axis. The first axisID, if any, is normally the primary identification code, and any others are aliases. </documentation>
53
						</annotation>
54
					</element>
55
					<element ref="gml:remarks" minOccurs="0">
56
						<annotation>
57
							<documentation>Comments on or information about this coordinate system axis, including data source information. </documentation>
58
						</annotation>
59
					</element>
60
					<element ref="gml:axisAbbrev"/>
61
					<element ref="gml:axisDirection"/>
62
				</sequence>
63
				<attribute ref="gml:uom" use="required"/>
64
			</extension>
65
		</complexContent>
66
	</complexType>
67
	<!-- =================================================== -->
68
	<element name="axisID" type="gml:IdentifierType">
69
		<annotation>
70
			<documentation>An identification of a coordinate system axis. </documentation>
71
		</annotation>
72
	</element>
73
	<!-- =================================================== -->
74
	<element name="axisAbbrev" type="gml:CodeType">
75
		<annotation>
76
			<documentation>The abbreviation used for this coordinate system axis. This abbreviation can be used to identify the ordinates in a coordinate tuple. Examples are X and Y. The codeSpace attribute can reference a source of more information on a set of standardized abbreviations, or on this abbreviation. </documentation>
77
		</annotation>
78
	</element>
79
	<!-- =================================================== -->
80
	<element name="axisDirection" type="gml:CodeType">
81
		<annotation>
82
			<documentation>Direction of this coordinate system axis (or in the case of Cartesian projected coordinates, the direction of this coordinate system axis at the origin). Examples: north or south, east or west, up or down. Within any set of coordinate system axes, only one of each pair of terms can be used. For earth-fixed CRSs, this direction is often approximate and intended to provide a human interpretable meaning to the axis. When a geodetic datum is used, the precise directions of the axes may therefore vary slightly from this approximate direction. Note that an EngineeringCRS can include specific descriptions of the directions of its coordinate system axes. For example, the path of a linear CRS axis can be referenced in another document, such as referencing a GML feature that references or includes a curve geometry. The codeSpace attribute can reference a source of more information on a set of standardized directions, or on this direction. </documentation>
83
		</annotation>
84
	</element>
85
	<!-- =================================================== -->
86
	<attribute name="uom" type="anyURI">
87
		<annotation>
88
			<documentation>Identifier of the unit of measure used for this coordinate system axis. The value of this coordinate in a coordinate tuple shall be recorded using this unit of measure, whenever those coordinates use a coordinate reference system that uses a coordinate system that uses this axis.</documentation>
89
		</annotation>
90
	</attribute>
91
	<!-- =================================================== -->
92
	<element name="coordinateSystemAxisRef" type="gml:CoordinateSystemAxisRefType"/>
93
	<!-- =================================================== -->
94
	<complexType name="CoordinateSystemAxisRefType">
95
		<annotation>
96
			<documentation>Association to a coordinate system axis, either referencing or containing the definition of that axis. </documentation>
97
		</annotation>
98
		<sequence minOccurs="0">
99
			<element ref="gml:CoordinateSystemAxis"/>
100
		</sequence>
101
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
102
	</complexType>
103
	<!-- =================================================== -->
104
	<!-- =================================================== -->
105
	<element name="_CoordinateSystem" type="gml:AbstractCoordinateSystemType" abstract="true" substitutionGroup="gml:Definition"/>
106
	<!-- =================================================== -->
107
	<complexType name="AbstractCoordinateSystemBaseType" abstract="true">
108
		<annotation>
109
			<documentation>Basic encoding for coordinate system objects, simplifying and restricting the DefinitionType as needed. </documentation>
110
		</annotation>
111
		<complexContent>
112
			<restriction base="gml:DefinitionType">
113
				<sequence>
114
					<element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
115
					<element ref="gml:csName"/>
116
				</sequence>
117
				<attribute ref="gml:id" use="required"/>
118
			</restriction>
119
		</complexContent>
120
	</complexType>
121
	<!-- =================================================== -->
122
	<element name="csName" type="gml:CodeType" substitutionGroup="gml:name">
123
		<annotation>
124
			<documentation>The name by which this coordinate system is identified. </documentation>
125
		</annotation>
126
	</element>
127
	<!-- =================================================== -->
128
	<complexType name="AbstractCoordinateSystemType" abstract="true">
129
		<annotation>
130
			<documentation>A coordinate system (CS) is the set of coordinate system axes that spans a given coordinate space. A CS is derived from a set of (mathematical) rules for specifying how coordinates in a given space are to be assigned to points. The coordinate values in a coordinate tuple shall be recorded in the order in which the coordinate system axes associations are recorded, whenever those coordinates use a coordinate reference system that uses this coordinate system. This abstract complexType shall not be used, extended, or restricted, in an Application Schema, to define a concrete subtype with a meaning equivalent to a concrete subtype specified in this document. </documentation>
131
		</annotation>
132
		<complexContent>
133
			<extension base="gml:AbstractCoordinateSystemBaseType">
134
				<sequence>
135
					<element ref="gml:csID" minOccurs="0" maxOccurs="unbounded">
136
						<annotation>
137
							<documentation>Set of alternative identifications of this coordinate system. The first csID, if any, is normally the primary identification code, and any others are aliases. </documentation>
138
						</annotation>
139
					</element>
140
					<element ref="gml:remarks" minOccurs="0">
141
						<annotation>
142
							<documentation>Comments on or information about this coordinate system, including data source information. </documentation>
143
						</annotation>
144
					</element>
145
					<element ref="gml:usesAxis" maxOccurs="unbounded">
146
						<annotation>
147
							<documentation>Ordered sequence of associations to the coordinate system axes included in this coordinate system. </documentation>
148
						</annotation>
149
					</element>
150
				</sequence>
151
			</extension>
152
		</complexContent>
153
	</complexType>
154
	<!-- =================================================== -->
155
	<element name="csID" type="gml:IdentifierType">
156
		<annotation>
157
			<documentation>An identification of a coordinate system. </documentation>
158
		</annotation>
159
	</element>
160
	<!-- =================================================== -->
161
	<element name="usesAxis" type="gml:CoordinateSystemAxisRefType">
162
		<annotation>
163
			<documentation>Association to a coordinate system axis. </documentation>
164
		</annotation>
165
	</element>
166
	<!-- =================================================== -->
167
	<element name="coordinateSystemRef" type="gml:CoordinateSystemRefType"/>
168
	<!-- =================================================== -->
169
	<complexType name="CoordinateSystemRefType">
170
		<annotation>
171
			<documentation>Association to a coordinate system, either referencing or containing the definition of that coordinate system. </documentation>
172
		</annotation>
173
		<sequence minOccurs="0">
174
			<element ref="gml:_CoordinateSystem"/>
175
		</sequence>
176
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
177
	</complexType>
178
	<!-- =================================================== -->
179
	<element name="EllipsoidalCS" type="gml:EllipsoidalCSType" substitutionGroup="gml:_CoordinateSystem"/>
180
	<!-- =================================================== -->
181
	<complexType name="EllipsoidalCSType">
182
		<annotation>
183
			<documentation>A two- or three-dimensional coordinate system in which position is specified by geodetic latitude, geodetic longitude, and (in the three-dimensional case) ellipsoidal height. An EllipsoidalCS shall have two or three usesAxis associations. </documentation>
184
		</annotation>
185
		<complexContent>
186
			<extension base="gml:AbstractCoordinateSystemType"/>
187
		</complexContent>
188
	</complexType>
189
	<!-- =================================================== -->
190
	<element name="ellipsoidalCSRef" type="gml:EllipsoidalCSRefType"/>
191
	<!-- =================================================== -->
192
	<complexType name="EllipsoidalCSRefType">
193
		<annotation>
194
			<documentation>Association to an ellipsoidal coordinate system, either referencing or containing the definition of that coordinate system. </documentation>
195
		</annotation>
196
		<sequence minOccurs="0">
197
			<element ref="gml:EllipsoidalCS"/>
198
		</sequence>
199
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
200
	</complexType>
201
	<!-- =================================================== -->
202
	<element name="CartesianCS" type="gml:CartesianCSType" substitutionGroup="gml:_CoordinateSystem"/>
203
	<!-- =================================================== -->
204
	<complexType name="CartesianCSType">
205
		<annotation>
206
			<documentation>A 1-, 2-, or 3-dimensional coordinate system. Gives the position of points relative to orthogonal straight axes in the 2- and 3-dimensional cases. In the 1-dimensional case, it contains a single straight coordinate axis. In the multi-dimensional case, all axes shall have the same length unit of measure. A CartesianCS shall have one, two, or three usesAxis associations. </documentation>
207
		</annotation>
208
		<complexContent>
209
			<extension base="gml:AbstractCoordinateSystemType"/>
210
		</complexContent>
211
	</complexType>
212
	<!-- =================================================== -->
213
	<element name="cartesianCSRef" type="gml:CartesianCSRefType"/>
214
	<!-- =================================================== -->
215
	<complexType name="CartesianCSRefType">
216
		<annotation>
217
			<documentation>Association to a Cartesian coordinate system, either referencing or containing the definition of that coordinate system. </documentation>
218
		</annotation>
219
		<sequence minOccurs="0">
220
			<element ref="gml:CartesianCS"/>
221
		</sequence>
222
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
223
	</complexType>
224
	<!-- =================================================== -->
225
	<element name="VerticalCS" type="gml:VerticalCSType" substitutionGroup="gml:_CoordinateSystem"/>
226
	<!-- =================================================== -->
227
	<complexType name="VerticalCSType">
228
		<annotation>
229
			<documentation>A one-dimensional coordinate system used to record the heights (or depths) of points. Such a coordinate system is usually dependent on the Earth's gravity field, perhaps loosely as when atmospheric pressure is the basis for the vertical coordinate system axis. A VerticalCS shall have one usesAxis association. </documentation>
230
		</annotation>
231
		<complexContent>
232
			<extension base="gml:AbstractCoordinateSystemType"/>
233
		</complexContent>
234
	</complexType>
235
	<!-- =================================================== -->
236
	<element name="verticalCSRef" type="gml:VerticalCSRefType"/>
237
	<!-- =================================================== -->
238
	<complexType name="VerticalCSRefType">
239
		<annotation>
240
			<documentation>Association to a vertical coordinate system, either referencing or containing the definition of that coordinate system. </documentation>
241
		</annotation>
242
		<sequence minOccurs="0">
243
			<element ref="gml:VerticalCS"/>
244
		</sequence>
245
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
246
	</complexType>
247
	<!-- =================================================== -->
248
	<element name="TemporalCS" type="gml:TemporalCSType" substitutionGroup="gml:_CoordinateSystem"/>
249
	<!-- =================================================== -->
250
	<complexType name="TemporalCSType">
251
		<annotation>
252
			<documentation>A one-dimensional coordinate system containing a single time axis, used to describe the temporal position of a point in the specified time units from a specified time origin. A TemporalCS shall have one usesAxis association. </documentation>
253
		</annotation>
254
		<complexContent>
255
			<extension base="gml:AbstractCoordinateSystemType"/>
256
		</complexContent>
257
	</complexType>
258
	<!-- =================================================== -->
259
	<element name="temporalCSRef" type="gml:TemporalCSRefType"/>
260
	<!-- =================================================== -->
261
	<complexType name="TemporalCSRefType">
262
		<annotation>
263
			<documentation>Association to a temporal coordinate system, either referencing or containing the definition of that coordinate system. </documentation>
264
		</annotation>
265
		<sequence minOccurs="0">
266
			<element ref="gml:TemporalCS"/>
267
		</sequence>
268
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
269
	</complexType>
270
	<!-- =================================================== -->
271
	<element name="LinearCS" type="gml:LinearCSType" substitutionGroup="gml:_CoordinateSystem"/>
272
	<!-- =================================================== -->
273
	<complexType name="LinearCSType">
274
		<annotation>
275
			<documentation>A one-dimensional coordinate system that consists of the points that lie on the single axis described. The associated ordinate is the distance from the specified origin to the point along the axis. Example: usage of the line feature representing a road to describe points on or along that road. A LinearCS shall have one usesAxis association. </documentation>
276
		</annotation>
277
		<complexContent>
278
			<extension base="gml:AbstractCoordinateSystemType"/>
279
		</complexContent>
280
	</complexType>
281
	<!-- =================================================== -->
282
	<element name="linearCSRef" type="gml:LinearCSRefType"/>
283
	<!-- =================================================== -->
284
	<complexType name="LinearCSRefType">
285
		<annotation>
286
			<documentation>Association to a linear coordinate system, either referencing or containing the definition of that coordinate system. </documentation>
287
		</annotation>
288
		<sequence minOccurs="0">
289
			<element ref="gml:LinearCS"/>
290
		</sequence>
291
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
292
	</complexType>
293
	<!-- =================================================== -->
294
	<element name="UserDefinedCS" type="gml:UserDefinedCSType" substitutionGroup="gml:_CoordinateSystem"/>
295
	<!-- =================================================== -->
296
	<complexType name="UserDefinedCSType">
297
		<annotation>
298
			<documentation>A two- or three-dimensional coordinate system that consists of any combination of coordinate axes not covered by any other coordinate system type. An example is a multilinear coordinate system which contains one coordinate axis that may have any 1-D shape which has no intersections with itself. This non-straight axis is supplemented by one or two straight axes to complete a 2 or 3 dimensional coordinate system. The non-straight axis is typically incrementally straight or curved. A UserDefinedCS shall have two or three usesAxis associations. </documentation>
299
		</annotation>
300
		<complexContent>
301
			<extension base="gml:AbstractCoordinateSystemType"/>
302
		</complexContent>
303
	</complexType>
304
	<!-- =================================================== -->
305
	<element name="userDefinedCSRef" type="gml:UserDefinedCSRefType"/>
306
	<!-- =================================================== -->
307
	<complexType name="UserDefinedCSRefType">
308
		<annotation>
309
			<documentation>Association to a user-defined coordinate system, either referencing or containing the definition of that coordinate system. </documentation>
310
		</annotation>
311
		<sequence minOccurs="0">
312
			<element ref="gml:UserDefinedCS"/>
313
		</sequence>
314
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
315
	</complexType>
316
	<!-- =================================================== -->
317
	<element name="SphericalCS" type="gml:SphericalCSType" substitutionGroup="gml:_CoordinateSystem"/>
318
	<!-- =================================================== -->
319
	<complexType name="SphericalCSType">
320
		<annotation>
321
			<documentation>A three-dimensional coordinate system with one distance measured from the origin and two angular coordinates. Not to be confused with an ellipsoidal coordinate system based on an ellipsoid "degenerated" into a sphere. A SphericalCS shall have three usesAxis associations. </documentation>
322
		</annotation>
323
		<complexContent>
324
			<extension base="gml:AbstractCoordinateSystemType"/>
325
		</complexContent>
326
	</complexType>
327
	<!-- =================================================== -->
328
	<element name="sphericalCSRef" type="gml:SphericalCSRefType"/>
329
	<!-- =================================================== -->
330
	<complexType name="SphericalCSRefType">
331
		<annotation>
332
			<documentation>Association to a spherical coordinate system, either referencing or containing the definition of that coordinate system. </documentation>
333
		</annotation>
334
		<sequence minOccurs="0">
335
			<element ref="gml:SphericalCS"/>
336
		</sequence>
337
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
338
	</complexType>
339
	<!-- =================================================== -->
340
	<element name="PolarCS" type="gml:PolarCSType" substitutionGroup="gml:_CoordinateSystem"/>
341
	<!-- =================================================== -->
342
	<complexType name="PolarCSType">
343
		<annotation>
344
			<documentation>A two-dimensional coordinate system in which position is specified by the distance from the origin and the angle between the line from the origin to a point and a reference direction. A PolarCS shall have two usesAxis associations. </documentation>
345
		</annotation>
346
		<complexContent>
347
			<extension base="gml:AbstractCoordinateSystemType"/>
348
		</complexContent>
349
	</complexType>
350
	<!-- =================================================== -->
351
	<element name="polarCSRef" type="gml:PolarCSRefType"/>
352
	<!-- =================================================== -->
353
	<complexType name="PolarCSRefType">
354
		<annotation>
355
			<documentation>Association to a polar coordinate system, either referencing or containing the definition of that coordinate system. </documentation>
356
		</annotation>
357
		<sequence minOccurs="0">
358
			<element ref="gml:PolarCS"/>
359
		</sequence>
360
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
361
	</complexType>
362
	<!-- =================================================== -->
363
	<element name="CylindricalCS" type="gml:CylindricalCSType" substitutionGroup="gml:_CoordinateSystem"/>
364
	<!-- =================================================== -->
365
	<complexType name="CylindricalCSType">
366
		<annotation>
367
			<documentation>A three-dimensional coordinate system consisting of a polar coordinate system extended by a straight coordinate axis perpendicular to the plane spanned by the polar coordinate system. A CylindricalCS shall have three usesAxis associations. </documentation>
368
		</annotation>
369
		<complexContent>
370
			<extension base="gml:AbstractCoordinateSystemType"/>
371
		</complexContent>
372
	</complexType>
373
	<!-- =================================================== -->
374
	<element name="cylindricalCSRef" type="gml:CylindricalCSRefType"/>
375
	<!-- =================================================== -->
376
	<complexType name="CylindricalCSRefType">
377
		<annotation>
378
			<documentation>Association to a cylindrical coordinate system, either referencing or containing the definition of that coordinate system. </documentation>
379
		</annotation>
380
		<sequence minOccurs="0">
381
			<element ref="gml:CylindricalCS"/>
382
		</sequence>
383
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
384
	</complexType>
385
	<!-- =================================================== -->
386
	<element name="ObliqueCartesianCS" type="gml:ObliqueCartesianCSType" substitutionGroup="gml:_CoordinateSystem"/>
387
	<!-- =================================================== -->
388
	<complexType name="ObliqueCartesianCSType">
389
		<annotation>
390
			<documentation>A two- or three-dimensional coordinate system with straight axes that are not necessarily orthogonal. An ObliqueCartesianCS shall have two or three usesAxis associations. </documentation>
391
		</annotation>
392
		<complexContent>
393
			<extension base="gml:AbstractCoordinateSystemType"/>
394
		</complexContent>
395
	</complexType>
396
	<!-- =================================================== -->
397
	<element name="obliqueCartesianCSRef" type="gml:ObliqueCartesianCSRefType"/>
398
	<!-- =================================================== -->
399
	<complexType name="ObliqueCartesianCSRefType">
400
		<annotation>
401
			<documentation>Association to an oblique-Cartesian coordinate system, either referencing or containing the definition of that coordinate system. </documentation>
402
		</annotation>
403
		<sequence minOccurs="0">
404
			<element ref="gml:ObliqueCartesianCS"/>
405
		</sequence>
406
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
407
	</complexType>
408
	<!-- =================================================== -->
409
</schema>
(4-4/29)