Project

General

Profile

1 9559 tao
<?xml version="1.0" encoding="UTF-8"?>
2
<schema targetNamespace="http://www.opengis.net/gml/3.2" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.2.1.2">
3
	<annotation>
4
		<appinfo source="urn:x-ogc:specification:gml:schema-xsd:topology:3.2.1">topology.xsd</appinfo>
5
		<documentation>See ISO/DIS 19136 Clause 14.
6
Topology is the branch of mathematics describing the properties of objects which are invariant under continuous deformation. For example, a circle is topologically equivalent to an ellipse because one can be transformed into the other by stretching. In geographic modelling, the foremost use of topology is in accelerating computational geometry. The constructs of topology allow characterisation of the spatial relationships between objects using simple combinatorial or algebraic algorithms. Topology, realised by the appropriate geometry, also allows a compact and unambiguous mechanism for expressing shared geometry among geographic features.
7
There are four instantiable classes of primitive topology objects, one for each dimension up to 3D. In addition, topological complexes are supported, too.
8
There is strong symmetry in the (topological boundary and coboundary) relationships between topology primitives of adjacent dimensions. Topology primitives are bounded by directed primitives of one lower dimension. The coboundary of each topology primitive is formed from directed topology primitives of one higher dimension.
9
10
GML is an OGC Standard.
11
Copyright (c) 2007,2010 Open Geospatial Consortium.
12
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
13
		</documentation>
14
	</annotation>
15
  <include schemaLocation="gml.xsd"/>
16
  <include schemaLocation="geometryComplexes.xsd"/>
17
  <complexType name="AbstractTopologyType" abstract="true">
18
    <annotation>
19
      <documentation>This abstract type supplies the root or base type for all topological elements including primitives and complexes. It inherits AbstractGMLType and hence can be identified using the gml:id attribute.</documentation>
20
    </annotation>
21
    <complexContent>
22
      <extension base="gml:AbstractGMLType"/>
23
    </complexContent>
24
  </complexType>
25
  <element name="AbstractTopology" type="gml:AbstractTopologyType" abstract="true" substitutionGroup="gml:AbstractGML"/>
26
  <complexType name="AbstractTopoPrimitiveType" abstract="true">
27
    <complexContent>
28
      <extension base="gml:AbstractTopologyType"/>
29
    </complexContent>
30
  </complexType>
31
  <element name="AbstractTopoPrimitive" type="gml:AbstractTopoPrimitiveType" abstract="true" substitutionGroup="gml:AbstractTopology">
32
    <annotation>
33
      <documentation>gml:AbstractTopoPrimitive acts as the base type for all topological primitives. Topology primitives are the atomic (smallest possible) units of a topology complex.
34
Each topology primitive may contain references to other topology primitives of codimension 2 or more (gml:isolated). Conversely, nodes may have faces as containers and nodes and edges may have solids as containers (gml:container).</documentation>
35
    </annotation>
36
  </element>
37
  <complexType name="NodeOrEdgePropertyType">
38
    <choice minOccurs="0">
39
      <element ref="gml:Node"/>
40
      <element ref="gml:Edge"/>
41
    </choice>
42
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
43
    <attributeGroup ref="gml:OwnershipAttributeGroup"/>
44
  </complexType>
45
  <complexType name="NodePropertyType">
46
    <choice minOccurs="0">
47
      <element ref="gml:Node"/>
48
    </choice>
49
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
50
    <attributeGroup ref="gml:OwnershipAttributeGroup"/>
51
  </complexType>
52
  <complexType name="FaceOrTopoSolidPropertyType">
53
    <choice minOccurs="0">
54
      <element ref="gml:Face"/>
55
      <element ref="gml:TopoSolid"/>
56
    </choice>
57
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
58
    <attributeGroup ref="gml:OwnershipAttributeGroup"/>
59
  </complexType>
60
  <complexType name="TopoSolidPropertyType">
61
    <choice minOccurs="0">
62
      <element ref="gml:TopoSolid"/>
63
    </choice>
64
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
65
    <attributeGroup ref="gml:OwnershipAttributeGroup"/>
66
  </complexType>
67
  <complexType name="NodeType">
68
    <complexContent>
69
      <extension base="gml:AbstractTopoPrimitiveType">
70
        <sequence>
71
          <element name="container" type="gml:FaceOrTopoSolidPropertyType" minOccurs="0"/>
72
          <element ref="gml:directedEdge" minOccurs="0" maxOccurs="unbounded">
73
            <annotation>
