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:sch="http://www.ascc.net/xml/schematron" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1.2">
|
3 |
|
|
<annotation>
|
4 |
|
|
<appinfo source="urn:opengis:specification:gml:schema-xsd:feature:v3.1.1"/>
|
5 |
|
|
<documentation>GML Feature schema.
|
6 |
|
|
|
7 |
|
|
GML is an OGC Standard.
|
8 |
|
|
Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
|
9 |
|
|
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
|
10 |
|
|
</documentation>
|
11 |
|
|
</annotation>
|
12 |
|
|
<!-- ============================================================== -->
|
13 |
|
|
<!-- ================== includes and imports ======================= -->
|
14 |
|
|
<!-- ============================================================== -->
|
15 |
|
|
<include schemaLocation="gml.xsd"/>
|
16 |
|
|
<include schemaLocation="geometryBasic2d.xsd"/>
|
17 |
|
|
<include schemaLocation="temporal.xsd"/>
|
18 |
|
|
<!-- ============================================================== -->
|
19 |
|
|
<element name="_Feature" type="gml:AbstractFeatureType" abstract="true" substitutionGroup="gml:_GML"/>
|
20 |
|
|
<!-- =========================================================== -->
|
21 |
|
|
<complexType name="AbstractFeatureType" abstract="true">
|
22 |
|
|
<annotation>
|
23 |
|
|
<documentation>An abstract feature provides a set of common properties, including id, metaDataProperty, name and description inherited from AbstractGMLType, plus boundedBy. A concrete feature type must derive from this type and specify additional properties in an application schema. A feature must possess an identifying attribute ('id' - 'fid' has been deprecated).</documentation>
|
24 |
|
|
</annotation>
|
25 |
|
|
<complexContent>
|
26 |
|
|
<extension base="gml:AbstractGMLType">
|
27 |
|
|
<sequence>
|
28 |
|
|
<element ref="gml:boundedBy" minOccurs="0"/>
|
29 |
|
|
<element ref="gml:location" minOccurs="0">
|
30 |
|
|
<annotation>
|
31 |
|
|
<appinfo>deprecated</appinfo>
|
32 |
|
|
<documentation>deprecated in GML version 3.1</documentation>
|
33 |
|
|
</annotation>
|
34 |
|
|
</element>
|
35 |
|
|
<!-- additional properties must be specified in an application schema -->
|
36 |
|
|
</sequence>
|
37 |
|
|
</extension>
|
38 |
|
|
</complexContent>
|
39 |
|
|
</complexType>
|
40 |
|
|
<!-- ============================================================== -->
|
41 |
|
|
<!-- =========================================================== -->
|
42 |
|
|
<element name="boundedBy" type="gml:BoundingShapeType"/>
|
43 |
|
|
<!-- ====================================================================== -->
|
44 |
|
|
<complexType name="BoundingShapeType">
|
45 |
|
|
<annotation>
|
46 |
|
|
<documentation>Bounding shape.</documentation>
|
47 |
|
|
</annotation>
|
48 |
|
|
<sequence>
|
49 |
|
|
<choice>
|
50 |
|
|
<element ref="gml:Envelope"/>
|
51 |
|
|
<element ref="gml:Null"/>
|
52 |
|
|
</choice>
|
53 |
|
|
</sequence>
|
54 |
|
|
</complexType>
|
55 |
|
|
<!-- =========================================================== -->
|
56 |
|
|
<element name="EnvelopeWithTimePeriod" type="gml:EnvelopeWithTimePeriodType" substitutionGroup="gml:Envelope"/>
|
57 |
|
|
<!-- ====================================================================== -->
|
58 |
|
|
<complexType name="EnvelopeWithTimePeriodType">
|
59 |
|
|
<annotation>
|
60 |
|
|
<documentation>Envelope that includes also a temporal extent.</documentation>
|
61 |
|
|
</annotation>
|
62 |
|
|
<complexContent>
|
63 |
|
|
<extension base="gml:EnvelopeType">
|
64 |
|
|
<sequence>
|
65 |
|
|
<element ref="gml:timePosition" minOccurs="2" maxOccurs="2"/>
|
66 |
|
|
</sequence>
|
67 |
|
|
<attribute name="frame" type="anyURI" use="optional" default="#ISO-8601"/>
|
68 |
|
|
</extension>
|
69 |
|
|
</complexContent>
|
70 |
|
|
</complexType>
|
71 |
|
|
<!-- ====================================================================== -->
|
72 |
|
|
<!-- ===== property for feature association ==== -->
|
73 |
|
|
<element name="featureMember" type="gml:FeaturePropertyType"/>
|
74 |
|
|
<element name="featureProperty" type="gml:FeaturePropertyType"/>
|
75 |
|
|
<!-- ============================================================== -->
|
76 |
|
|
<complexType name="FeaturePropertyType">
|
77 |
|
|
<annotation>
|
78 |
|
|
<documentation>Container for a feature - follow gml:AssociationType pattern.</documentation>
|
79 |
|
|
</annotation>
|
80 |
|
|
<sequence minOccurs="0">
|
81 |
|
|
<element ref="gml:_Feature"/>
|
82 |
|
|
</sequence>
|
83 |
|
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
84 |
|
|
</complexType>
|
85 |
|
|
<!-- ============================================================== -->
|
86 |
|
|
<!-- ===== property for association of an array of features ===== -->
|
87 |
|
|
<element name="featureMembers" type="gml:FeatureArrayPropertyType"/>
|
88 |
|
|
<!-- =========================================================== -->
|
89 |
|
|
<complexType name="FeatureArrayPropertyType">
|
90 |
|
|
<annotation>
|
91 |
|
|
<documentation>Container for features - follow gml:ArrayAssociationType pattern.</documentation>
|
92 |
|
|
</annotation>
|
93 |
|
|
<sequence>
|
94 |
|
|
<element ref="gml:_Feature" minOccurs="0" maxOccurs="unbounded"/>
|
95 |
|
|
</sequence>
|
96 |
|
|
</complexType>
|
97 |
|
|
<!-- ============================================================== -->
|
98 |
|
|
<!-- =========================================================== -->
|
99 |
|
|
<element name="_FeatureCollection" type="gml:AbstractFeatureCollectionType" abstract="true" substitutionGroup="gml:_Feature"/>
|
100 |
|
|
<!-- =========================================================== -->
|
101 |
|
|
<complexType name="AbstractFeatureCollectionType" abstract="true">
|
102 |
|
|
<annotation>
|
103 |
|
|
<documentation>A feature collection contains zero or more features.</documentation>
|
104 |
|
|
</annotation>
|
105 |
|
|
<complexContent>
|
106 |
|
|
<extension base="gml:AbstractFeatureType">
|
107 |
|
|
<sequence>
|
108 |
|
|
<element ref="gml:featureMember" minOccurs="0" maxOccurs="unbounded"/>
|
109 |
|
|
<element ref="gml:featureMembers" minOccurs="0"/>
|
110 |
|
|
</sequence>
|
111 |
|
|
</extension>
|
112 |
|
|
</complexContent>
|
113 |
|
|
</complexType>
|
114 |
|
|
<!-- =========================================================== -->
|
115 |
|
|
<element name="FeatureCollection" type="gml:FeatureCollectionType" substitutionGroup="gml:_Feature"/>
|
116 |
|
|
<!-- =========================================================== -->
|
117 |
|
|
<complexType name="FeatureCollectionType">
|
118 |
|
|
<annotation>
|
119 |
|
|
<documentation>Concrete generic feature collection.</documentation>
|
120 |
|
|
</annotation>
|
121 |
|
|
<complexContent>
|
122 |
|
|
<extension base="gml:AbstractFeatureCollectionType"/>
|
123 |
|
|
</complexContent>
|
124 |
|
|
</complexType>
|
125 |
|
|
<!-- ============================================================== -->
|
126 |
|
|
<!-- ============================================================== -->
|
127 |
|
|
<element name="LocationKeyWord" type="gml:CodeType"/>
|
128 |
|
|
<element name="LocationString" type="gml:StringOrRefType"/>
|
129 |
|
|
<!-- =========================================================== -->
|
130 |
|
|
<!-- ============= common aliases for geometry properties =============== -->
|
131 |
|
|
<element name="centerOf" type="gml:PointPropertyType"/>
|
132 |
|
|
<element name="position" type="gml:PointPropertyType"/>
|
133 |
|
|
<element name="edgeOf" type="gml:CurvePropertyType"/>
|
134 |
|
|
<element name="centerLineOf" type="gml:CurvePropertyType"/>
|
135 |
|
|
<element name="extentOf" type="gml:SurfacePropertyType"/>
|
136 |
|
|
<!-- =========================================================== -->
|
137 |
|
|
<!-- ================= deprecated components =========================== -->
|
138 |
|
|
<complexType name="BoundedFeatureType" abstract="true">
|
139 |
|
|
<annotation>
|
140 |
|
|
<documentation>Makes boundedBy mandatory</documentation>
|
141 |
|
|
</annotation>
|
142 |
|
|
<complexContent>
|
143 |
|
|
<restriction base="gml:AbstractFeatureType">
|
144 |
|
|
<sequence>
|
145 |
|
|
<group ref="gml:StandardObjectProperties"/>
|
146 |
|
|
<element ref="gml:boundedBy"/>
|
147 |
|
|
<element ref="gml:location" minOccurs="0">
|
148 |
|
|
<annotation>
|
149 |
|
|
<appinfo>deprecated</appinfo>
|
150 |
|
|
<documentation>deprecated in GML version 3.1</documentation>
|
151 |
|
|
</annotation>
|
152 |
|
|
</element>
|
153 |
|
|
</sequence>
|
154 |
|
|
</restriction>
|
155 |
|
|
</complexContent>
|
156 |
|
|
</complexType>
|
157 |
|
|
<!-- =========================================================== -->
|
158 |
|
|
<element name="location" type="gml:LocationPropertyType">
|
159 |
|
|
<annotation>
|
160 |
|
|
<documentation>Deprecated in GML 3.1.0</documentation>
|
161 |
|
|
</annotation>
|
162 |
|
|
</element>
|
163 |
|
|
<!-- ============================================================== -->
|
164 |
|
|
<complexType name="LocationPropertyType">
|
165 |
|
|
<annotation>
|
166 |
|
|
<documentation>Convenience property for generalised location.
|
167 |
|
|
A representative location for plotting or analysis.
|
168 |
|
|
Often augmented by one or more additional geometry properties with more specific semantics.</documentation>
|
169 |
|
|
<documentation>Deprecated in GML 3.1.0</documentation>
|
170 |
|
|
</annotation>
|
171 |
|
|
<sequence minOccurs="0">
|
172 |
|
|
<choice>
|
173 |
|
|
<element ref="gml:_Geometry"/>
|
174 |
|
|
<element ref="gml:LocationKeyWord"/>
|
175 |
|
|
<element ref="gml:LocationString"/>
|
176 |
|
|
<element ref="gml:Null"/>
|
177 |
|
|
</choice>
|
178 |
|
|
</sequence>
|
179 |
|
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
180 |
|
|
</complexType>
|
181 |
|
|
<!-- ============================================================== -->
|
182 |
|
|
<element name="priorityLocation" type="gml:PriorityLocationPropertyType" substitutionGroup="gml:location">
|
183 |
|
|
<annotation>
|
184 |
|
|
<documentation>Deprecated in GML 3.1.0</documentation>
|
185 |
|
|
</annotation>
|
186 |
|
|
</element>
|
187 |
|
|
<!-- ============================================================== -->
|
188 |
|
|
<complexType name="PriorityLocationPropertyType">
|
189 |
|
|
<annotation>
|
190 |
|
|
<documentation>G-XML component</documentation>
|
191 |
|
|
<documentation>Deprecated in GML 3.1.0</documentation>
|
192 |
|
|
</annotation>
|
193 |
|
|
<complexContent>
|
194 |
|
|
<extension base="gml:LocationPropertyType">
|
195 |
|
|
<attribute name="priority" type="string" use="optional"/>
|
196 |
|
|
</extension>
|
197 |
|
|
</complexContent>
|
198 |
|
|
</complexType>
|
199 |
|
|
<!-- ============================================================== -->
|
200 |
|
|
</schema>
|