1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<!-- edited with XMLSPY v5 rel. 2 U (http://www.xmlspy.com) by Clemens Portele (interactive instruments) -->
|
3
|
<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.2.0" xml:lang="en">
|
4
|
<annotation>
|
5
|
<appinfo source="urn:ogc:specification:gml:schema-xsd:datums:3.2.0">datums.xsd</appinfo>
|
6
|
<documentation>See ISO/DIS 19136 13.5
|
7
|
The datums schema components can be divided into three logical parts, which define elements and types for XML encoding of the definitions of:
|
8
|
- Abstract datum
|
9
|
- Geodetic datums, including ellipsoid and prime meridian
|
10
|
- Multiple other concrete types of spatial or temporal datums
|
11
|
These schema components encode the Datum packages of the UML Models of ISO 19111 Clause 10 and ISO/DIS 19136 D.3.10.</documentation>
|
12
|
</annotation>
|
13
|
<include schemaLocation="referenceSystems.xsd"/>
|
14
|
<include schemaLocation="measures.xsd"/>
|
15
|
<element name="AbstractDatum" type="gml:AbstractDatumType" abstract="true" substitutionGroup="gml:Definition">
|
16
|
<annotation>
|
17
|
<documentation>A gml:AbstractDatum specifies the relationship of a coordinate system to the earth, thus creating a coordinate reference system. A datum uses a parameter or set of parameters that determine the location of the origin of the coordinate reference system. Each datum subtype may be associated with only specific types of coordinate systems. This abstract complex type shall not be used, extended, or restricted, in a GML Application Schema, to define a concrete subtype with a meaning equivalent to a concrete subtype specified in this document.</documentation>
|
18
|
</annotation>
|
19
|
</element>
|
20
|
<complexType name="AbstractDatumType" abstract="true">
|
21
|
<complexContent>
|
22
|
<extension base="gml:IdentifiedObjectType">
|
23
|
<sequence>
|
24
|
<element ref="gml:domainOfValidity" minOccurs="0"/>
|
25
|
<element ref="gml:scope" maxOccurs="unbounded"/>
|
26
|
<element ref="gml:anchorDefinition" minOccurs="0"/>
|
27
|
<element ref="gml:realizationEpoch" minOccurs="0"/>
|
28
|
</sequence>
|
29
|
</extension>
|
30
|
</complexContent>
|
31
|
</complexType>
|
32
|
<element name="anchorDefinition" type="gml:CodeType">
|
33
|
<annotation>
|
34
|
<documentation>gml:anchorDefinition is a description, possibly including coordinates, of the definition used to anchor the datum to the Earth. Also known as the "origin", especially for engineering and image datums. The codeSpace attribute may be used to reference a source of more detailed on this point or surface, or on a set of such descriptions.
|
35
|
- For a geodetic datum, this point is also known as the fundamental point, which is traditionally the point where the relationship between geoid and ellipsoid is defined. In some cases, the "fundamental point" may consist of a number of points. In those cases, the parameters defining the geoid/ellipsoid relationship have been averaged for these points, and the averages adopted as the datum definition.
|
36
|
- For an engineering datum, the anchor definition may be a physical point, or it may be a point with defined coordinates in another CRS.may
|
37
|
- For an image datum, the anchor definition is usually either the centre of the image or the corner of the image.
|
38
|
- For a temporal datum, this attribute is not defined. Instead of the anchor definition, a temporal datum carries a separate time origin of type DateTime.</documentation>
|
39
|
</annotation>
|
40
|
</element>
|
41
|
<element name="anchorPoint" type="gml:CodeType" substitutionGroup="gml:anchorDefinition">
|
42
|
<annotation>
|
43
|
<appinfo>deprecated</appinfo>
|
44
|
</annotation>
|
45
|
</element>
|
46
|
<element name="realizationEpoch" type="date">
|
47
|
<annotation>
|
48
|
<documentation>gml:realizationEpoch is the time after which this datum definition is valid. See ISO 19111 Table 32 for details.</documentation>
|
49
|
</annotation>
|
50
|
</element>
|
51
|
<complexType name="DatumPropertyType">
|
52
|
<annotation>
|
53
|
<documentation>gml:DatumPropertyType is a property type for association roles to a datum, either referencing or containing the definition of that datum.</documentation>
|
54
|
</annotation>
|
55
|
<sequence minOccurs="0">
|
56
|
<element ref="gml:AbstractDatum"/>
|
57
|
</sequence>
|
58
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
59
|
</complexType>
|
60
|
<element name="datumRef" type="gml:DatumPropertyType">
|
61
|
<annotation>
|
62
|
<appinfo>deprecated</appinfo>
|
63
|
</annotation>
|
64
|
</element>
|
65
|
<element name="GeodeticDatum" type="gml:GeodeticDatumType" substitutionGroup="gml:AbstractDatum">
|
66
|
<annotation>
|
67
|
<documentation>gml:GeodeticDatum is a geodetic datum defines the precise location and orientation in 3-dimensional space of a defined ellipsoid (or sphere), or of a Cartesian coordinate system centered in this ellipsoid (or sphere).</documentation>
|
68
|
</annotation>
|
69
|
</element>
|
70
|
<complexType name="GeodeticDatumType">
|
71
|
<complexContent>
|
72
|
<extension base="gml:AbstractDatumType">
|
73
|
<sequence>
|
74
|
<element ref="gml:primeMeridian"/>
|
75
|
<element ref="gml:ellipsoid"/>
|
76
|
</sequence>
|
77
|
</extension>
|
78
|
</complexContent>
|
79
|
</complexType>
|
80
|
<element name="primeMeridian" type="gml:PrimeMeridianPropertyType">
|
81
|
<annotation>
|
82
|
<documentation>gml:primeMeridian is an association role to the prime meridian used by this geodetic datum.</documentation>
|
83
|
</annotation>
|
84
|
</element>
|
85
|
<element name="usesPrimeMeridian" type="gml:PrimeMeridianPropertyType" substitutionGroup="gml:primeMeridian">
|
86
|
<annotation>
|
87
|
<appinfo>deprecated</appinfo>
|
88
|
</annotation>
|
89
|
</element>
|
90
|
<element name="ellipsoid" type="gml:EllipsoidPropertyType">
|
91
|
<annotation>
|
92
|
<documentation>gml:ellipsoid is an association role to the ellipsoid used by this geodetic datum.</documentation>
|
93
|
</annotation>
|
94
|
</element>
|
95
|
<element name="usesEllipsoid" type="gml:EllipsoidPropertyType" substitutionGroup="gml:ellipsoid">
|
96
|
<annotation>
|
97
|
<appinfo>deprecated</appinfo>
|
98
|
</annotation>
|
99
|
</element>
|
100
|
<complexType name="GeodeticDatumPropertyType">
|
101
|
<annotation>
|
102
|
<documentation>gml:GeodeticDatumPropertyType is a property type for association roles to a geodetic datum, either referencing or containing the definition of that datum.</documentation>
|
103
|
</annotation>
|
104
|
<sequence minOccurs="0">
|
105
|
<element ref="gml:GeodeticDatum"/>
|
106
|
</sequence>
|
107
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
108
|
</complexType>
|
109
|
<element name="geodeticDatumRef" type="gml:GeodeticDatumPropertyType">
|
110
|
<annotation>
|
111
|
<appinfo>deprecated</appinfo>
|
112
|
</annotation>
|
113
|
</element>
|
114
|
<element name="Ellipsoid" type="gml:EllipsoidType" substitutionGroup="gml:Definition">
|
115
|
<annotation>
|
116
|
<documentation>A gml:Ellipsoid is a geometric figure that may be used to describe the approximate shape of the earth. In mathematical terms, it is a surface formed by the rotation of an ellipse about its minor axis.</documentation>
|
117
|
</annotation>
|
118
|
</element>
|
119
|
<complexType name="EllipsoidType">
|
120
|
<complexContent>
|
121
|
<extension base="gml:IdentifiedObjectType">
|
122
|
<sequence>
|
123
|
<element ref="gml:semiMajorAxis"/>
|
124
|
<element ref="gml:secondDefiningParameter"/>
|
125
|
</sequence>
|
126
|
</extension>
|
127
|
</complexContent>
|
128
|
</complexType>
|
129
|
<element name="semiMajorAxis" type="gml:MeasureType">
|
130
|
<annotation>
|
131
|
<documentation>gml:semiMajorAxis specifies the length of the semi-major axis of the ellipsoid, with its units. Uses the MeasureType with the restriction that the unit of measure referenced by uom must be suitable for a length, such as metres or feet.</documentation>
|
132
|
</annotation>
|
133
|
</element>
|
134
|
<element name="secondDefiningParameter">
|
135
|
<annotation>
|
136
|
<documentation>gml:secondDefiningParameter is a property containing the definition of the second parameter that defines the shape of an ellipsoid. An ellipsoid requires two defining parameters: semi-major axis and inverse flattening or semi-major axis and semi-minor axis. When the reference body is a sphere rather than an ellipsoid, only a single defining parameter is required, namely the radius of the sphere; in that case, the semi-major axis "degenerates" into the radius of the sphere.
|
137
|
The inverseFlattening element contains the inverse flattening value of the ellipsoid. This value is a scale factor (or ratio). It uses gml:LengthType with the restriction that the unit of measure referenced by the uom attribute must be suitable for a scale factor, such as percent, permil, or parts-per-million.
|
138
|
The semiMinorAxis element contains the length of the semi-minor axis of the ellipsoid. When the isSphere element is included, the ellipsoid is degenerate and is actually a sphere. The sphere is completely defined by the semi-major axis, which is the radius of the sphere.</documentation>
|
139
|
</annotation>
|
140
|
<complexType>
|
141
|
<sequence>
|
142
|
<element ref="gml:SecondDefiningParameter"/>
|
143
|
</sequence>
|
144
|
</complexType>
|
145
|
</element>
|
146
|
<element name="SecondDefiningParameter">
|
147
|
<complexType>
|
148
|
<choice>
|
149
|
<element name="inverseFlattening" type="gml:MeasureType"/>
|
150
|
<element name="semiMinorAxis" type="gml:LengthType"/>
|
151
|
<element name="isSphere">
|
152
|
<simpleType>
|
153
|
<restriction base="string">
|
154
|
<enumeration value="sphere"/>
|
155
|
</restriction>
|
156
|
</simpleType>
|
157
|
</element>
|
158
|
</choice>
|
159
|
</complexType>
|
160
|
</element>
|
161
|
<complexType name="EllipsoidPropertyType">
|
162
|
<annotation>
|
163
|
<documentation>gml:EllipsoidPropertyType is a property type for association roles to an ellipsoid, either referencing or containing the definition of that ellipsoid.</documentation>
|
164
|
</annotation>
|
165
|
<sequence minOccurs="0">
|
166
|
<element ref="gml:Ellipsoid"/>
|
167
|
</sequence>
|
168
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
169
|
</complexType>
|
170
|
<element name="ellipsoidRef" type="gml:EllipsoidPropertyType">
|
171
|
<annotation>
|
172
|
<appinfo>deprecated</appinfo>
|
173
|
</annotation>
|
174
|
</element>
|
175
|
<element name="PrimeMeridian" type="gml:PrimeMeridianType" substitutionGroup="gml:Definition">
|
176
|
<annotation>
|
177
|
<documentation>A gml:PrimeMeridian defines the origin from which longitude values are determined. The default value for the prime meridian gml:identifier value is "Greenwich".</documentation>
|
178
|
</annotation>
|
179
|
</element>
|
180
|
<complexType name="PrimeMeridianType">
|
181
|
<complexContent>
|
182
|
<extension base="gml:IdentifiedObjectType">
|
183
|
<sequence>
|
184
|
<element ref="gml:greenwichLongitude"/>
|
185
|
</sequence>
|
186
|
</extension>
|
187
|
</complexContent>
|
188
|
</complexType>
|
189
|
<element name="greenwichLongitude" type="gml:AngleType">
|
190
|
<annotation>
|
191
|
<documentation>gml:greenwichLongitude is the longitude of the prime meridian measured from the Greenwich meridian, positive eastward. If the value of the prime meridian “name” is "Greenwich" then the value of greenwichLongitude shall be 0 degrees.</documentation>
|
192
|
</annotation>
|
193
|
</element>
|
194
|
<complexType name="PrimeMeridianPropertyType">
|
195
|
<annotation>
|
196
|
<documentation>gml:PrimeMeridianPropertyType is a property type for association roles to a prime meridian, either referencing or containing the definition of that meridian.</documentation>
|
197
|
</annotation>
|
198
|
<sequence minOccurs="0">
|
199
|
<element ref="gml:PrimeMeridian"/>
|
200
|
</sequence>
|
201
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
202
|
</complexType>
|
203
|
<element name="primeMeridianRef" type="gml:PrimeMeridianPropertyType">
|
204
|
<annotation>
|
205
|
<appinfo>deprecated</appinfo>
|
206
|
</annotation>
|
207
|
</element>
|
208
|
<element name="EngineeringDatum" type="gml:EngineeringDatumType" substitutionGroup="gml:AbstractDatum">
|
209
|
<annotation>
|
210
|
<documentation>gml:EngineeringDatum defines the origin of an engineering coordinate reference system, and is used in a region around that origin. This origin may be fixed with respect to the earth (such as a defined point at a construction site), or be a defined point on a moving vehicle (such as on a ship or satellite).</documentation>
|
211
|
</annotation>
|
212
|
</element>
|
213
|
<complexType name="EngineeringDatumType">
|
214
|
<complexContent>
|
215
|
<extension base="gml:AbstractDatumType"/>
|
216
|
</complexContent>
|
217
|
</complexType>
|
218
|
<complexType name="EngineeringDatumPropertyType">
|
219
|
<annotation>
|
220
|
<documentation>gml:EngineeringDatumPropertyType is a property type for association roles to an engineering datum, either referencing or containing the definition of that datum.</documentation>
|
221
|
</annotation>
|
222
|
<sequence minOccurs="0">
|
223
|
<element ref="gml:EngineeringDatum"/>
|
224
|
</sequence>
|
225
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
226
|
</complexType>
|
227
|
<element name="engineeringDatumRef" type="gml:EngineeringDatumPropertyType">
|
228
|
<annotation>
|
229
|
<appinfo>deprecated</appinfo>
|
230
|
</annotation>
|
231
|
</element>
|
232
|
<element name="ImageDatum" type="gml:ImageDatumType" substitutionGroup="gml:AbstractDatum">
|
233
|
<annotation>
|
234
|
<documentation>gml:ImageDatum defines the origin of an image coordinate reference system, and is used in a local context only. For an image datum, the anchor definition is usually either the centre of the image or the corner of the image. For more information, see ISO 19111 B.3.5.</documentation>
|
235
|
</annotation>
|
236
|
</element>
|
237
|
<complexType name="ImageDatumType">
|
238
|
<complexContent>
|
239
|
<extension base="gml:AbstractDatumType">
|
240
|
<sequence>
|
241
|
<element ref="gml:pixelInCell"/>
|
242
|
</sequence>
|
243
|
</extension>
|
244
|
</complexContent>
|
245
|
</complexType>
|
246
|
<element name="pixelInCell" type="gml:CodeWithAuthorityType">
|
247
|
<annotation>
|
248
|
<documentation>gml:pixelInCell is a specification of the way an image grid is associated with the image data attributes. The required codeSpace attribute shall reference a source of information specifying the values and meanings of all the allowed string values for this property.</documentation>
|
249
|
</annotation>
|
250
|
</element>
|
251
|
<complexType name="ImageDatumPropertyType">
|
252
|
<annotation>
|
253
|
<documentation>gml:ImageDatumPropertyType is a property type for association roles to an image datum, either referencing or containing the definition of that datum.</documentation>
|
254
|
</annotation>
|
255
|
<sequence minOccurs="0">
|
256
|
<element ref="gml:ImageDatum"/>
|
257
|
</sequence>
|
258
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
259
|
</complexType>
|
260
|
<element name="imageDatumRef" type="gml:ImageDatumPropertyType">
|
261
|
<annotation>
|
262
|
<appinfo>deprecated</appinfo>
|
263
|
</annotation>
|
264
|
</element>
|
265
|
<element name="VerticalDatum" type="gml:VerticalDatumType" substitutionGroup="gml:AbstractDatum">
|
266
|
<annotation>
|
267
|
<documentation>gml:VerticalDatum is a textual description and/or a set of parameters identifying a particular reference level surface used as a zero-height surface, including its position with respect to the Earth for any of the height types recognized by this International Standard.</documentation>
|
268
|
</annotation>
|
269
|
</element>
|
270
|
<complexType name="VerticalDatumType">
|
271
|
<complexContent>
|
272
|
<extension base="gml:AbstractDatumType"/>
|
273
|
</complexContent>
|
274
|
</complexType>
|
275
|
<complexType name="VerticalDatumPropertyType">
|
276
|
<annotation>
|
277
|
<documentation>gml:VerticalDatumPropertyType is property type for association roles to a vertical datum, either referencing or containing the definition of that datum.</documentation>
|
278
|
</annotation>
|
279
|
<sequence minOccurs="0">
|
280
|
<element ref="gml:VerticalDatum"/>
|
281
|
</sequence>
|
282
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
283
|
</complexType>
|
284
|
<element name="verticalDatumRef" type="gml:VerticalDatumPropertyType">
|
285
|
<annotation>
|
286
|
<appinfo>deprecated</appinfo>
|
287
|
</annotation>
|
288
|
</element>
|
289
|
<element name="TemporalDatum" type="gml:TemporalDatumType" substitutionGroup="gml:AbstractDatum">
|
290
|
<annotation>
|
291
|
<documentation>A gml:TemporalDatum defines the origin of a Temporal Reference System. This type omits the "anchorDefinition" and "realizationEpoch" elements and adds the "origin" element with the dateTime type.</documentation>
|
292
|
</annotation>
|
293
|
</element>
|
294
|
<complexType name="TemporalDatumType">
|
295
|
<complexContent>
|
296
|
<extension base="gml:TemporalDatumBaseType">
|
297
|
<sequence>
|
298
|
<element ref="gml:origin"/>
|
299
|
</sequence>
|
300
|
</extension>
|
301
|
</complexContent>
|
302
|
</complexType>
|
303
|
<complexType name="TemporalDatumBaseType" abstract="true">
|
304
|
<annotation>
|
305
|
<documentation>The TemporalDatumBaseType partially defines the origin of a temporal coordinate reference system. This type restricts the AbstractDatumType to remove the "anchorDefinition" and "realizationEpoch" elements.</documentation>
|
306
|
</annotation>
|
307
|
<complexContent>
|
308
|
<restriction base="gml:AbstractDatumType">
|
309
|
<sequence>
|
310
|
<element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
|
311
|
<element ref="gml:description" minOccurs="0"/>
|
312
|
<element ref="gml:descriptionReference" minOccurs="0"/>
|
313
|
<element ref="gml:identifier"/>
|
314
|
<element ref="gml:name" minOccurs="0" maxOccurs="unbounded"/>
|
315
|
<element ref="gml:remarks" minOccurs="0"/>
|
316
|
<element ref="gml:domainOfValidity" minOccurs="0"/>
|
317
|
<element ref="gml:scope" maxOccurs="unbounded"/>
|
318
|
</sequence>
|
319
|
<attribute ref="gml:id" use="required"/>
|
320
|
</restriction>
|
321
|
</complexContent>
|
322
|
</complexType>
|
323
|
<element name="origin" type="dateTime">
|
324
|
<annotation>
|
325
|
<documentation>gml:origin is the date and time origin of this temporal datum.</documentation>
|
326
|
</annotation>
|
327
|
</element>
|
328
|
<complexType name="TemporalDatumPropertyType">
|
329
|
<annotation>
|
330
|
<documentation>gml:TemporalDatumPropertyType is a property type for association roles to a temporal datum, either referencing or containing the definition of that datum.</documentation>
|
331
|
</annotation>
|
332
|
<sequence minOccurs="0">
|
333
|
<element ref="gml:TemporalDatum"/>
|
334
|
</sequence>
|
335
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
336
|
</complexType>
|
337
|
<element name="temporalDatumRef" type="gml:TemporalDatumPropertyType">
|
338
|
<annotation>
|
339
|
<appinfo>deprecated</appinfo>
|
340
|
</annotation>
|
341
|
</element>
|
342
|
</schema>
|