74
              <documentation>In the case of planar topology, a gml:Node must have a clockwise sequence of gml:directedEdge properties, to ensure a lossless topology representation as defined by Kuijpers, et. al. (see OGC 05-102 Topology IPR).</documentation>
75
            </annotation>
76
          </element>
77
          <element ref="gml:pointProperty" minOccurs="0"/>
78
        </sequence>
79
        <attributeGroup ref="gml:AggregationAttributeGroup"/>
80
      </extension>
81
    </complexContent>
82
  </complexType>
83
  <element name="Node" type="gml:NodeType" substitutionGroup="gml:AbstractTopoPrimitive">
84
    <annotation>
85
      <documentation>gml:Node represents the 0-dimensional primitive.
86
The optional coboundary of a node (gml:directedEdge) is a sequence of directed edges which are incident on this node. Edges emanating from this node appear in the node coboundary with a negative orientation.
87
If provided, the aggregationType attribute shall have the value "sequence".
88
A node may optionally be realised by a 0-dimensional geometric primitive (gml:pointProperty).</documentation>
89
    </annotation>
90
  </element>
91
  <element name="directedNode" type="gml:DirectedNodePropertyType">
92
    <annotation>
93
      <documentation>A gml:directedNode property element describes the boundary of topology edges and is used in the support of topological point features via the gml:TopoPoint expression, see below. The orientation attribute of type gml:SignType expresses the sense in which the included node is used: start ("-") or end ("+") node.</documentation>
94
    </annotation>
95
  </element>
96
  <complexType name="DirectedNodePropertyType">
97
    <sequence minOccurs="0">
98
      <element ref="gml:Node"/>
99
    </sequence>
100
    <attribute name="orientation" type="gml:SignType" default="+"/>
101
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
102
    <attributeGroup ref="gml:OwnershipAttributeGroup"/>
103
  </complexType>
104
  <complexType name="EdgeType">
105
    <complexContent>
106
      <extension base="gml:AbstractTopoPrimitiveType">
107
        <sequence>
108
          <element name="container" type="gml:TopoSolidPropertyType" minOccurs="0"/>
109
          <element ref="gml:directedNode" minOccurs="2" maxOccurs="2"/>
110
          <element ref="gml:directedFace" minOccurs="0" maxOccurs="unbounded"/>
111
          <element ref="gml:curveProperty" minOccurs="0"/>
112
        </sequence>
113
        <attributeGroup ref="gml:AggregationAttributeGroup"/>
114
      </extension>
115
    </complexContent>
116
  </complexType>
117
  <element name="Edge" type="gml:EdgeType" substitutionGroup="gml:AbstractTopoPrimitive">
118
    <annotation>
119
      <documentation>gml:Edge represents the 1-dimensional primitive.
120
The topological boundary of an Edge (gml:directedNode) consists of a negatively directed start Node and a positively directed end Node.
121
The optional coboundary of an edge (gml:directedFace) is a circular sequence of directed faces which are incident on this edge in document order. 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 "-".
122
If provided, the aggregationType attribute shall have the value "sequence".
123
An edge may optionally be realised by a 1-dimensional geometric primitive (gml:curveProperty).</documentation>
124
    </annotation>
125
  </element>
126
  <element name="directedEdge" type="gml:DirectedEdgePropertyType">
127
    <annotation>
128
      <documentation>A gml:directedEdge property element describes the boundary of topology faces, the coBoundary of topology nodes and is used in the support of topological line features via the gml:TopoCurve expression, see below. The orientation attribute of type gml:SignType expresses the sense in which the included edge is used, i.e. forward or reverse.</documentation>
129
    </annotation>
130
  </element>
131
  <complexType name="DirectedEdgePropertyType">
132
    <sequence minOccurs="0">
133
      <element ref="gml:Edge"/>
134
    </sequence>
135
    <attribute name="orientation" type="gml:SignType" default="+"/>
136
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
137
    <attributeGroup ref="gml:OwnershipAttributeGroup"/>
138
  </complexType>
139
  <complexType name="FaceType">
140
    <complexContent>
141
      <extension base="gml:AbstractTopoPrimitiveType">
142
        <sequence>
143
          <element name="isolated" type="gml:NodePropertyType" minOccurs="0" maxOccurs="unbounded"/>
144
          <element ref="gml:directedEdge" maxOccurs="unbounded"/>
145
          <element ref="gml:directedTopoSolid" minOccurs="0" maxOccurs="2"/>
146
          <element ref="gml:surfaceProperty" minOccurs="0"/>
147
        </sequence>
148
        <attributeGroup ref="gml:AggregationAttributeGroup"/>
149
        <attribute name="universal" type="boolean" use="optional" default="false">
