1 |
9559
|
tao
|
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
|
|
<schema targetNamespace="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns="http://www.w3.org/2001/XMLSchema">
|
3 |
|
|
<annotation>
|
4 |
|
|
<appinfo source="urn:opengis:specification:gml:schema-xsd:topology:3.1.1">topology.xsd</appinfo>
|
5 |
|
|
<documentation>
|
6 |
|
|
GML is an OGC Standard.
|
7 |
|
|
Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
|
8 |
|
|
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
|
9 |
|
|
</documentation>
|
10 |
|
|
</annotation>
|
11 |
|
|
<include schemaLocation="gml.xsd"/>
|
12 |
|
|
<include schemaLocation="geometryComplexes.xsd"/>
|
13 |
|
|
<!-- ==============================================================
|
14 |
|
|
abstract supertype for topology objects
|
15 |
|
|
=============================================================== -->
|
16 |
|
|
<!-- ========================================================== -->
|
17 |
|
|
<element name="_Topology" type="gml:AbstractTopologyType" abstract="true" substitutionGroup="gml:_GML"/>
|
18 |
|
|
<!-- ========================================================== -->
|
19 |
|
|
<complexType name="AbstractTopologyType" abstract="true">
|
20 |
|
|
<complexContent>
|
21 |
|
|
<extension base="gml:AbstractGMLType"/>
|
22 |
|
|
</complexContent>
|
23 |
|
|
</complexType>
|
24 |
|
|
<!-- ========================================================== -->
|
25 |
|
|
<element name="_TopoPrimitive" type="gml:AbstractTopoPrimitiveType" abstract="true" substitutionGroup="gml:_Topology">
|
26 |
|
|
<annotation>
|
27 |
|
|
<documentation>Substitution group branch for Topo Primitives, used by TopoPrimitiveArrayAssociationType</documentation>
|
28 |
|
|
</annotation>
|
29 |
|
|
</element>
|
30 |
|
|
<!-- ========================================================== -->
|
31 |
|
|
<complexType name="AbstractTopoPrimitiveType" abstract="true">
|
32 |
|
|
<complexContent>
|
33 |
|
|
<extension base="gml:AbstractTopologyType">
|
34 |
|
|
<sequence>
|
35 |
|
|
<element ref="gml:isolated" minOccurs="0" maxOccurs="unbounded"/>
|
36 |
|
|
<element ref="gml:container" minOccurs="0"/>
|
37 |
|
|
</sequence>
|
38 |
|
|
</extension>
|
39 |
|
|
</complexContent>
|
40 |
|
|
</complexType>
|
41 |
|
|
<!-- ========================================================== -->
|
42 |
|
|
<element name="isolated" type="gml:IsolatedPropertyType">
|
43 |
|
|
<annotation>
|
44 |
|
|
<appinfo>
|
45 |
|
|
<sch:pattern name="refAndContent co-occurence prohibited">
|
46 |
|
|
<sch:rule context="gml:isolated">
|
47 |
|
|
<sch:extends rule="hrefOrContent"/>
|
48 |
|
|
</sch:rule>
|
49 |
|
|
</sch:pattern>
|
50 |
|
|
</appinfo>
|
51 |
|
|
</annotation>
|
52 |
|
|
</element>
|
53 |
|
|
<!-- ========================================================== -->
|
54 |
|
|
<complexType name="IsolatedPropertyType">
|
55 |
|
|
<choice minOccurs="0">
|
56 |
|
|
<element ref="gml:Node"/>
|
57 |
|
|
<element ref="gml:Edge"/>
|
58 |
|
|
</choice>
|
59 |
|
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
60 |
|
|
</complexType>
|
61 |
|
|
<!-- ========================================================== -->
|
62 |
|
|
<element name="container" type="gml:ContainerPropertyType">
|
63 |
|
|
<annotation>
|
64 |
|
|
<appinfo>
|
65 |
|
|
<sch:pattern name="refAndContent co-occurence prohibited">
|
66 |
|
|
<sch:rule context="gml:containerProperty">
|
67 |
|
|
<sch:extends rule="hrefOrContent"/>
|
68 |
|
|
</sch:rule>
|
69 |
|
|
</sch:pattern>
|
70 |
|
|
</appinfo>
|
71 |
|
|
</annotation>
|
72 |
|
|
</element>
|
73 |
|
|
<!-- ========================================================== -->
|
74 |
|
|
<complexType name="ContainerPropertyType">
|
75 |
|
|
<sequence minOccurs="0">
|
76 |
|
|
<choice>
|
77 |
|
|
<element ref="gml:Face"/>
|
78 |
|
|
<element ref="gml:TopoSolid"/>
|
79 |
|
|
</choice>
|
80 |
|
|
</sequence>
|
81 |
|
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
82 |
|
|
</complexType>
|
83 |
|
|
<!-- =========================================================== -->
|
84 |
|
|
<!-- primitive topology objects -->
|
85 |
|
|
<!-- ========================================================== -->
|
86 |
|
|
<element name="Node" type="gml:NodeType" substitutionGroup="gml:_TopoPrimitive"/>
|
87 |
|
|
<!-- =========================================================== -->
|
88 |
|
|
<complexType name="NodeType">
|
89 |
|
|
<annotation>
|
90 |
|
|
<documentation>Its optional co-boundary is a set of connected directedEdges. The orientation of one of these dirEdges is "+" if the Node is the "to" node of the Edge, and "-" if it is the "from" node.</documentation>
|
91 |
|
|
</annotation>
|
92 |
|
|
<complexContent>
|
93 |
|
|
<extension base="gml:AbstractTopoPrimitiveType">
|
94 |
|
|
<sequence>
|
95 |
|
|
<element ref="gml:directedEdge" minOccurs="0" maxOccurs="unbounded"/>
|
96 |
|
|
<element ref="gml:pointProperty" minOccurs="0"/>
|
97 |
|
|
<!-- <element name="geometry" type="gml:PointPropertyType" minOccurs="0"/> -->
|
98 |
|
|
</sequence>
|
99 |
|
|
</extension>
|
100 |
|
|
</complexContent>
|
101 |
|
|
</complexType>
|
102 |
|
|
<!-- ===== Property for topology association - by Value or by Reference ===== -->
|
103 |
|
|
<element name="directedNode" type="gml:DirectedNodePropertyType">
|
104 |
|
|
<annotation>
|
105 |
|
|
<appinfo>
|
106 |
|
|
<sch:pattern name="refAndContent co-occurence prohibited">
|
107 |
|
|
<sch:rule context="gml:directedNode">
|
108 |
|
|
<sch:extends rule="hrefOrContent"/>
|
109 |
|
|
</sch:rule>
|
110 |
|
|
</sch:pattern>
|
111 |
|
|
</appinfo>
|
112 |
|
|
</annotation>
|
113 |
|
|
</element>
|
114 |
|
|
<!-- =========================================================== -->
|
115 |
|
|
<complexType name="DirectedNodePropertyType">
|
116 |
|
|
<sequence minOccurs="0">
|
117 |
|
|
<element ref="gml:Node"/>
|
118 |
|
|
</sequence>
|
119 |
|
|
<attribute name="orientation" type="gml:SignType" default="+"/>
|
120 |
|
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
121 |
|
|
</complexType>
|
122 |
|
|
<!-- ========================================================== -->
|
123 |
|
|
<!-- primitive topology objects (1-dimensional) -->
|
124 |
|
|
<!-- ========================================================== -->
|
125 |
|
|
<element name="Edge" type="gml:EdgeType" substitutionGroup="gml:_TopoPrimitive"/>
|
126 |
|
|
<!-- ========================================================== -->
|
127 |
|
|
<complexType name="EdgeType">
|
128 |
|
|
<annotation>
|
129 |
|
|
<documentation>There is precisely one positively directed and one negatively directed node in the boundary of every edge. The negatively and positively directed nodes correspond to the start and end nodes respectively. The optional coboundary of an edge is a circular sequence of directed faces which are incident on this edge in document order. Faces which use a particular boundary edge in its positive orientation appear with positive orientation on the coboundary of the same edge. In the 2D case, the orientation of the face on the left of the edge is "+"; the orientation of the face on the right on its right is "-". An edge may optionally be realised by a 1-dimensional (curve) geometric primitive.</documentation>
|
130 |
|
|
</annotation>
|
131 |
|
|
<complexContent>
|
132 |
|
|
<extension base="gml:AbstractTopoPrimitiveType">
|
133 |
|
|
<sequence>
|
134 |
|
|
<element ref="gml:directedNode" minOccurs="2" maxOccurs="2"/>
|
135 |
|
|
<element ref="gml:directedFace" minOccurs="0" maxOccurs="unbounded"/>
|
136 |
|
|
<element ref="gml:curveProperty" minOccurs="0"/>
|
137 |
|
|
</sequence>
|
138 |
|
|
</extension>
|
139 |
|
|
</complexContent>
|
140 |
|
|
</complexType>
|
141 |
|
|
<!-- ===== Property for topology association - by Value or by Reference ===== -->
|
142 |
|
|
<element name="directedEdge" type="gml:DirectedEdgePropertyType">
|
143 |
|
|
<annotation>
|
144 |
|
|
<appinfo>
|
145 |
|
|
<sch:pattern name="refAndContent co-occurence prohibited">
|
146 |
|
|
<sch:rule context="gml:directedEdge">
|
147 |
|
|
<sch:extends rule="hrefOrContent"/>
|
148 |
|
|
</sch:rule>
|
149 |
|
|
</sch:pattern>
|
150 |
|
|
</appinfo>
|
151 |
|
|
</annotation>
|
152 |
|
|
</element>
|
153 |
|
|
<!-- =========================================================== -->
|
154 |
|
|
<complexType name="DirectedEdgePropertyType">
|
155 |
|
|
<sequence minOccurs="0">
|
156 |
|
|
<element ref="gml:Edge"/>
|
157 |
|
|
</sequence>
|
158 |
|
|
<attribute name="orientation" type="gml:SignType" default="+"/>
|
159 |
|
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
160 |
|
|
</complexType>
|
161 |
|
|
<!-- ========================================================== -->
|
162 |
|
|
<!-- primitive topology objects (2-dimensional) -->
|
163 |
|
|
<!-- ========================================================== -->
|
164 |
|
|
<element name="Face" type="gml:FaceType" substitutionGroup="gml:_TopoPrimitive"/>
|
165 |
|
|
<!-- ========================================================== -->
|
166 |
|
|
<complexType name="FaceType">
|
167 |
|
|
<annotation>
|
168 |
|
|
<documentation>. The topological boundary of a face consists of a set of directed edges. Note that all edges associated with a Face, including dangling and interior edges, appear in the boundary. Dangling and interior edges are each referenced by pairs of directedEdges with opposing orientations. The optional coboundary of a face is a pair of directed solids which are bounded by this face. If present, there is precisely one positively directed and one negatively directed solid in the coboundary of every face. The positively directed solid corresponds to the solid which lies in the direction of the positively directed normal to the face in any geometric realisation. A face may optionally be realised by a 2-dimensional (surface) geometric primitive.</documentation>
|
169 |
|
|
</annotation>
|
170 |
|
|
<complexContent>
|
171 |
|
|
<extension base="gml:AbstractTopoPrimitiveType">
|
172 |
|
|
<sequence>
|
173 |
|
|
<element ref="gml:directedEdge" maxOccurs="unbounded"/>
|
174 |
|
|
<element ref="gml:directedTopoSolid" minOccurs="0" maxOccurs="2"/>
|
175 |
|
|
<element ref="gml:surfaceProperty" minOccurs="0"/>
|
176 |
|
|
</sequence>
|
177 |
|
|
</extension>
|
178 |
|
|
</complexContent>
|
179 |
|
|
</complexType>
|
180 |
|
|
<!-- ===== Property for topology association - by Value or by Reference ===== -->
|
181 |
|
|
<element name="directedFace" type="gml:DirectedFacePropertyType">
|
182 |
|
|
<annotation>
|
183 |
|
|
<appinfo>
|
184 |
|
|
<sch:pattern name="refAndContent co-occurence prohibited">
|
185 |
|
|
<sch:rule context="gml:directedFace">
|
186 |
|
|
<sch:extends rule="hrefOrContent"/>
|
187 |
|
|
</sch:rule>
|
188 |
|
|
</sch:pattern>
|
189 |
|
|
</appinfo>
|
190 |
|
|
</annotation>
|
191 |
|
|
</element>
|
192 |
|
|
<!-- =========================================================== -->
|
193 |
|
|
<complexType name="DirectedFacePropertyType">
|
194 |
|
|
<sequence minOccurs="0">
|
195 |
|
|
<element ref="gml:Face"/>
|
196 |
|
|
</sequence>
|
197 |
|
|
<attribute name="orientation" type="gml:SignType" default="+"/>
|
198 |
|
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
199 |
|
|
</complexType>
|
200 |
|
|
<!-- ========================================================== -->
|
201 |
|
|
<!-- primitive topology objects (3-dimensional) -->
|
202 |
|
|
<!-- ========================================================== -->
|
203 |
|
|
<element name="TopoSolid" type="gml:TopoSolidType" substitutionGroup="gml:_TopoPrimitive"/>
|
204 |
|
|
<!-- ============================================================= -->
|
205 |
|
|
<complexType name="TopoSolidType">
|
206 |
|
|
<annotation>
|
207 |
|
|
<documentation>The topological boundary of a TopoSolid consists of a set of directed faces. Note that all faces associated with the TopoSolid, including dangling faces, appear in the boundary. The coboundary of a TopoSolid is empty and hence requires no representation.</documentation>
|
208 |
|
|
</annotation>
|
209 |
|
|
<complexContent>
|
210 |
|
|
<extension base="gml:AbstractTopoPrimitiveType">
|
211 |
|
|
<sequence>
|
212 |
|
|
<element ref="gml:directedFace" maxOccurs="unbounded"/>
|
213 |
|
|
</sequence>
|
214 |
|
|
</extension>
|
215 |
|
|
</complexContent>
|
216 |
|
|
</complexType>
|
217 |
|
|
<!-- ========================================================== -->
|
218 |
|
|
<!-- ===== Property for topology association - by Value or by Reference ===== -->
|
219 |
|
|
<element name="directedTopoSolid" type="gml:DirectedTopoSolidPropertyType">
|
220 |
|
|
<annotation>
|
221 |
|
|
<appinfo>
|
222 |
|
|
<sch:pattern name="refAndContent co-occurence prohibited">
|
223 |
|
|
<sch:rule context="gml:directedTopoSolid">
|
224 |
|
|
<sch:extends rule="hrefOrContent"/>
|
225 |
|
|
</sch:rule>
|
226 |
|
|
</sch:pattern>
|
227 |
|
|
</appinfo>
|
228 |
|
|
</annotation>
|
229 |
|
|
</element>
|
230 |
|
|
<!-- ============================================================= -->
|
231 |
|
|
<complexType name="DirectedTopoSolidPropertyType">
|
232 |
|
|
<sequence minOccurs="0">
|
233 |
|
|
<element ref="gml:TopoSolid"/>
|
234 |
|
|
</sequence>
|
235 |
|
|
<attribute name="orientation" type="gml:SignType" default="+"/>
|
236 |
|
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
237 |
|
|
</complexType>
|
238 |
|
|
<!-- ========================================================== -->
|
239 |
|
|
<element name="TopoPoint" type="gml:TopoPointType"/>
|
240 |
|
|
<!-- ========================================================== -->
|
241 |
|
|
<complexType name="TopoPointType">
|
242 |
|
|
<annotation>
|
243 |
|
|
<documentation>The intended use of TopoPoint is to appear within a point feature to express the structural and possibly geometric relationships of this point to other features via shared node definitions. Note the orientation assigned to the directedNode has no meaning in this context. It is preserved for symmetry with the types and elements which follow.</documentation>
|
244 |
|
|
</annotation>
|
245 |
|
|
<complexContent>
|
246 |
|
|
<extension base="gml:AbstractTopologyType">
|
247 |
|
|
<sequence>
|
248 |
|
|
<element ref="gml:directedNode"/>
|
249 |
|
|
</sequence>
|
250 |
|
|
</extension>
|
251 |
|
|
</complexContent>
|
252 |
|
|
</complexType>
|
253 |
|
|
<!-- ========================================================== -->
|
254 |
|
|
<!-- ============================================================= -->
|
255 |
|
|
<!-- ===== Property for topology association - by Value ===== -->
|
256 |
|
|
<element name="topoPointProperty" type="gml:TopoPointPropertyType"/>
|
257 |
|
|
<!-- ============================================================= -->
|
258 |
|
|
<complexType name="TopoPointPropertyType">
|
259 |
|
|
<sequence>
|
260 |
|
|
<element ref="gml:TopoPoint"/>
|
261 |
|
|
</sequence>
|
262 |
|
|
</complexType>
|
263 |
|
|
<!-- ========================================================== -->
|
264 |
|
|
<!-- ========================================================== -->
|
265 |
|
|
<element name="TopoCurve" type="gml:TopoCurveType"/>
|
266 |
|
|
<!-- ============================================================= -->
|
267 |
|
|
<complexType name="TopoCurveType">
|
268 |
|
|
<annotation>
|
269 |
|
|
<documentation>The end Node of each directedEdge of a TopoCurveType
|
270 |
|
|
is the start Node of the next directedEdge of the TopoCurveType in document order. The TopoCurve type and element represent a homogeneous topological expression, a list of directed edges, which if realised are isomorphic to a geometric curve primitive. The intended use of TopoCurve is to appear within a line feature instance to express the structural and geometric relationships of this line to other features via the shared edge definitions.</documentation>
|
271 |
|
|
</annotation>
|
272 |
|
|
<complexContent>
|
273 |
|
|
<extension base="gml:AbstractTopologyType">
|
274 |
|
|
<sequence>
|
275 |
|
|
<element ref="gml:directedEdge" maxOccurs="unbounded"/>
|
276 |
|
|
</sequence>
|
277 |
|
|
</extension>
|
278 |
|
|
</complexContent>
|
279 |
|
|
</complexType>
|
280 |
|
|
<!-- ========================================================== -->
|
281 |
|
|
<!-- ===== Property for topology association - by Value ===== -->
|
282 |
|
|
<element name="topoCurveProperty" type="gml:TopoCurvePropertyType"/>
|
283 |
|
|
<!-- ============================================================= -->
|
284 |
|
|
<complexType name="TopoCurvePropertyType">
|
285 |
|
|
<sequence>
|
286 |
|
|
<element ref="gml:TopoCurve"/>
|
287 |
|
|
</sequence>
|
288 |
|
|
</complexType>
|
289 |
|
|
<!-- ========================================================== -->
|
290 |
|
|
<!-- ========================================================== -->
|
291 |
|
|
<element name="TopoSurface" type="gml:TopoSurfaceType"/>
|
292 |
|
|
<!-- ============================================================= -->
|
293 |
|
|
<complexType name="TopoSurfaceType">
|
294 |
|
|
<annotation>
|
295 |
|
|
<documentation>The TopoSurface type and element represent a homogeneous topological expression, a set of directed faces, which if realised are isomorphic to a geometric surface primitive. The intended use of TopoSurface is to appear within a surface feature instance to express the structural and possibly geometric relationships of this surface to other features via the shared face definitions.</documentation>
|
296 |
|
|
</annotation>
|
297 |
|
|
<complexContent>
|
298 |
|
|
<extension base="gml:AbstractTopologyType">
|
299 |
|
|
<sequence>
|
300 |
|
|
<element ref="gml:directedFace" maxOccurs="unbounded"/>
|
301 |
|
|
</sequence>
|
302 |
|
|
</extension>
|
303 |
|
|
</complexContent>
|
304 |
|
|
</complexType>
|
305 |
|
|
<!-- ========================================================== -->
|
306 |
|
|
<!-- ===== Property for topology association - by Value ===== -->
|
307 |
|
|
<element name="topoSurfaceProperty" type="gml:TopoSurfacePropertyType"/>
|
308 |
|
|
<!-- ============================================================= -->
|
309 |
|
|
<complexType name="TopoSurfacePropertyType">
|
310 |
|
|
<sequence>
|
311 |
|
|
<element ref="gml:TopoSurface"/>
|
312 |
|
|
</sequence>
|
313 |
|
|
</complexType>
|
314 |
|
|
<!-- ========================================================== -->
|
315 |
|
|
<element name="TopoVolume" type="gml:TopoVolumeType"/>
|
316 |
|
|
<!-- ============================================================= -->
|
317 |
|
|
<complexType name="TopoVolumeType">
|
318 |
|
|
<annotation>
|
319 |
|
|
<documentation>The TopoVolume type and element represent a homogeneous topological expression, a set of directed TopoSolids, which if realised are isomorphic to a geometric solid primitive. The intended use of TopoVolume is to appear within a 3D solid feature instance to express the structural and geometric relationships of this solid to other features via the shared TopoSolid definitions. . Note the orientation assigned to the directedSolid has no meaning in three dimensions. It is preserved for symmetry with the preceding types and elements.</documentation>
|
320 |
|
|
</annotation>
|
321 |
|
|
<complexContent>
|
322 |
|
|
<extension base="gml:AbstractTopologyType">
|
323 |
|
|
<sequence>
|
324 |
|
|
<element ref="gml:directedTopoSolid" maxOccurs="unbounded"/>
|
325 |
|
|
</sequence>
|
326 |
|
|
</extension>
|
327 |
|
|
</complexContent>
|
328 |
|
|
</complexType>
|
329 |
|
|
<!-- ========================================================== -->
|
330 |
|
|
<!-- ===== Property for topology association - by Value ===== -->
|
331 |
|
|
<element name="topoVolumeProperty" type="gml:TopoVolumePropertyType"/>
|
332 |
|
|
<!-- ============================================================= -->
|
333 |
|
|
<complexType name="TopoVolumePropertyType">
|
334 |
|
|
<sequence>
|
335 |
|
|
<element ref="gml:TopoVolume"/>
|
336 |
|
|
</sequence>
|
337 |
|
|
</complexType>
|
338 |
|
|
<!-- ========================================================== -->
|
339 |
|
|
<!-- ========================================================== -->
|
340 |
|
|
<element name="TopoComplex" type="gml:TopoComplexType" substitutionGroup="gml:_Topology"/>
|
341 |
|
|
<!-- ========================================================== -->
|
342 |
|
|
<complexType name="TopoComplexType">
|
343 |
|
|
<annotation>
|
344 |
|
|
<documentation>This type represents a TP_Complex capable of holding topological primitives.</documentation>
|
345 |
|
|
</annotation>
|
346 |
|
|
<complexContent>
|
347 |
|
|
<extension base="gml:AbstractTopologyType">
|
348 |
|
|
<sequence>
|
349 |
|
|
<element ref="gml:maximalComplex"/>
|
350 |
|
|
<element ref="gml:superComplex" minOccurs="0" maxOccurs="unbounded"/>
|
351 |
|
|
<element ref="gml:subComplex" minOccurs="0" maxOccurs="unbounded"/>
|
352 |
|
|
<element ref="gml:topoPrimitiveMember" minOccurs="0" maxOccurs="unbounded"/>
|
353 |
|
|
<element ref="gml:topoPrimitiveMembers" minOccurs="0"/>
|
354 |
|
|
</sequence>
|
355 |
|
|
<attribute name="isMaximal" type="boolean" default="false"/>
|
356 |
|
|
</extension>
|
357 |
|
|
</complexContent>
|
358 |
|
|
</complexType>
|
359 |
|
|
<!-- ===== Property for topology association - by Value or Reference ===== -->
|
360 |
|
|
<element name="topoComplexProperty" type="gml:TopoComplexMemberType"/>
|
361 |
|
|
<!-- ========================================================== -->
|
362 |
|
|
<element name="subComplex" type="gml:TopoComplexMemberType">
|
363 |
|
|
<annotation>
|
364 |
|
|
<appinfo>
|
365 |
|
|
<sch:pattern name="refAndContent co-occurence prohibited">
|
366 |
|
|
<sch:rule context="gml:subComplex">
|
367 |
|
|
<sch:extends rule="hrefOrContent"/>
|
368 |
|
|
</sch:rule>
|
369 |
|
|
</sch:pattern>
|
370 |
|
|
</appinfo>
|
371 |
|
|
</annotation>
|
372 |
|
|
</element>
|
373 |
|
|
<!-- ========================================================== -->
|
374 |
|
|
<element name="superComplex" type="gml:TopoComplexMemberType">
|
375 |
|
|
<annotation>
|
376 |
|
|
<appinfo>
|
377 |
|
|
<sch:pattern name="refAndContent co-occurence prohibited">
|
378 |
|
|
<sch:rule context="gml:superComplex">
|
379 |
|
|
<sch:extends rule="hrefOrContent"/>
|
380 |
|
|
</sch:rule>
|
381 |
|
|
</sch:pattern>
|
382 |
|
|
</appinfo>
|
383 |
|
|
</annotation>
|
384 |
|
|
</element>
|
385 |
|
|
<!-- ========================================================== -->
|
386 |
|
|
<element name="maximalComplex" type="gml:TopoComplexMemberType">
|
387 |
|
|
<annotation>
|
388 |
|
|
<appinfo>
|
389 |
|
|
<sch:pattern name="refAndContent co-occurence prohibited">
|
390 |
|
|
<sch:rule context="gml:subComplex">
|
391 |
|
|
<sch:extends rule="hrefOrContent"/>
|
392 |
|
|
</sch:rule>
|
393 |
|
|
</sch:pattern>
|
394 |
|
|
</appinfo>
|
395 |
|
|
<documentation>Need schamatron test here that isMaximal attribute value is true</documentation>
|
396 |
|
|
</annotation>
|
397 |
|
|
</element>
|
398 |
|
|
<!-- ============================================================= -->
|
399 |
|
|
<complexType name="TopoComplexMemberType">
|
400 |
|
|
<annotation>
|
401 |
|
|
<documentation>This Property can be used to embed a TopoComplex in a feature collection.</documentation>
|
402 |
|
|
</annotation>
|
403 |
|
|
<sequence>
|
404 |
|
|
<element ref="gml:TopoComplex" minOccurs="0"/>
|
405 |
|
|
</sequence>
|
406 |
|
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
407 |
|
|
</complexType>
|
408 |
|
|
<!-- ========================================================== -->
|
409 |
|
|
<!-- ===== Property for topology association - by Value or Reference ===== -->
|
410 |
|
|
<element name="topoPrimitiveMember" type="gml:TopoPrimitiveMemberType">
|
411 |
|
|
<annotation>
|
412 |
|
|
<appinfo>
|
413 |
|
|
<sch:pattern name="refAndContent co-occurence prohibited">
|
414 |
|
|
<sch:rule context="gml:topoPrimitiveMember">
|
415 |
|
|
<sch:extends rule="hrefOrContent"/>
|
416 |
|
|
</sch:rule>
|
417 |
|
|
</sch:pattern>
|
418 |
|
|
</appinfo>
|
419 |
|
|
</annotation>
|
420 |
|
|
</element>
|
421 |
|
|
<!-- ============================================================= -->
|
422 |
|
|
<complexType name="TopoPrimitiveMemberType">
|
423 |
|
|
<annotation>
|
424 |
|
|
<documentation>This type supports embedding topological primitives in a TopoComplex.</documentation>
|
425 |
|
|
</annotation>
|
426 |
|
|
<sequence>
|
427 |
|
|
<element ref="gml:_TopoPrimitive" minOccurs="0"/>
|
428 |
|
|
</sequence>
|
429 |
|
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
430 |
|
|
</complexType>
|
431 |
|
|
<!-- ========================================================== -->
|
432 |
|
|
<!-- ===== Property for topology association - by Value ===== -->
|
433 |
|
|
<element name="topoPrimitiveMembers" type="gml:TopoPrimitiveArrayAssociationType">
|
434 |
|
|
<annotation>
|
435 |
|
|
<appinfo>
|
436 |
|
|
<sch:pattern name="refAndContent co-occurence prohibited">
|
437 |
|
|
<sch:rule context="gml:topoPrimitiveMember">
|
438 |
|
|
<sch:extends rule="hrefOrContent"/>
|
439 |
|
|
</sch:rule>
|
440 |
|
|
</sch:pattern>
|
441 |
|
|
</appinfo>
|
442 |
|
|
</annotation>
|
443 |
|
|
</element>
|
444 |
|
|
<!-- ========================================================== -->
|
445 |
|
|
<complexType name="TopoPrimitiveArrayAssociationType">
|
446 |
|
|
<annotation>
|
447 |
|
|
<documentation>This type supports embedding an array of topological primitives in a TopoComplex</documentation>
|
448 |
|
|
</annotation>
|
449 |
|
|
<!-- <complexContent>
|
450 |
|
|
<restriction base="gml:ArrayAssociationType"> -->
|
451 |
|
|
<sequence>
|
452 |
|
|
<choice minOccurs="0" maxOccurs="unbounded">
|
453 |
|
|
<element ref="gml:_TopoPrimitive"/>
|
454 |
|
|
</choice>
|
455 |
|
|
</sequence>
|
456 |
|
|
<!-- </restriction>
|
457 |
|
|
</complexContent> -->
|
458 |
|
|
</complexType>
|
459 |
|
|
<!-- ========================================================== -->
|
460 |
|
|
</schema>
|