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