150
          <annotation>
151
            <documentation>If the topological representation exists an unbounded manifold (e.g. Euclidean plane), a gml:Face must indicate whether it is a universal face or not, to ensure a lossless topology representation as defined by Kuijpers, et. al. (see OGC 05-102 Topology IPR). The optional universal attribute of type boolean is used to indicate this. NOTE The universal face is normally not part of any feature, and is used to represent the unbounded portion of the data set. Its interior boundary (it has no exterior boundary) would normally be considered the exterior boundary of the map represented by the data set. </documentation>
152
          </annotation>
153
        </attribute>
154
      </extension>
155
    </complexContent>
156
  </complexType>
157
  <element name="Face" type="gml:FaceType" substitutionGroup="gml:AbstractTopoPrimitive">
158
    <annotation>
159
      <documentation>gml:Face represents the 2-dimensional topology primitive.
160
The topological boundary of a face (gml:directedEdge) consists of a sequence of directed edges. If provided, the aggregationType attribute shall have the value "sequence".
161
The optional coboundary of a face (gml:directedTopoSolid) is a pair of directed solids which are bounded by this face. A positively directed solid corresponds to a solid which lies in the direction of the negatively directed normal to the face in any geometric realisation.
162
A face may optionally be realised by a 2-dimensional geometric primitive (gml:surfaceProperty).</documentation>
163
    </annotation>
164
  </element>
165
  <element name="directedFace" type="gml:DirectedFacePropertyType">
166
    <annotation>
167
      <documentation>The gml:directedFace property element describes the boundary of topology solids, in the coBoundary of topology edges and is used in the support of surface features via the gml:TopoSurface expression, see below. The orientation attribute of type gml:SignType expresses the sense in which the included face is used i.e. inward or outward with respect to the surface normal in any geometric realisation.</documentation>
168
    </annotation>
169
  </element>
170
  <complexType name="DirectedFacePropertyType">
171
    <sequence minOccurs="0">
172
      <element ref="gml:Face"/>
173
    </sequence>
174
    <attribute name="orientation" type="gml:SignType" default="+"/>
175
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
176
    <attributeGroup ref="gml:OwnershipAttributeGroup"/>
177
  </complexType>
178
  <complexType name="TopoSolidType">
179
    <complexContent>
180
      <extension base="gml:AbstractTopoPrimitiveType">
181
        <sequence>
182
          <element name="isolated" type="gml:NodeOrEdgePropertyType" minOccurs="0" maxOccurs="unbounded"/>
183
          <element ref="gml:directedFace" maxOccurs="unbounded"/>
184
          <element ref="gml:solidProperty" minOccurs="0"/>
185
        </sequence>
186
        <attributeGroup ref="gml:AggregationAttributeGroup"/>
187
        <attribute name="universal" type="boolean" use="optional" default="false">
188
          <annotation>
189
            <documentation>A gml:TopoSolid must indicate whether it is a universal topo-solid or not, to ensure a lossless topology representation as defined by Kuijpers, et. al. (see OGC 05-102 Topology IPR). The optional universal attribute of type boolean is used to indicate this and the default is fault. NOTE The universal topo-solid is normally not part of any feature, and is used to represent the unbounded portion of the data set. Its interior boundary (it has no exterior boundary) would normally be considered the exterior boundary of the data set.</documentation>
190
          </annotation>
191
        </attribute>
192
      </extension>
193
    </complexContent>
194
  </complexType>
195
  <element name="TopoSolid" type="gml:TopoSolidType" substitutionGroup="gml:AbstractTopoPrimitive">
196
    <annotation>
197
      <documentation>gml:TopoSolid represents the 3-dimensional topology primitive.
198
The topological boundary of a solid (gml:directedFace) consists of a set of directed faces.
199
A solid may optionally be realised by a 3-dimensional geometric primitive (gml:solidProperty).</documentation>
200
    </annotation>
201
  </element>
202
  <element name="directedTopoSolid" type="gml:DirectedTopoSolidPropertyType">
203
    <annotation>
204
      <documentation>The gml:directedSolid property element describes the coBoundary of topology faces and is used in the support of volume features via the gml:TopoVolume expression, see below. The orientation attribute of type gml:SignType expresses the sense in which the included solid appears in the face coboundary. In the context of a gml:TopoVolume the orientation attribute has no meaning.</documentation>
205
    </annotation>
206
  </element>
207
  <complexType name="DirectedTopoSolidPropertyType">
208
    <sequence minOccurs="0">
209
      <element ref="gml:TopoSolid"/>
210
    </sequence>
211
    <attribute name="orientation" type="gml:SignType" default="+"/>
