1 |
9559
|
tao
|
<?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:datums:3.1.1"/>
|
5 |
|
|
<documentation>How to encode datum definitions. Builds on referenceSystems.xsd to encode the data needed to define datums, including the specific subtypes of datums.
|
6 |
|
|
This schema encodes the Datum (CD_) 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="_Datum" type="gml:AbstractDatumType" abstract="true" substitutionGroup="gml:Definition"/>
|
23 |
|
|
<!-- =================================================== -->
|
24 |
|
|
<complexType name="AbstractDatumBaseType" abstract="true">
|
25 |
|
|
<annotation>
|
26 |
|
|
<documentation>Basic encoding for datum 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:datumName"/>
|
33 |
|
|
</sequence>
|
34 |
|
|
<attribute ref="gml:id" use="required"/>
|
35 |
|
|
</restriction>
|
36 |
|
|
</complexContent>
|
37 |
|
|
</complexType>
|
38 |
|
|
<!-- =================================================== -->
|
39 |
|
|
<element name="datumName" type="gml:CodeType" substitutionGroup="gml:name">
|
40 |
|
|
<annotation>
|
41 |
|
|
<documentation>The name by which this datum is identified. </documentation>
|
42 |
|
|
</annotation>
|
43 |
|
|
</element>
|
44 |
|
|
<!-- =================================================== -->
|
45 |
|
|
<complexType name="AbstractDatumType" abstract="true">
|
46 |
|
|
<annotation>
|
47 |
|
|
<documentation>A datum 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 can be associated with only specific types of coordinate systems. 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>
|
48 |
|
|
</annotation>
|
49 |
|
|
<complexContent>
|
50 |
|
|
<extension base="gml:AbstractDatumBaseType">
|
51 |
|
|
<sequence>
|
52 |
|
|
<element ref="gml:datumID" minOccurs="0" maxOccurs="unbounded">
|
53 |
|
|
<annotation>
|
54 |
|
|
<documentation>Set of alternative identifications of this datum. The first datumID, if any, is normally the primary identification code, and any others are aliases. </documentation>
|
55 |
|
|
</annotation>
|
56 |
|
|
</element>
|
57 |
|
|
<element ref="gml:remarks" minOccurs="0">
|
58 |
|
|
<annotation>
|
59 |
|
|
<documentation>Comments on this reference system, including source information. </documentation>
|
60 |
|
|
</annotation>
|
61 |
|
|
</element>
|
62 |
|
|
<element ref="gml:anchorPoint" minOccurs="0"/>
|
63 |
|
|
<element ref="gml:realizationEpoch" minOccurs="0"/>
|
64 |
|
|
<element ref="gml:validArea" minOccurs="0"/>
|
65 |
|
|
<element ref="gml:scope" minOccurs="0"/>
|
66 |
|
|
</sequence>
|
67 |
|
|
</extension>
|
68 |
|
|
</complexContent>
|
69 |
|
|
</complexType>
|
70 |
|
|
<!-- =================================================== -->
|
71 |
|
|
<element name="datumID" type="gml:IdentifierType">
|
72 |
|
|
<annotation>
|
73 |
|
|
<documentation>An identification of a datum. </documentation>
|
74 |
|
|
</annotation>
|
75 |
|
|
</element>
|
76 |
|
|
<!-- =================================================== -->
|
77 |
|
|
<element name="anchorPoint" type="gml:CodeType">
|
78 |
|
|
<annotation>
|
79 |
|
|
<documentation>Description, possibly including coordinates, of the point or points used to anchor the datum to the Earth. Also known as the "origin", especially for engineering and image datums. The codeSpace attribute can be used to reference a source of more detailed on this point or surface, or on a set of such descriptions.
|
80 |
|
|
- 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.
|
81 |
|
|
- For an engineering datum, the anchor point may be a physical point, or it may be a point with defined coordinates in another CRS. When appropriate, the coordinates of this anchor point can be referenced in another document, such as referencing a GML feature that references or includes a point position.
|
82 |
|
|
- For an image datum, the anchor point is usually either the centre of the image or the corner of the image.
|
83 |
|
|
- For a temporal datum, this attribute is not defined. Instead of the anchor point, a temporal datum carries a separate time origin of type DateTime. </documentation>
|
84 |
|
|
</annotation>
|
85 |
|
|
</element>
|
86 |
|
|
<!-- =================================================== -->
|
87 |
|
|
<element name="realizationEpoch" type="date">
|
88 |
|
|
<annotation>
|
89 |
|
|
<documentation>The time after which this datum definition is valid. This time may be precise (e.g. 1997.0 for IRTF97) or merely a year (e.g. 1983 for NAD83). In the latter case, the epoch usually refers to the year in which a major recalculation of the geodetic control network, underlying the datum, was executed or initiated. An old datum can remain valid after a new datum is defined. Alternatively, a datum may be superseded by a later datum, in which case the realization epoch for the new datum defines the upper limit for the validity of the superseded datum. </documentation>
|
90 |
|
|
</annotation>
|
91 |
|
|
</element>
|
92 |
|
|
<!-- =================================================== -->
|
93 |
|
|
<element name="datumRef" type="gml:DatumRefType"/>
|
94 |
|
|
<!-- =================================================== -->
|
95 |
|
|
<complexType name="DatumRefType">
|
96 |
|
|
<annotation>
|
97 |
|
|
<documentation>Association to a datum, either referencing or containing the definition of that datum. </documentation>
|
98 |
|
|
</annotation>
|
99 |
|
|
<sequence minOccurs="0">
|
100 |
|
|
<element ref="gml:_Datum"/>
|
101 |
|
|
</sequence>
|
102 |
|
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
103 |
|
|
</complexType>
|
104 |
|
|
<!-- =================================================== -->
|
105 |
|
|
<element name="EngineeringDatum" type="gml:EngineeringDatumType" substitutionGroup="gml:_Datum"/>
|
106 |
|
|
<!-- =================================================== -->
|
107 |
|
|
<complexType name="EngineeringDatumType">
|
108 |
|
|
<annotation>
|
109 |
|
|
<documentation>An engineering datum defines the origin of an engineering coordinate reference system, and is used in a region around that origin. This origin can 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>
|
110 |
|
|
</annotation>
|
111 |
|
|
<complexContent>
|
112 |
|
|
<extension base="gml:AbstractDatumType"/>
|
113 |
|
|
</complexContent>
|
114 |
|
|
</complexType>
|
115 |
|
|
<!-- =================================================== -->
|
116 |
|
|
<element name="engineeringDatumRef" type="gml:EngineeringDatumRefType"/>
|
117 |
|
|
<!-- =================================================== -->
|
118 |
|
|
<complexType name="EngineeringDatumRefType">
|
119 |
|
|
<annotation>
|
120 |
|
|
<documentation>Association to an engineering datum, either referencing or containing the definition of that datum. </documentation>
|
121 |
|
|
</annotation>
|
122 |
|
|
<sequence minOccurs="0">
|
123 |
|
|
<element ref="gml:EngineeringDatum"/>
|
124 |
|
|
</sequence>
|
125 |
|
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
126 |
|
|
</complexType>
|
127 |
|
|
<!-- =================================================== -->
|
128 |
|
|
<element name="ImageDatum" type="gml:ImageDatumType" substitutionGroup="gml:_Datum"/>
|
129 |
|
|
<!-- =================================================== -->
|
130 |
|
|
<complexType name="ImageDatumType">
|
131 |
|
|
<annotation>
|
132 |
|
|
<documentation>An image datum defines the origin of an image coordinate reference system, and is used in a local context only. For more information, see OGC Abstract Specification Topic 2. </documentation>
|
133 |
|
|
</annotation>
|
134 |
|
|
<complexContent>
|
135 |
|
|
<extension base="gml:AbstractDatumType">
|
136 |
|
|
<sequence>
|
137 |
|
|
<element ref="gml:pixelInCell"/>
|
138 |
|
|
</sequence>
|
139 |
|
|
</extension>
|
140 |
|
|
</complexContent>
|
141 |
|
|
</complexType>
|
142 |
|
|
<!-- =================================================== -->
|
143 |
|
|
<element name="pixelInCell" type="gml:PixelInCellType"/>
|
144 |
|
|
<!-- =================================================== -->
|
145 |
|
|
<complexType name="PixelInCellType">
|
146 |
|
|
<annotation>
|
147 |
|
|
<documentation>Specification of the way an image grid is associated with the image data attributes. </documentation>
|
148 |
|
|
</annotation>
|
149 |
|
|
<simpleContent>
|
150 |
|
|
<restriction base="gml:CodeType">
|
151 |
|
|
<attribute name="codeSpace" type="anyURI" use="required">
|
152 |
|
|
<annotation>
|
153 |
|
|
<documentation>Reference to a source of information specifying the values and meanings of all the allowed string values for this PixelInCellType. </documentation>
|
154 |
|
|
</annotation>
|
155 |
|
|
</attribute>
|
156 |
|
|
</restriction>
|
157 |
|
|
</simpleContent>
|
158 |
|
|
</complexType>
|
159 |
|
|
<!-- =================================================== -->
|
160 |
|
|
<element name="imageDatumRef" type="gml:ImageDatumRefType"/>
|
161 |
|
|
<!-- =================================================== -->
|
162 |
|
|
<complexType name="ImageDatumRefType">
|
163 |
|
|
<annotation>
|
164 |
|
|
<documentation>Association to an image datum, either referencing or containing the definition of that datum. </documentation>
|
165 |
|
|
</annotation>
|
166 |
|
|
<sequence minOccurs="0">
|
167 |
|
|
<element ref="gml:ImageDatum"/>
|
168 |
|
|
</sequence>
|
169 |
|
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
170 |
|
|
</complexType>
|
171 |
|
|
<!-- =================================================== -->
|
172 |
|
|
<element name="VerticalDatum" type="gml:VerticalDatumType" substitutionGroup="gml:_Datum"/>
|
173 |
|
|
<!-- =================================================== -->
|
174 |
|
|
<complexType name="VerticalDatumType">
|
175 |
|
|
<annotation>
|
176 |
|
|
<documentation>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 standard. There are several types of Vertical Datums, and each may place constraints on the Coordinate Axis with which it is combined to create a Vertical CRS. </documentation>
|
177 |
|
|
</annotation>
|
178 |
|
|
<complexContent>
|
179 |
|
|
<extension base="gml:AbstractDatumType">
|
180 |
|
|
<sequence>
|
181 |
|
|
<element ref="gml:verticalDatumType" minOccurs="0"/>
|
182 |
|
|
</sequence>
|
183 |
|
|
</extension>
|
184 |
|
|
</complexContent>
|
185 |
|
|
</complexType>
|
186 |
|
|
<!-- =================================================== -->
|
187 |
|
|
<element name="verticalDatumType" type="gml:VerticalDatumTypeType"/>
|
188 |
|
|
<!-- =================================================== -->
|
189 |
|
|
<complexType name="VerticalDatumTypeType">
|
190 |
|
|
<annotation>
|
191 |
|
|
<documentation>Type of a vertical datum. </documentation>
|
192 |
|
|
</annotation>
|
193 |
|
|
<simpleContent>
|
194 |
|
|
<restriction base="gml:CodeType">
|
195 |
|
|
<attribute name="codeSpace" type="anyURI" use="required">
|
196 |
|
|
<annotation>
|
197 |
|
|
<documentation>Reference to a source of information specifying the values and meanings of all the allowed string values for this VerticalDatumTypeType. </documentation>
|
198 |
|
|
</annotation>
|
199 |
|
|
</attribute>
|
200 |
|
|
</restriction>
|
201 |
|
|
</simpleContent>
|
202 |
|
|
</complexType>
|
203 |
|
|
<!-- =================================================== -->
|
204 |
|
|
<element name="verticalDatumRef" type="gml:VerticalDatumRefType"/>
|
205 |
|
|
<!-- =================================================== -->
|
206 |
|
|
<complexType name="VerticalDatumRefType">
|
207 |
|
|
<annotation>
|
208 |
|
|
<documentation>Association to a vertical datum, either referencing or containing the definition of that datum. </documentation>
|
209 |
|
|
</annotation>
|
210 |
|
|
<sequence minOccurs="0">
|
211 |
|
|
<element ref="gml:VerticalDatum"/>
|
212 |
|
|
</sequence>
|
213 |
|
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
214 |
|
|
</complexType>
|
215 |
|
|
<!-- =================================================== -->
|
216 |
|
|
<element name="TemporalDatum" type="gml:TemporalDatumType" substitutionGroup="gml:_Datum"/>
|
217 |
|
|
<!-- =================================================== -->
|
218 |
|
|
<complexType name="TemporalDatumBaseType" abstract="true">
|
219 |
|
|
<annotation>
|
220 |
|
|
<documentation>Partially defines the origin of a temporal coordinate reference system. This type restricts the AbstractDatumType to remove the "anchorPoint" and "realizationEpoch" elements. </documentation>
|
221 |
|
|
</annotation>
|
222 |
|
|
<complexContent>
|
223 |
|
|
<restriction base="gml:AbstractDatumType">
|
224 |
|
|
<sequence>
|
225 |
|
|
<element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
|
226 |
|
|
<element ref="gml:datumName"/>
|
227 |
|
|
<element ref="gml:datumID" minOccurs="0" maxOccurs="unbounded"/>
|
228 |
|
|
<element ref="gml:validArea" minOccurs="0"/>
|
229 |
|
|
<element ref="gml:scope" minOccurs="0"/>
|
230 |
|
|
</sequence>
|
231 |
|
|
<attribute ref="gml:id" use="required"/>
|
232 |
|
|
</restriction>
|
233 |
|
|
</complexContent>
|
234 |
|
|
</complexType>
|
235 |
|
|
<!-- =================================================== -->
|
236 |
|
|
<complexType name="TemporalDatumType">
|
237 |
|
|
<annotation>
|
238 |
|
|
<documentation>Defines the origin of a temporal coordinate reference system. This type extends the TemporalDatumRestrictionType to add the "origin" element with the dateTime type. </documentation>
|
239 |
|
|
</annotation>
|
240 |
|
|
<complexContent>
|
241 |
|
|
<extension base="gml:TemporalDatumBaseType">
|
242 |
|
|
<sequence>
|
243 |
|
|
<element ref="gml:origin"/>
|
244 |
|
|
</sequence>
|
245 |
|
|
</extension>
|
246 |
|
|
</complexContent>
|
247 |
|
|
</complexType>
|
248 |
|
|
<!-- =================================================== -->
|
249 |
|
|
<element name="origin" type="dateTime">
|
250 |
|
|
<annotation>
|
251 |
|
|
<documentation>The date and time origin of this temporal datum. </documentation>
|
252 |
|
|
</annotation>
|
253 |
|
|
</element>
|
254 |
|
|
<!-- =================================================== -->
|
255 |
|
|
<element name="temporalDatumRef" type="gml:TemporalDatumRefType"/>
|
256 |
|
|
<!-- =================================================== -->
|
257 |
|
|
<complexType name="TemporalDatumRefType">
|
258 |
|
|
<annotation>
|
259 |
|
|
<documentation>Association to a temporal datum, either referencing or containing the definition of that datum. </documentation>
|
260 |
|
|
</annotation>
|
261 |
|
|
<sequence minOccurs="0">
|
262 |
|
|
<element ref="gml:TemporalDatum"/>
|
263 |
|
|
</sequence>
|
264 |
|
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
265 |
|
|
</complexType>
|
266 |
|
|
<!-- =================================================== -->
|
267 |
|
|
<element name="GeodeticDatum" type="gml:GeodeticDatumType" substitutionGroup="gml:_Datum"/>
|
268 |
|
|
<!-- =================================================== -->
|
269 |
|
|
<complexType name="GeodeticDatumType">
|
270 |
|
|
<annotation>
|
271 |
|
|
<documentation>A geodetic datum defines the precise location and orientation in 3-dimensional space of a defined ellipsoid (or sphere) that approximates the shape of the earth, or of a Cartesian coordinate system centered in this ellipsoid (or sphere). </documentation>
|
272 |
|
|
</annotation>
|
273 |
|
|
<complexContent>
|
274 |
|
|
<extension base="gml:AbstractDatumType">
|
275 |
|
|
<sequence>
|
276 |
|
|
<element ref="gml:usesPrimeMeridian"/>
|
277 |
|
|
<element ref="gml:usesEllipsoid"/>
|
278 |
|
|
</sequence>
|
279 |
|
|
</extension>
|
280 |
|
|
</complexContent>
|
281 |
|
|
</complexType>
|
282 |
|
|
<!-- =================================================== -->
|
283 |
|
|
<element name="usesPrimeMeridian" type="gml:PrimeMeridianRefType">
|
284 |
|
|
<annotation>
|
285 |
|
|
<documentation>Association to the prime meridian used by this geodetic datum. </documentation>
|
286 |
|
|
</annotation>
|
287 |
|
|
</element>
|
288 |
|
|
<!-- =================================================== -->
|
289 |
|
|
<element name="usesEllipsoid" type="gml:EllipsoidRefType">
|
290 |
|
|
<annotation>
|
291 |
|
|
<documentation>Association to the ellipsoid used by this geodetic datum. </documentation>
|
292 |
|
|
</annotation>
|
293 |
|
|
</element>
|
294 |
|
|
<!-- =================================================== -->
|
295 |
|
|
<element name="geodeticDatumRef" type="gml:GeodeticDatumRefType"/>
|
296 |
|
|
<!-- =================================================== -->
|
297 |
|
|
<complexType name="GeodeticDatumRefType">
|
298 |
|
|
<annotation>
|
299 |
|
|
<documentation>Association to a geodetic datum, either referencing or containing the definition of that datum. </documentation>
|
300 |
|
|
</annotation>
|
301 |
|
|
<sequence minOccurs="0">
|
302 |
|
|
<element ref="gml:GeodeticDatum"/>
|
303 |
|
|
</sequence>
|
304 |
|
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
305 |
|
|
</complexType>
|
306 |
|
|
<!-- =================================================== -->
|
307 |
|
|
<!-- =================================================== -->
|
308 |
|
|
<element name="PrimeMeridian" type="gml:PrimeMeridianType" substitutionGroup="gml:Definition"/>
|
309 |
|
|
<!-- =================================================== -->
|
310 |
|
|
<complexType name="PrimeMeridianBaseType" abstract="true">
|
311 |
|
|
<annotation>
|
312 |
|
|
<documentation>Basic encoding for prime meridian objects, simplifying and restricting the DefinitionType as needed. </documentation>
|
313 |
|
|
</annotation>
|
314 |
|
|
<complexContent>
|
315 |
|
|
<restriction base="gml:DefinitionType">
|
316 |
|
|
<sequence>
|
317 |
|
|
<element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
|
318 |
|
|
<element ref="gml:meridianName"/>
|
319 |
|
|
</sequence>
|
320 |
|
|
<attribute ref="gml:id" use="required"/>
|
321 |
|
|
</restriction>
|
322 |
|
|
</complexContent>
|
323 |
|
|
</complexType>
|
324 |
|
|
<!-- =================================================== -->
|
325 |
|
|
<element name="meridianName" type="gml:CodeType" substitutionGroup="gml:name">
|
326 |
|
|
<annotation>
|
327 |
|
|
<documentation>The name by which this prime meridian is identified. The meridianName most common value is Greenwich, and that value shall be used when the greenwichLongitude value is zero. </documentation>
|
328 |
|
|
</annotation>
|
329 |
|
|
</element>
|
330 |
|
|
<!-- =================================================== -->
|
331 |
|
|
<complexType name="PrimeMeridianType">
|
332 |
|
|
<annotation>
|
333 |
|
|
<documentation>A prime meridian defines the origin from which longitude values are determined.</documentation>
|
334 |
|
|
</annotation>
|
335 |
|
|
<complexContent>
|
336 |
|
|
<extension base="gml:PrimeMeridianBaseType">
|
337 |
|
|
<sequence>
|
338 |
|
|
<element ref="gml:meridianID" minOccurs="0" maxOccurs="unbounded">
|
339 |
|
|
<annotation>
|
340 |
|
|
<documentation>Set of alternative identifications of this prime meridian. The first meridianID, if any, is normally the primary identification code, and any others are aliases. </documentation>
|
341 |
|
|
</annotation>
|
342 |
|
|
</element>
|
343 |
|
|
<element ref="gml:remarks" minOccurs="0">
|
344 |
|
|
<annotation>
|
345 |
|
|
<documentation>Comments on or information about this prime meridian, including source information. </documentation>
|
346 |
|
|
</annotation>
|
347 |
|
|
</element>
|
348 |
|
|
<element ref="gml:greenwichLongitude"/>
|
349 |
|
|
</sequence>
|
350 |
|
|
</extension>
|
351 |
|
|
</complexContent>
|
352 |
|
|
</complexType>
|
353 |
|
|
<!-- =================================================== -->
|
354 |
|
|
<element name="meridianID" type="gml:IdentifierType">
|
355 |
|
|
<annotation>
|
356 |
|
|
<documentation>An identification of a prime meridian. </documentation>
|
357 |
|
|
</annotation>
|
358 |
|
|
</element>
|
359 |
|
|
<!-- =================================================== -->
|
360 |
|
|
<element name="greenwichLongitude" type="gml:AngleChoiceType">
|
361 |
|
|
<annotation>
|
362 |
|
|
<documentation>Longitude of the prime meridian measured from the Greenwich meridian, positive eastward. The greenwichLongitude most common value is zero, and that value shall be used when the meridianName value is Greenwich. </documentation>
|
363 |
|
|
</annotation>
|
364 |
|
|
</element>
|
365 |
|
|
<!-- =================================================== -->
|
366 |
|
|
<element name="primeMeridianRef" type="gml:PrimeMeridianRefType"/>
|
367 |
|
|
<!-- =================================================== -->
|
368 |
|
|
<complexType name="PrimeMeridianRefType">
|
369 |
|
|
<annotation>
|
370 |
|
|
<documentation>Association to a prime meridian, either referencing or containing the definition of that meridian. </documentation>
|
371 |
|
|
</annotation>
|
372 |
|
|
<sequence minOccurs="0">
|
373 |
|
|
<element ref="gml:PrimeMeridian"/>
|
374 |
|
|
</sequence>
|
375 |
|
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
376 |
|
|
</complexType>
|
377 |
|
|
<!-- =================================================== -->
|
378 |
|
|
<element name="Ellipsoid" type="gml:EllipsoidType" substitutionGroup="gml:Definition"/>
|
379 |
|
|
<!-- =================================================== -->
|
380 |
|
|
<complexType name="EllipsoidBaseType" abstract="true">
|
381 |
|
|
<annotation>
|
382 |
|
|
<documentation>Basic encoding for ellipsoid objects, simplifying and restricting the DefinitionType as needed. </documentation>
|
383 |
|
|
</annotation>
|
384 |
|
|
<complexContent>
|
385 |
|
|
<restriction base="gml:DefinitionType">
|
386 |
|
|
<sequence>
|
387 |
|
|
<element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
|
388 |
|
|
<element ref="gml:ellipsoidName"/>
|
389 |
|
|
</sequence>
|
390 |
|
|
<attribute ref="gml:id" use="required"/>
|
391 |
|
|
</restriction>
|
392 |
|
|
</complexContent>
|
393 |
|
|
</complexType>
|
394 |
|
|
<!-- =================================================== -->
|
395 |
|
|
<element name="ellipsoidName" type="gml:CodeType" substitutionGroup="gml:name">
|
396 |
|
|
<annotation>
|
397 |
|
|
<documentation>The name by which this ellipsoid is identified. </documentation>
|
398 |
|
|
</annotation>
|
399 |
|
|
</element>
|
400 |
|
|
<!-- =================================================== -->
|
401 |
|
|
<complexType name="EllipsoidType">
|
402 |
|
|
<annotation>
|
403 |
|
|
<documentation>An ellipsoid is a geometric figure that can 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>
|
404 |
|
|
</annotation>
|
405 |
|
|
<complexContent>
|
406 |
|
|
<extension base="gml:EllipsoidBaseType">
|
407 |
|
|
<sequence>
|
408 |
|
|
<element ref="gml:ellipsoidID" minOccurs="0" maxOccurs="unbounded">
|
409 |
|
|
<annotation>
|
410 |
|
|
<documentation>Set of alternative identifications of this ellipsoid. The first ellipsoidID, if any, is normally the primary identification code, and any others are aliases. </documentation>
|
411 |
|
|
</annotation>
|
412 |
|
|
</element>
|
413 |
|
|
<element ref="gml:remarks" minOccurs="0">
|
414 |
|
|
<annotation>
|
415 |
|
|
<documentation>Comments on or information about this ellipsoid, including source information. </documentation>
|
416 |
|
|
</annotation>
|
417 |
|
|
</element>
|
418 |
|
|
<element ref="gml:semiMajorAxis"/>
|
419 |
|
|
<element ref="gml:secondDefiningParameter"/>
|
420 |
|
|
</sequence>
|
421 |
|
|
</extension>
|
422 |
|
|
</complexContent>
|
423 |
|
|
</complexType>
|
424 |
|
|
<!-- =================================================== -->
|
425 |
|
|
<element name="ellipsoidID" type="gml:IdentifierType">
|
426 |
|
|
<annotation>
|
427 |
|
|
<documentation>An identification of an ellipsoid. </documentation>
|
428 |
|
|
</annotation>
|
429 |
|
|
</element>
|
430 |
|
|
<!-- =================================================== -->
|
431 |
|
|
<element name="semiMajorAxis" type="gml:MeasureType">
|
432 |
|
|
<annotation>
|
433 |
|
|
<documentation>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>
|
434 |
|
|
</annotation>
|
435 |
|
|
</element>
|
436 |
|
|
<!-- =================================================== -->
|
437 |
|
|
<element name="ellipsoidRef" type="gml:EllipsoidRefType"/>
|
438 |
|
|
<!-- =================================================== -->
|
439 |
|
|
<complexType name="EllipsoidRefType">
|
440 |
|
|
<annotation>
|
441 |
|
|
<documentation>Association to an ellipsoid, either referencing or containing the definition of that ellipsoid. </documentation>
|
442 |
|
|
</annotation>
|
443 |
|
|
<sequence minOccurs="0">
|
444 |
|
|
<element ref="gml:Ellipsoid"/>
|
445 |
|
|
</sequence>
|
446 |
|
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
447 |
|
|
</complexType>
|
448 |
|
|
<!-- =================================================== -->
|
449 |
|
|
<element name="secondDefiningParameter" type="gml:SecondDefiningParameterType"/>
|
450 |
|
|
<!-- =================================================== -->
|
451 |
|
|
<complexType name="SecondDefiningParameterType">
|
452 |
|
|
<annotation>
|
453 |
|
|
<documentation>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.</documentation>
|
454 |
|
|
</annotation>
|
455 |
|
|
<choice>
|
456 |
|
|
<element ref="gml:inverseFlattening"/>
|
457 |
|
|
<element ref="gml:semiMinorAxis"/>
|
458 |
|
|
<element ref="gml:isSphere"/>
|
459 |
|
|
</choice>
|
460 |
|
|
</complexType>
|
461 |
|
|
<!-- =================================================== -->
|
462 |
|
|
<element name="inverseFlattening" type="gml:MeasureType">
|
463 |
|
|
<annotation>
|
464 |
|
|
<documentation>Inverse flattening value of the ellipsoid. Value is a scale factor (or ratio) that has no physical unit. Uses the MeasureType with the restriction that the unit of measure referenced by uom must be suitable for a scale factor, such as percent, permil, or parts-per-million. </documentation>
|
465 |
|
|
</annotation>
|
466 |
|
|
</element>
|
467 |
|
|
<!-- =================================================== -->
|
468 |
|
|
<element name="semiMinorAxis" type="gml:MeasureType">
|
469 |
|
|
<annotation>
|
470 |
|
|
<documentation>Length of the semi-minor axis of the ellipsoid. 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>
|
471 |
|
|
</annotation>
|
472 |
|
|
</element>
|
473 |
|
|
<!-- =================================================== -->
|
474 |
|
|
<element name="isSphere">
|
475 |
|
|
<annotation>
|
476 |
|
|
<documentation>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>
|
477 |
|
|
</annotation>
|
478 |
|
|
<simpleType>
|
479 |
|
|
<restriction base="string">
|
480 |
|
|
<enumeration value="sphere"/>
|
481 |
|
|
</restriction>
|
482 |
|
|
</simpleType>
|
483 |
|
|
</element>
|
484 |
|
|
<!-- =================================================== -->
|
485 |
|
|
</schema>
|