Project

General

Profile

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/3.2" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2" elementFormDefault="qualified" xml:lang="en" version="3.2.1 2010-01-28">
4
	<annotation>
5
		<appinfo source="urn:x-ogc:specification:gml:schema-xsd:datums:3.2.1">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.
12

    
13
GML is an OGC Standard.
14
Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved.
15
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
16
		</documentation>
17
	</annotation>
18
	<include schemaLocation="referenceSystems.xsd"/>
19
	<include schemaLocation="measures.xsd"/>
20
	<element name="AbstractDatum" type="gml:AbstractDatumType" abstract="true" substitutionGroup="gml:Definition">
21
		<annotation>
22
			<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>
23
		</annotation>
24
	</element>
25
	<complexType name="AbstractDatumType" abstract="true">
26
		<complexContent>
27
			<extension base="gml:IdentifiedObjectType">
28
				<sequence>
29
					<element ref="gml:domainOfValidity" minOccurs="0"/>
30
					<element ref="gml:scope" maxOccurs="unbounded"/>
31
					<element ref="gml:anchorDefinition" minOccurs="0"/>
32
					<element ref="gml:realizationEpoch" minOccurs="0"/>
33
				</sequence>
34
			</extension>
35
		</complexContent>
36
	</complexType>
37
	<element name="anchorDefinition" type="gml:CodeType">
38
		<annotation>
39
			<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.
40
-	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.
41
-	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
42
-	For an image datum, the anchor definition is usually either the centre of the image or the corner of the image.
43
-	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>
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="GeodeticDatum" type="gml:GeodeticDatumType" substitutionGroup="gml:AbstractDatum">
61
		<annotation>
62
			<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>
63
		</annotation>
64
	</element>
65
	<complexType name="GeodeticDatumType">
66
		<complexContent>
67
			<extension base="gml:AbstractDatumType">
68
				<sequence>
69
					<element ref="gml:primeMeridian"/>
70
					<element ref="gml:ellipsoid"/>
71
				</sequence>
72
			</extension>
73
		</complexContent>
74
	</complexType>
75
	<element name="primeMeridian" type="gml:PrimeMeridianPropertyType">
76
		<annotation>
77
			<documentation>gml:primeMeridian is an association role to the prime meridian used by this geodetic datum.</documentation>
78
		</annotation>
79
	</element>
80
	<element name="ellipsoid" type="gml:EllipsoidPropertyType">
81
		<annotation>
82
			<documentation>gml:ellipsoid is an association role to the ellipsoid used by this geodetic datum.</documentation>
83
		</annotation>
84
	</element>
85
	<complexType name="GeodeticDatumPropertyType">
86
		<annotation>
87
			<documentation>gml:GeodeticDatumPropertyType is a property type for association roles to a geodetic datum, either referencing or containing the definition of that datum.</documentation>
88
		</annotation>
89
		<sequence minOccurs="0">
90
			<element ref="gml:GeodeticDatum"/>
91
		</sequence>
92
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
93
	</complexType>
94
	<element name="Ellipsoid" type="gml:EllipsoidType" substitutionGroup="gml:Definition">
95
		<annotation>
96
			<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>
97
		</annotation>
98
	</element>
99
	<complexType name="EllipsoidType">
100
		<complexContent>
101
			<extension base="gml:IdentifiedObjectType">
102
				<sequence>
103
					<element ref="gml:semiMajorAxis"/>
104
					<element ref="gml:secondDefiningParameter"/>
105
				</sequence>
106
			</extension>
107
		</complexContent>
108
	</complexType>
109
	<element name="semiMajorAxis" type="gml:MeasureType">
110
		<annotation>
111
			<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>
112
		</annotation>
113
	</element>
114
	<element name="secondDefiningParameter">
115
		<annotation>
116
			<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.
117
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.
118
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>
119
		</annotation>
120
		<complexType>
121
			<sequence>
122
				<element ref="gml:SecondDefiningParameter"/>
123
			</sequence>
124
		</complexType>
125
	</element>
126
	<element name="SecondDefiningParameter">
127
		<complexType>
128
			<choice>
129
				<element name="inverseFlattening" type="gml:MeasureType"/>
130
				<element name="semiMinorAxis" type="gml:LengthType"/>
131
				<element name="isSphere" type="boolean" default="true"/>
132
			</choice>
133
		</complexType>
134
	</element>
135
	<complexType name="EllipsoidPropertyType">
136
		<annotation>
137
			<documentation>gml:EllipsoidPropertyType is a property type for association roles to an ellipsoid, either referencing or containing the definition of that ellipsoid.</documentation>
138
		</annotation>
139
		<sequence minOccurs="0">
140
			<element ref="gml:Ellipsoid"/>
141
		</sequence>
142
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
143
	</complexType>
144
	<element name="PrimeMeridian" type="gml:PrimeMeridianType" substitutionGroup="gml:Definition">
145
		<annotation>
146
			<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>
147
		</annotation>
148
	</element>
149
	<complexType name="PrimeMeridianType">
150
		<complexContent>
151
			<extension base="gml:IdentifiedObjectType">
152
				<sequence>
153
					<element ref="gml:greenwichLongitude"/>
154
				</sequence>
155
			</extension>
