1 |
9238
|
tao
|
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
|
|
<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.1.1.2" xml:lang="en">
|
3 |
|
|
<annotation>
|
4 |
|
|
<appinfo source="urn:opengis:specification:gml:schema-xsd:referenceSystems:3.1.1"/>
|
5 |
|
|
<documentation>How to encode reference system definitions. Builds on several other parts of GML 3 to encode the data needed to define reference systems.
|
6 |
|
|
This schema encodes the Reference System (RS_) 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. The SC_CRS class is also encoded here, to eliminate the (circular) references from coordinateOperations.xsd to coordinateReferenceSystems.xsd. The RS_SpatialReferenceSystemUsingGeographicIdentifier class is not encoded, since it is not applicable to coordinate positions. The CI_Citation class is not directly encoded, since such information can be included as metaDataProperty elements which are optionally allowed. A modified version of the EX_Extent (DataType) class from ISO 19115 is currently encoded here, using GML 3 schema types. (A more extensive version of the EX_Extent package might be XML encoded in the future, probably in a separate extent.xsd schema.)
|
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="geometryBasic2d.xsd"/>
|
19 |
|
|
<include schemaLocation="temporal.xsd"/>
|
20 |
|
|
<!-- ======================================================
|
21 |
|
|
elements and types
|
22 |
|
|
====================================================== -->
|
23 |
|
|
<element name="_ReferenceSystem" type="gml:AbstractReferenceSystemType" abstract="true" substitutionGroup="gml:Definition"/>
|
24 |
|
|
<!-- =================================================== -->
|
25 |
|
|
<complexType name="AbstractReferenceSystemBaseType" abstract="true">
|
26 |
|
|
<annotation>
|
27 |
|
|
<documentation>Basic encoding for reference system objects, simplifying and restricting the DefinitionType as needed.</documentation>
|
28 |
|
|
</annotation>
|
29 |
|
|
<complexContent>
|
30 |
|
|
<restriction base="gml:DefinitionType">
|
31 |
|
|
<sequence>
|
32 |
|
|
<element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
|
33 |
|
|
<element ref="gml:srsName"/>
|
34 |
|
|
</sequence>
|
35 |
|
|
<attribute ref="gml:id" use="required"/>
|
36 |
|
|
</restriction>
|
37 |
|
|
</complexContent>
|
38 |
|
|
</complexType>
|
39 |
|
|
<!-- =================================================== -->
|
40 |
|
|
<element name="srsName" type="gml:CodeType" substitutionGroup="gml:name">
|
41 |
|
|
<annotation>
|
42 |
|
|
<documentation>The name by which this reference system is identified.</documentation>
|
43 |
|
|
</annotation>
|
44 |
|
|
</element>
|
45 |
|
|
<!-- =================================================== -->
|
46 |
|
|
<complexType name="AbstractReferenceSystemType" abstract="true">
|
47 |
|
|
<annotation>
|
48 |
|
|
<documentation>Description of a spatial and/or temporal reference system used by a dataset.</documentation>
|
49 |
|
|
</annotation>
|
50 |
|
|
<complexContent>
|
51 |
|
|
<extension base="gml:AbstractReferenceSystemBaseType">
|
52 |
|
|
<sequence>
|
53 |
|
|
<element ref="gml:srsID" minOccurs="0" maxOccurs="unbounded">
|
54 |
|
|
<annotation>
|
55 |
|
|
<documentation>Set of alterative identifications of this reference system. The first srsID, if any, is normally the primary identification code, and any others are aliases.</documentation>
|
56 |
|
|
</annotation>
|
57 |
|
|
</element>
|
58 |
|
|
<element ref="gml:remarks" minOccurs="0">
|
59 |
|
|
<annotation>
|
60 |
|
|
<documentation>Comments on or information about this reference system, including source information.</documentation>
|
61 |
|
|
</annotation>
|
62 |
|
|
</element>
|
63 |
|
|
<element ref="gml:validArea" minOccurs="0"/>
|
64 |
|
|
<element ref="gml:scope" minOccurs="0"/>
|
65 |
|
|
</sequence>
|
66 |
|
|
</extension>
|
67 |
|
|
</complexContent>
|
68 |
|
|
</complexType>
|
69 |
|
|
<!-- =================================================== -->
|
70 |
|
|
<element name="srsID" type="gml:IdentifierType">
|
71 |
|
|
<annotation>
|
72 |
|
|
<documentation>An identification of a reference system.</documentation>
|
73 |
|
|
</annotation>
|
74 |
|
|
</element>
|
75 |
|
|
<!-- =================================================== -->
|
76 |
|
|
<element name="referenceSystemRef" type="gml:ReferenceSystemRefType"/>
|
77 |
|
|
<!-- =================================================== -->
|
78 |
|
|
<complexType name="ReferenceSystemRefType">
|
79 |
|
|
<annotation>
|
80 |
|
|
<documentation>Association to a reference system, either referencing or containing the definition of that reference system.</documentation>
|
81 |
|
|
</annotation>
|
82 |
|
|
<sequence minOccurs="0">
|
83 |
|
|
<element ref="gml:_ReferenceSystem"/>
|
84 |
|
|
</sequence>
|
85 |
|
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
86 |
|
|
</complexType>
|
87 |
|
|
<!-- =================================================== -->
|
88 |
|
|
<element name="_CRS" type="gml:AbstractReferenceSystemType" abstract="true" substitutionGroup="gml:_ReferenceSystem">
|
89 |
|
|
<annotation>
|
90 |
|
|
<documentation>Abstract coordinate reference system, usually defined by a coordinate system and a datum. 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>
|
91 |
|
|
</annotation>
|
92 |
|
|
</element>
|
93 |
|
|
<!-- =================================================== -->
|
94 |
|
|
<element name="crsRef" type="gml:CRSRefType"/>
|
95 |
|
|
<!-- =================================================== -->
|
96 |
|
|
<complexType name="CRSRefType">
|
97 |
|
|
<annotation>
|
98 |
|
|
<documentation>Association to a CRS abstract coordinate reference system, either referencing or containing the definition of that CRS.</documentation>
|
99 |
|
|
</annotation>
|
100 |
|
|
<sequence minOccurs="0">
|
101 |
|
|
<element ref="gml:_CRS"/>
|
102 |
|
|
</sequence>
|
103 |
|
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
104 |
|
|
</complexType>
|
105 |
|
|
<!-- =================================================== -->
|
106 |
|
|
<!-- =================================================== -->
|
107 |
|
|
<complexType name="IdentifierType">
|
108 |
|
|
<annotation>
|
109 |
|
|
<documentation>An identification of a CRS object. The first use of the IdentifierType for an object, if any, is normally the primary identification code, and any others are aliases.</documentation>
|
110 |
|
|
</annotation>
|
111 |
|
|
<sequence>
|
112 |
|
|
<element ref="gml:name">
|
113 |
|
|
<annotation>
|
114 |
|
|
<documentation>The code or name for this Identifier, often from a controlled list or pattern defined by a code space. The optional codeSpace attribute is normally included to identify or reference a code space within which one or more codes are defined. This code space is often defined by some authority organization, where one organization may define multiple code spaces. The range and format of each Code Space identifier is defined by that code space authority. Information about that code space authority can be included as metaDataProperty elements which are optionally allowed in all CRS objects.</documentation>
|
115 |
|
|
</annotation>
|
116 |
|
|
</element>
|
117 |
|
|
<element ref="gml:version" minOccurs="0"/>
|
118 |
|
|
<element ref="gml:remarks" minOccurs="0">
|
119 |
|
|
<annotation>
|
120 |
|
|
<documentation>Remarks about this code or alias.</documentation>
|
121 |
|
|
</annotation>
|
122 |
|
|
</element>
|
123 |
|
|
</sequence>
|
124 |
|
|
</complexType>
|
125 |
|
|
<!-- =================================================== -->
|
126 |
|
|
<element name="version" type="string">
|
127 |
|
|
<annotation>
|
128 |
|
|
<documentation>Identifier of the version of the associated codeSpace or code, as specified by the codeSpace or code authority. This version is included only when the "code" or "codeSpace" uses versions. When appropriate, the version is identified by the effective date, coded using ISO 8601 date format.</documentation>
|
129 |
|
|
</annotation>
|
130 |
|
|
</element>
|
131 |
|
|
<!-- =================================================== -->
|
132 |
|
|
<element name="remarks" type="gml:StringOrRefType">
|
133 |
|
|
<annotation>
|
134 |
|
|
<documentation>Information about this object or code. Contains text or refers to external text.</documentation>
|
135 |
|
|
</annotation>
|
136 |
|
|
</element>
|
137 |
|
|
<!-- =================================================== -->
|
138 |
|
|
<element name="scope" type="string">
|
139 |
|
|
<annotation>
|
140 |
|
|
<documentation>Description of domain of usage, or limitations of usage, for which this CRS object is valid.</documentation>
|
141 |
|
|
</annotation>
|
142 |
|
|
</element>
|
143 |
|
|
<!-- =================================================== -->
|
144 |
|
|
<element name="validArea" type="gml:ExtentType">
|
145 |
|
|
<annotation>
|
146 |
|
|
<documentation>Area or region in which this CRS object is valid.</documentation>
|
147 |
|
|
</annotation>
|
148 |
|
|
</element>
|
149 |
|
|
<!-- =================================================== -->
|
150 |
|
|
<complexType name="ExtentType">
|
151 |
|
|
<annotation>
|
152 |
|
|
<documentation>Information about the spatial, vertical, and/or temporal extent of a reference system object. Constraints: At least one of the elements "description", "boundingBox", "boundingPolygon", "verticalExtent", and temporalExtent" must be included, but more that one can be included when appropriate. Furthermore, more than one "boundingBox", "boundingPolygon", "verticalExtent", and/or temporalExtent" element can be included, with more than one meaning the union of the individual domains.</documentation>
|
153 |
|
|
</annotation>
|
154 |
|
|
<sequence>
|
155 |
|
|
<element ref="gml:description" minOccurs="0">
|
156 |
|
|
<annotation>
|
157 |
|
|
<documentation>Description of spatial and/or temporal extent of this object.</documentation>
|
158 |
|
|
</annotation>
|
159 |
|
|
</element>
|
160 |
|
|
<choice>
|
161 |
|
|
<annotation>
|
162 |
|
|
<documentation>Geographic domain of this reference system object.</documentation>
|
163 |
|
|
</annotation>
|
164 |
|
|
<element ref="gml:boundingBox" minOccurs="0" maxOccurs="unbounded">
|
165 |
|
|
<annotation>
|
166 |
|
|
<documentation>Unordered list of bounding boxes (or envelopes) whose union describes the spatial domain of this object.</documentation>
|
167 |
|
|
</annotation>
|
168 |
|
|
</element>
|
169 |
|
|
<element ref="gml:boundingPolygon" minOccurs="0" maxOccurs="unbounded">
|
170 |
|
|
<annotation>
|
171 |
|
|
<documentation>Unordered list of bounding polygons whose union describes the spatial domain of this object.</documentation>
|
172 |
|
|
</annotation>
|
173 |
|
|
</element>
|
174 |
|
|
</choice>
|
175 |
|
|
<element ref="gml:verticalExtent" minOccurs="0" maxOccurs="unbounded">
|
176 |
|
|
<annotation>
|
177 |
|
|
<documentation>Unordered list of vertical intervals whose union describes the spatial domain of this object.</documentation>
|
178 |
|
|
</annotation>
|
179 |
|
|
</element>
|
180 |
|
|
<element ref="gml:temporalExtent" minOccurs="0" maxOccurs="unbounded">
|
181 |
|
|
<annotation>
|
182 |
|
|
<documentation>Unordered list of time periods whose union describes the spatial domain of this object.</documentation>
|
183 |
|
|
</annotation>
|
184 |
|
|
</element>
|
185 |
|
|
</sequence>
|
186 |
|
|
</complexType>
|
187 |
|
|
<!-- =================================================== -->
|
188 |
|
|
<element name="boundingBox" type="gml:EnvelopeType">
|
189 |
|
|
<annotation>
|
190 |
|
|
<documentation>A bounding box (or envelope) defining the spatial domain of this object.</documentation>
|
191 |
|
|
</annotation>
|
192 |
|
|
</element>
|
193 |
|
|
<!-- =================================================== -->
|
194 |
|
|
<element name="boundingPolygon" type="gml:PolygonType">
|
195 |
|
|
<annotation>
|
196 |
|
|
<documentation>A bounding polygon defining the horizontal spatial domain of this object.</documentation>
|
197 |
|
|
</annotation>
|
198 |
|
|
</element>
|
199 |
|
|
<!-- =================================================== -->
|
200 |
|
|
<element name="verticalExtent" type="gml:EnvelopeType">
|
201 |
|
|
<annotation>
|
202 |
|
|
<documentation>An interval defining the vertical spatial domain of this object.</documentation>
|
203 |
|
|
</annotation>
|
204 |
|
|
</element>
|
205 |
|
|
<!-- =================================================== -->
|
206 |
|
|
<element name="temporalExtent" type="gml:TimePeriodType">
|
207 |
|
|
<annotation>
|
208 |
|
|
<documentation>A time period defining the temporal domain of this object.</documentation>
|
209 |
|
|
</annotation>
|
210 |
|
|
</element>
|
211 |
|
|
<!-- =================================================== -->
|
212 |
|
|
</schema>
|