212
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
213
    <attributeGroup ref="gml:OwnershipAttributeGroup"/>
214
  </complexType>
215
  <complexType name="TopoPointType">
216
    <complexContent>
217
      <extension base="gml:AbstractTopologyType">
218
        <sequence>
219
          <element ref="gml:directedNode"/>
220
        </sequence>
221
      </extension>
222
    </complexContent>
223
  </complexType>
224
  <element name="TopoPoint" type="gml:TopoPointType">
225
    <annotation>
226
      <documentation>The intended use of gml:TopoPoint is to appear within a point feature to express the structural and possibly geometric relationships of this feature to other features via shared node definitions.</documentation>
227
    </annotation>
228
  </element>
229
  <complexType name="TopoPointPropertyType">
230
    <sequence>
231
      <element ref="gml:TopoPoint"/>
232
    </sequence>
233
    <attributeGroup ref="gml:OwnershipAttributeGroup"/>
234
  </complexType>
235
  <element name="topoPointProperty" type="gml:TopoPointPropertyType">
236
    <annotation>
237
      <documentation>The gml:topoPointProperty property element may be used in features to express their relationship to the referenced topology node.</documentation>
238
    </annotation>
239
  </element>
240
  <complexType name="TopoCurveType">
241
    <complexContent>
242
      <extension base="gml:AbstractTopologyType">
243
        <sequence>
244
          <element ref="gml:directedEdge" maxOccurs="unbounded"/>
245
        </sequence>
246
        <attributeGroup ref="gml:AggregationAttributeGroup"/>
247
      </extension>
248
    </complexContent>
249
  </complexType>
250
  <element name="TopoCurve" type="gml:TopoCurveType">
251
    <annotation>
252
      <documentation>gml:TopoCurve represents a homogeneous topological expression, a sequence of directed edges, which if realised are isomorphic to a geometric curve primitive. The intended use of gml:TopoCurve is to appear within a line feature to express the structural and geometric relationships of this feature to other features via the shared edge definitions.
253
If provided, the aggregationType attribute shall have the value "sequence".</documentation>
254
    </annotation>
255
  </element>
256
  <complexType name="TopoCurvePropertyType">
257
    <sequence>
258
      <element ref="gml:TopoCurve"/>
259
    </sequence>
260
    <attributeGroup ref="gml:OwnershipAttributeGroup"/>
261
  </complexType>
262
  <element name="topoCurveProperty" type="gml:TopoCurvePropertyType">
263
    <annotation>
264
      <documentation>The gml:topoCurveProperty property element may be used in features to express their relationship to the referenced topology edges.</documentation>
265
    </annotation>
266
  </element>
267
  <complexType name="TopoSurfaceType">
268
    <complexContent>
269
      <extension base="gml:AbstractTopologyType">
270
        <sequence>
271
          <element ref="gml:directedFace" maxOccurs="unbounded"/>
272
        </sequence>
273
        <attributeGroup ref="gml:AggregationAttributeGroup"/>
274
      </extension>
275
    </complexContent>
276
  </complexType>
277
  <element name="TopoSurface" type="gml:TopoSurfaceType">
278
    <annotation>
279
      <documentation>gml:TopoSurface represents a homogeneous topological expression, a set of directed faces, which if realised are isomorphic to a geometric surface primitive. The intended use of gml:TopoSurface is to appear within a surface feature to express the structural and possibly geometric relationships of this surface feature to other features via the shared face definitions.</documentation>
280
    </annotation>
281
  </element>
282
  <complexType name="TopoSurfacePropertyType">
283
    <sequence>
284
      <element ref="gml:TopoSurface"/>
285
    </sequence>
286
    <attributeGroup ref="gml:OwnershipAttributeGroup"/>
287
  </complexType>
288
  <element name="topoSurfaceProperty" type="gml:TopoSurfacePropertyType">
289
    <annotation>
290
      <documentation>The gml:topoSurfaceProperty property element may be used in features to express their relationship to the referenced topology faces.</documentation>
291
    </annotation>
292
  </element>
293
  <complexType name="TopoVolumeType">
294
    <complexContent>
295
      <extension base="gml:AbstractTopologyType">
296
        <sequence>
297
          <element ref="gml:directedTopoSolid" maxOccurs="unbounded"/>
298
        </sequence>
299
        <attributeGroup ref="gml:AggregationAttributeGroup"/>
300
      </extension>
301
    </complexContent>
302
  </complexType>
303
  <element name="TopoVolume" type="gml:TopoVolumeType">
304
    <annotation>