156
		</complexContent>
157
	</complexType>
158
	<element name="greenwichLongitude" type="gml:AngleType">
159
		<annotation>
160
			<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>
161
		</annotation>
162
	</element>
163
	<complexType name="PrimeMeridianPropertyType">
164
		<annotation>
165
			<documentation>gml:PrimeMeridianPropertyType is a property type for association roles to a prime meridian, either referencing or containing the definition of that meridian.</documentation>
166
		</annotation>
167
		<sequence minOccurs="0">
168
			<element ref="gml:PrimeMeridian"/>
169
		</sequence>
170
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
171
	</complexType>
172
	<element name="EngineeringDatum" type="gml:EngineeringDatumType" substitutionGroup="gml:AbstractDatum">
173
		<annotation>
174
			<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>
175
		</annotation>
176
	</element>
177
	<complexType name="EngineeringDatumType">
178
		<complexContent>
179
			<extension base="gml:AbstractDatumType"/>
180
		</complexContent>
181
	</complexType>
182
	<complexType name="EngineeringDatumPropertyType">
183
		<annotation>
184
			<documentation>gml:EngineeringDatumPropertyType is a property type for association roles to an engineering datum, either referencing or containing the definition of that datum.</documentation>
185
		</annotation>
186
		<sequence minOccurs="0">
187
			<element ref="gml:EngineeringDatum"/>
188
		</sequence>
189
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
190
	</complexType>
191
	<element name="ImageDatum" type="gml:ImageDatumType" substitutionGroup="gml:AbstractDatum">
192
		<annotation>
193
			<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>
194
		</annotation>
195
	</element>
196
	<complexType name="ImageDatumType">
197
		<complexContent>
198
			<extension base="gml:AbstractDatumType">
199
				<sequence>
200
					<element ref="gml:pixelInCell"/>
201
				</sequence>
202
			</extension>
203
		</complexContent>
204
	</complexType>
205
	<element name="pixelInCell" type="gml:CodeWithAuthorityType">
206
		<annotation>
207
			<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>
208
		</annotation>
209
	</element>
210
	<complexType name="ImageDatumPropertyType">
211
		<annotation>
212
			<documentation>gml:ImageDatumPropertyType is a property type for association roles to an image datum, either referencing or containing the definition of that datum.</documentation>
213
		</annotation>
214
		<sequence minOccurs="0">
215
			<element ref="gml:ImageDatum"/>
216
		</sequence>
217
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
218
	</complexType>
219
	<element name="VerticalDatum" type="gml:VerticalDatumType" substitutionGroup="gml:AbstractDatum">
220
		<annotation>
221
			<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>
222
		</annotation>
223
	</element>
224
	<complexType name="VerticalDatumType">
225
		<complexContent>
226
			<extension base="gml:AbstractDatumType"/>
227
		</complexContent>
228
	</complexType>
229
	<complexType name="VerticalDatumPropertyType">
230
		<annotation>
231
			<documentation>gml:VerticalDatumPropertyType is property type for association roles to a vertical datum, either referencing or containing the definition of that datum.</documentation>
232
		</annotation>
233
		<sequence minOccurs="0">
234
			<element ref="gml:VerticalDatum"/>
235
		</sequence>
236
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
237
	</complexType>
238
	<element name="TemporalDatum" type="gml:TemporalDatumType" substitutionGroup="gml:AbstractDatum">
239
		<annotation>
240
			<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>
241
		</annotation>
242
	</element>
243
	<complexType name="TemporalDatumType">
244
		<complexContent>
245
			<extension base="gml:TemporalDatumBaseType">
246
				<sequence>
247
					<element ref="gml:origin"/>
248
				</sequence>
249
			</extension>
250
		</complexContent>
251
	</complexType>
252
	<complexType name="TemporalDatumBaseType" abstract="true">
253
		<annotation>
254
			<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>
255
		</annotation>
256
		<complexContent>
257
			<restriction base="gml:AbstractDatumType">
258
				<sequence>
259
					<element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
260
					<element ref="gml:description" minOccurs="0"/>
261
					<element ref="gml:descriptionReference" minOccurs="0"/>
262
					<element ref="gml:identifier"/>
263
					<element ref="gml:name" minOccurs="0" maxOccurs="unbounded"/>
264
					<element ref="gml:remarks" minOccurs="0"/>
265
					<element ref="gml:domainOfValidity" minOccurs="0"/>
266
					<element ref="gml:scope" maxOccurs="unbounded"/>
267
				</sequence>
268
				<attribute ref="gml:id" use="required"/>
269
			</restriction>
270
		</complexContent>
271
	</complexType>
272
	<element name="origin" type="dateTime">
273
		<annotation>
274
			<documentation>gml:origin is the date and time origin of this temporal datum.</documentation>
275
		</annotation>
276
	</element>
277
	<complexType name="TemporalDatumPropertyType">
278
		<annotation>
279
			<documentation>gml:TemporalDatumPropertyType is a property type for association roles to a temporal datum, either referencing or containing the definition of that datum.</documentation>
280
		</annotation>
281
		<sequence minOccurs="0">
282
			<element ref="gml:TemporalDatum"/>
283
		</sequence>
284
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
285
	</complexType>
286
</schema>
(7-7/30)