305
      <documentation>gml:TopoVolume represents a homogeneous topological expression, a set of directed topologic solids, which if realised are isomorphic to a geometric solid primitive. The intended use of gml:TopoVolume is to appear within a solid feature to express the structural and geometric relationships of this solid feature to other features via the shared solid definitions.</documentation>
306
    </annotation>
307
  </element>
308
  <complexType name="TopoVolumePropertyType">
309
    <sequence>
310
      <element ref="gml:TopoVolume"/>
311
    </sequence>
312
    <attributeGroup ref="gml:OwnershipAttributeGroup"/>
313
  </complexType>
314
  <element name="topoVolumeProperty" type="gml:TopoVolumePropertyType">
315
    <annotation>
316
      <documentation>The gml:topoVolumeProperty element may be used in features to express their relationship to the referenced topology volume.</documentation>
317
    </annotation>
318
  </element>
319
  <complexType name="TopoComplexType">
320
    <complexContent>
321
      <extension base="gml:AbstractTopologyType">
322
        <sequence>
323
          <element ref="gml:maximalComplex"/>
324
          <element ref="gml:superComplex" minOccurs="0" maxOccurs="unbounded"/>
325
          <element ref="gml:subComplex" minOccurs="0" maxOccurs="unbounded"/>
326
          <element ref="gml:topoPrimitiveMember" minOccurs="0" maxOccurs="unbounded"/>
327
          <element ref="gml:topoPrimitiveMembers" minOccurs="0"/>
328
        </sequence>
329
        <attribute name="isMaximal" type="boolean" default="false"/>
330
        <attributeGroup ref="gml:AggregationAttributeGroup"/>
331
      </extension>
332
    </complexContent>
333
  </complexType>
334
  <element name="TopoComplex" type="gml:TopoComplexType" substitutionGroup="gml:AbstractTopology">
335
    <annotation>
336
      <documentation>gml:TopoComplex is a collection of topological primitives.
337
Each complex holds a reference to its maximal complex (gml:maximalComplex) and optionally to sub- or super-complexes (gml:subComplex, gml:superComplex).
338
A topology complex contains its primitive and sub-complex members.
339
</documentation>
340
    </annotation>
341
  </element>
342
  <element name="subComplex" type="gml:TopoComplexPropertyType">
343
    <annotation>
344
      <documentation>The property elements gml:subComplex, gml:superComplex and gml:maximalComplex provide an encoding for relationships between topology complexes as described for gml:TopoComplex above.</documentation>
345
    </annotation>
346
  </element>
347
  <element name="superComplex" type="gml:TopoComplexPropertyType">
348
    <annotation>
349
      <documentation>The property elements gml:subComplex, gml:superComplex and gml:maximalComplex provide an encoding for relationships between topology complexes as described for gml:TopoComplex above.</documentation>
350
    </annotation>
351
  </element>
352
  <element name="maximalComplex" type="gml:TopoComplexPropertyType">
353
    <annotation>
354
      <documentation>The property elements gml:subComplex, gml:superComplex and gml:maximalComplex provide an encoding for relationships between topology complexes as described for gml:TopoComplex above.</documentation>
355
    </annotation>
356
  </element>
357
  <element name="topoPrimitiveMember" type="gml:TopoPrimitiveMemberType">
358
    <annotation>
359
      <documentation>The gml:topoPrimitiveMember property element encodes for the relationship between a topology complex and a single topology primitive.</documentation>
360
    </annotation>
361
  </element>
362
  <complexType name="TopoPrimitiveMemberType">
363
    <sequence minOccurs="0">
364
      <element ref="gml:AbstractTopoPrimitive"/>
365
    </sequence>
366
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
367
    <attributeGroup ref="gml:OwnershipAttributeGroup"/>
368
  </complexType>
369
  <element name="topoPrimitiveMembers" type="gml:TopoPrimitiveArrayAssociationType">
370
    <annotation>
371
      <documentation>The gml:topoPrimitiveMembers property element encodes the relationship between a topology complex and an arbitrary number of topology primitives.</documentation>
372
    </annotation>
373
  </element>
374
  <complexType name="TopoPrimitiveArrayAssociationType">
375
    <sequence minOccurs="0" maxOccurs="unbounded">
376
      <element ref="gml:AbstractTopoPrimitive"/>
377
    </sequence>
378
    <attributeGroup ref="gml:OwnershipAttributeGroup"/>
379
  </complexType>
380
  <complexType name="TopoComplexPropertyType">
381
    <sequence minOccurs="0">
382
      <element ref="gml:TopoComplex"/>
383
    </sequence>
384
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
385
  </complexType>
386
</schema>