Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<schema targetNamespace="http://www.opengis.net/gml/3.2" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink" elementFormDefault="qualified" version="3.2.1.2">
3
	<annotation>
4
		<appinfo source="urn:x-ogc:specification:gml:schema-xsd:geometryPrimitives:3.2.1">geometryPrimitives.xsd</appinfo>
5
		<documentation>See ISO/DIS 19136 Clause 11.
6
Beside the "simple" geometric primitives specified in the previous Clause, this Clause specifies additional primitives to describe real world situations which require a more expressive geometry model.
7

    
8
GML is an OGC Standard.
9
Copyright (c) 2007,2010 Open Geospatial Consortium.
10
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
11
		</documentation>
12
	</annotation>
13
	<include schemaLocation="gml.xsd"/>
14
	<include schemaLocation="geometryBasic2d.xsd"/>
15
	<complexType name="CurveType">
16
		<complexContent>
17
			<extension base="gml:AbstractCurveType">
18
				<sequence>
19
					<element ref="gml:segments"/>
20
				</sequence>
21
			</extension>
22
		</complexContent>
23
	</complexType>
24
	<element name="Curve" type="gml:CurveType" substitutionGroup="gml:AbstractCurve">
25
		<annotation>
26
			<documentation>A curve is a 1-dimensional primitive. Curves are continuous, connected, and have a measurable length in terms of the coordinate system. 
27
A curve is composed of one or more curve segments. Each curve segment within a curve may be defined using a different interpolation method. The curve segments are connected to one another, with the end point of each segment except the last being the start point of the next segment in the segment list.
28
The orientation of the curve is positive.
29
The element segments encapsulates the segments of the curve.</documentation>
30
		</annotation>
31
	</element>
32
	<complexType name="OrientableCurveType">
33
		<complexContent>
34
			<extension base="gml:AbstractCurveType">
35
				<sequence>
36
					<element ref="gml:baseCurve"/>
37
				</sequence>
38
				<attribute name="orientation" type="gml:SignType" default="+"/>
39
			</extension>
40
		</complexContent>
41
	</complexType>
42
	<element name="baseCurve" type="gml:CurvePropertyType">
43
		<annotation>
44
			<documentation>The property baseCurve references or contains the base curve, i.e. it either references the base curve via the XLink-attributes or contains the curve element. A curve element is any element which is substitutable for AbstractCurve. The base curve has positive orientation.</documentation>
45
		</annotation>
46
	</element>
47
	<element name="OrientableCurve" type="gml:OrientableCurveType" substitutionGroup="gml:AbstractCurve">
48
		<annotation>
49
			<documentation>OrientableCurve consists of a curve and an orientation. If the orientation is "+", then the OrientableCurve is identical to the baseCurve. If the orientation is "-", then the OrientableCurve is related to another AbstractCurve with a parameterization that reverses the sense of the curve traversal.</documentation>
50
		</annotation>
51
	</element>
52
	<complexType name="AbstractCurveSegmentType" abstract="true">
53
		<attribute name="numDerivativesAtStart" type="integer" default="0"/>
54
		<attribute name="numDerivativesAtEnd" type="integer" default="0"/>
55
		<attribute name="numDerivativeInterior" type="integer" default="0"/>
56
	</complexType>
57
	<element name="AbstractCurveSegment" type="gml:AbstractCurveSegmentType" abstract="true" substitutionGroup="gml:AbstractObject">
58
		<annotation>
59
			<documentation>A curve segment defines a homogeneous segment of a curve.
60
The attributes numDerivativesAtStart, numDerivativesAtEnd and numDerivativesInterior specify the type of continuity as specified in ISO 19107:2003, 6.4.9.3.
61
The AbstractCurveSegment element is the abstract head of the substituition group for all curve segment elements, i.e. continuous segments of the same interpolation mechanism.
62
All curve segments shall have an attribute interpolation with type gml:CurveInterpolationType specifying the curve interpolation mechanism used for this segment. This mechanism uses the control points and control parameters to determine the position of this curve segment.</documentation>
63
		</annotation>
64
	</element>
65
	<complexType name="CurveSegmentArrayPropertyType">
66
		<annotation>
67
			<documentation>gml:CurveSegmentArrayPropertyType is a container for an array of curve segments.</documentation>
68
		</annotation>
69
		<sequence minOccurs="0" maxOccurs="unbounded">
70
			<element ref="gml:AbstractCurveSegment"/>
71
		</sequence>
72
	</complexType>
73
	<element name="segments" type="gml:CurveSegmentArrayPropertyType">
74
		<annotation>
75
			<documentation>This property element contains a list of curve segments. The order of the elements is significant and shall be preserved when processing the array.</documentation>
76
		</annotation>
77
	</element>
78
	<simpleType name="CurveInterpolationType">
79
		<annotation>
80
			<documentation>gml:CurveInterpolationType is a list of codes that may be used to identify the interpolation mechanisms specified by an application schema.</documentation>
81
		</annotation>
82
		<restriction base="string">
83
			<enumeration value="linear"/>
84
			<enumeration value="geodesic"/>
85
			<enumeration value="circularArc3Points"/>
86
			<enumeration value="circularArc2PointWithBulge"/>
87
			<enumeration value="circularArcCenterPointWithRadius"/>
88
			<enumeration value="elliptical"/>
89
			<enumeration value="clothoid"/>
90
			<enumeration value="conic"/>
91
			<enumeration value="polynomialSpline"/>
92
			<enumeration value="cubicSpline"/>
93
			<enumeration value="rationalSpline"/>
94
		</restriction>
95
	</simpleType>
96
	<complexType name="LineStringSegmentType">
97
		<complexContent>
98
			<extension base="gml:AbstractCurveSegmentType">
99
				<sequence>
100
					<choice>
101
						<choice minOccurs="2" maxOccurs="unbounded">
102
							<element ref="gml:pos"/>
103
							<element ref="gml:pointProperty"/>
104
							<element ref="gml:pointRep"/>
105
						</choice>
106
						<element ref="gml:posList"/>
107
						<element ref="gml:coordinates"/>
108
					</choice>
109
				</sequence>
110
				<attribute name="interpolation" type="gml:CurveInterpolationType" fixed="linear"/>
111
			</extension>
112
		</complexContent>
113
	</complexType>
114
	<element name="LineStringSegment" type="gml:LineStringSegmentType" substitutionGroup="gml:AbstractCurveSegment">
115
		<annotation>
116
			<documentation>A LineStringSegment is a curve segment that is defined by two or more control points including the start and end point, with linear interpolation between them.
117
The content model follows the general pattern for the encoding of curve segments.</documentation>
118
		</annotation>
119
	</element>
120
	<complexType name="ArcStringType">
121
		<complexContent>
122
			<extension base="gml:AbstractCurveSegmentType">
123
				<sequence>
124
					<choice>
125
						<choice minOccurs="3" maxOccurs="unbounded">
126
							<element ref="gml:pos"/>
127
							<element ref="gml:pointProperty"/>
128
							<element ref="gml:pointRep"/>
129
						</choice>
130
						<element ref="gml:posList"/>
131
						<element ref="gml:coordinates"/>
132
					</choice>
133
				</sequence>
134
				<attribute name="interpolation" type="gml:CurveInterpolationType" fixed="circularArc3Points"/>
135
				<attribute name="numArc" type="integer"/>
136
			</extension>
137
		</complexContent>
138
	</complexType>
139
	<element name="ArcString" type="gml:ArcStringType" substitutionGroup="gml:AbstractCurveSegment">
140
		<annotation>
141
			<documentation>An ArcString is a curve segment that uses three-point circular arc interpolation ("circularArc3Points"). The number of arcs in the arc string may be explicitly stated in the attribute numArc. The number of control points in the arc string shall be 2 * numArc + 1.
142
The content model follows the general pattern for the encoding of curve segments.</documentation>
143
		</annotation>
144
	</element>
145
	<complexType name="ArcType">
146
		<complexContent>
147
			<restriction base="gml:ArcStringType">
148
				<sequence>
149
					<choice>
150
						<choice minOccurs="3" maxOccurs="3">
151
							<element ref="gml:pos"/>
152
							<element ref="gml:pointProperty"/>
153
							<element ref="gml:pointRep"/>
154
						</choice>
155
						<element ref="gml:posList"/>
156
						<element ref="gml:coordinates"/>
157
					</choice>
158
				</sequence>
159
				<attribute name="numArc" type="integer" fixed="1"/>
160
			</restriction>
161
		</complexContent>
162
	</complexType>
163
	<element name="Arc" type="gml:ArcType" substitutionGroup="gml:ArcString">
164
		<annotation>
165
			<documentation>An Arc is an arc string with only one arc unit, i.e. three control points including the start and end point. As arc is an arc string consisting of a single arc, the attribute "numArc" is fixed to "1".</documentation>
166
		</annotation>
167
	</element>
168
	<complexType name="CircleType">
169
		<complexContent>
170
			<extension base="gml:ArcType"/>
171
		</complexContent>
172
	</complexType>
173
	<element name="Circle" type="gml:CircleType" substitutionGroup="gml:Arc">
174
		<annotation>
175
			<documentation>A Circle is an arc whose ends coincide to form a simple closed loop. The three control points shall be distinct non-co-linear points for the circle to be unambiguously defined. The arc is simply extended past the third control point until the first control point is encountered.</documentation>
176
		</annotation>
177
	</element>
178
	<complexType name="ArcStringByBulgeType">
179
		<complexContent>
180
			<extension base="gml:AbstractCurveSegmentType">
181
				<sequence>
182
					<choice>
183
						<choice minOccurs="2" maxOccurs="unbounded">
184
							<element ref="gml:pos"/>
185
							<element ref="gml:pointProperty"/>
186
							<element ref="gml:pointRep"/>
187
						</choice>
188
						<element ref="gml:posList"/>
189
						<element ref="gml:coordinates"/>
190
					</choice>
191
					<element name="bulge" type="double" maxOccurs="unbounded"/>
192
					<element name="normal" type="gml:VectorType" maxOccurs="unbounded"/>
193
				</sequence>
194
				<attribute name="interpolation" type="gml:CurveInterpolationType" fixed="circularArc2PointWithBulge"/>
195
				<attribute name="numArc" type="integer"/>
196
			</extension>
197
		</complexContent>
198
	</complexType>
199
	<element name="ArcStringByBulge" type="gml:ArcStringByBulgeType" substitutionGroup="gml:AbstractCurveSegment">
200
		<annotation>
201
			<documentation>This variant of the arc computes the mid points of the arcs instead of storing the coordinates directly. The control point sequence consists of the start and end points of each arc plus the bulge (see ISO 19107:2003, 6.4.17.2). The normal is a vector normal (perpendicular) to the chord of the arc (see ISO 19107:2003, 6.4.17.4).
202
The interpolation is fixed as "circularArc2PointWithBulge".
203
The number of arcs in the arc string may be explicitly stated in the attribute numArc. The number of control points in the arc string shall be numArc + 1.
204
The content model follows the general pattern for the encoding of curve segments.</documentation>
205
		</annotation>
206
	</element>
207
	<complexType name="ArcByBulgeType">
208
		<complexContent>
209
			<restriction base="gml:ArcStringByBulgeType">
210
				<sequence>
211
					<choice>
212
						<choice minOccurs="2" maxOccurs="2">
213
							<element ref="gml:pos"/>
214
							<element ref="gml:pointProperty"/>
215
							<element ref="gml:pointRep"/>
216
						</choice>
217
						<element ref="gml:posList"/>
218
						<element ref="gml:coordinates"/>
219
					</choice>
220
					<element name="bulge" type="double"/>
221
					<element name="normal" type="gml:VectorType"/>
222
				</sequence>
223
				<attribute name="numArc" type="integer" fixed="1"/>
224
			</restriction>
225
		</complexContent>
226
	</complexType>
227
	<element name="ArcByBulge" type="gml:ArcByBulgeType" substitutionGroup="gml:ArcStringByBulge">
228
		<annotation>
229
			<documentation>An ArcByBulge is an arc string with only one arc unit, i.e. two control points, one bulge and one normal vector.
230
As arc is an arc string consisting of a single arc, the attribute "numArc" is fixed to "1".</documentation>
231
		</annotation>
232
	</element>
233
	<complexType name="ArcByCenterPointType">
234
		<complexContent>
235
			<extension base="gml:AbstractCurveSegmentType">
236
				<sequence>
237
					<choice>
238
						<choice>
239
							<element ref="gml:pos"/>
240
							<element ref="gml:pointProperty"/>
241
							<element ref="gml:pointRep"/>
242
						</choice>
243
						<element ref="gml:posList"/>
244
						<element ref="gml:coordinates"/>
245
					</choice>
246
					<element name="radius" type="gml:LengthType"/>
247
					<element name="startAngle" type="gml:AngleType" minOccurs="0"/>
248
					<element name="endAngle" type="gml:AngleType" minOccurs="0"/>
249
				</sequence>
250
				<attribute name="interpolation" type="gml:CurveInterpolationType" fixed="circularArcCenterPointWithRadius"/>
251
				<attribute name="numArc" type="integer" use="required" fixed="1"/>
252
			</extension>
253
		</complexContent>
254
	</complexType>
255
	<element name="ArcByCenterPoint" type="gml:ArcByCenterPointType" substitutionGroup="gml:AbstractCurveSegment">
256
		<annotation>
257
			<documentation>This variant of the arc requires that the points on the arc shall be computed instead of storing the coordinates directly. The single control point is the center point of the arc plus the radius and the bearing at start and end. This representation can be used only in 2D.
258
The element radius specifies the radius of the arc.
259
The element startAngle specifies the bearing of the arc at the start.
260
The element endAngle specifies the bearing of the arc at the end.
261
The interpolation is fixed as "circularArcCenterPointWithRadius".
262
Since this type describes always a single arc, the attribute "numArc" is fixed to "1".
263
The content model follows the general pattern for the encoding of curve segments.</documentation>
264
		</annotation>
265
	</element>
266
	<complexType name="CircleByCenterPointType">
267
		<complexContent>
268
			<restriction base="gml:ArcByCenterPointType">
269
				<sequence>
270
					<choice>
271
						<choice>
272
							<element ref="gml:pos"/>
273
							<element ref="gml:pointProperty"/>
274
							<element ref="gml:pointRep"/>
275
						</choice>
276
						<element ref="gml:posList"/>
277
						<element ref="gml:coordinates"/>
278
					</choice>
279
					<element name="radius" type="gml:LengthType"/>
280
				</sequence>
281
			</restriction>
282
		</complexContent>
283
	</complexType>
284
	<element name="CircleByCenterPoint" type="gml:CircleByCenterPointType" substitutionGroup="gml:ArcByCenterPoint">
285
		<annotation>
286
			<documentation>A gml:CircleByCenterPoint is an gml:ArcByCenterPoint with identical start and end angle to form a full circle. Again, this representation can be used only in 2D.</documentation>
287
		</annotation>
288
	</element>
289
	<complexType name="CubicSplineType">
290
		<complexContent>
291
			<extension base="gml:AbstractCurveSegmentType">
292
				<sequence>
293
					<choice>
294
						<choice minOccurs="2" maxOccurs="unbounded">
295
							<element ref="gml:pos"/>
296
							<element ref="gml:pointProperty"/>
297
							<element ref="gml:pointRep"/>
298
						</choice>
299
						<element ref="gml:posList"/>
300
						<element ref="gml:coordinates"/>
301
					</choice>
302
					<element name="vectorAtStart" type="gml:VectorType"/>
303
					<element name="vectorAtEnd" type="gml:VectorType"/>
304
				</sequence>
305
				<attribute name="interpolation" type="gml:CurveInterpolationType" fixed="cubicSpline"/>
306
				<attribute name="degree" type="integer" fixed="3"/>
307
			</extension>
308
		</complexContent>
309
	</complexType>
310
	<element name="CubicSpline" type="gml:CubicSplineType" substitutionGroup="gml:AbstractCurveSegment">
311
		<annotation>
312
			<documentation>The number of control points shall be at least three.
313
vectorAtStart is the unit tangent vector at the start point of the spline. vectorAtEnd is the unit tangent vector at the end point of the spline. Only the direction of the vectors shall be used to determine the shape of the cubic spline, not their length.
314
interpolation is fixed as "cubicSpline".
315
degree shall be the degree of the polynomial used for the interpolation in this spline. Therefore the degree for a cubic spline is fixed to "3".
316
The content model follows the general pattern for the encoding of curve segments.</documentation>
317
		</annotation>
318
	</element>
319
	<complexType name="BSplineType">
320
		<complexContent>
321
			<extension base="gml:AbstractCurveSegmentType">
322
				<sequence>
323
					<choice>
324
						<choice minOccurs="0" maxOccurs="unbounded">
325
							<element ref="gml:pos"/>
326
							<element ref="gml:pointProperty"/>
327
							<element ref="gml:pointRep"/>
328
						</choice>
329
						<element ref="gml:posList"/>
330
						<element ref="gml:coordinates"/>
331
					</choice>
332
					<element name="degree" type="nonNegativeInteger"/>
333
					<element name="knot" type="gml:KnotPropertyType" minOccurs="2" maxOccurs="unbounded"/>
334
				</sequence>
335
				<attribute name="interpolation" type="gml:CurveInterpolationType" default="polynomialSpline"/>
336
				<attribute name="isPolynomial" type="boolean"/>
337
				<attribute name="knotType" type="gml:KnotTypesType"/>
338
			</extension>
339
		</complexContent>
340
	</complexType>
341
	<element name="BSpline" type="gml:BSplineType" substitutionGroup="gml:AbstractCurveSegment">
342
		<annotation>
343
			<documentation>A B-Spline is a piecewise parametric polynomial or rational curve described in terms of control points and basis functions as specified in ISO 19107:2003, 6.4.30. Therefore, interpolation may be either "polynomialSpline" or "rationalSpline" depending on the interpolation type; default is "polynomialSpline".
344
degree shall be the degree of the polynomial used for interpolation in this spline.
345
knot shall be the sequence of distinct knots used to define the spline basis functions (see ISO 19107:2003, 6.4.26.2).
346
The attribute isPolynomial shall be set to "true" if this is a polynomial spline (see ISO 19107:2003, 6.4.30.5).
347
The attribute knotType shall provide the type of knot distribution used in defining this spline (see ISO 19107:2003, 6.4.30.4).
348
The content model follows the general pattern for the encoding of curve segments.</documentation>
349
		</annotation>
350
	</element>
351
	<complexType name="KnotType">
352
		<sequence>
353
			<element name="value" type="double"/>
354
			<element name="multiplicity" type="nonNegativeInteger"/>
355
			<element name="weight" type="double"/>
356
		</sequence>
357
	</complexType>
358
	<complexType name="KnotPropertyType">
359
		<annotation>
360
			<documentation>gml:KnotPropertyType encapsulates a knot to use it in a geometric type.</documentation>
361
		</annotation>
362
		<sequence>
363
			<element name="Knot" type="gml:KnotType">
364
				<annotation>
365
					<documentation>A knot is a breakpoint on a piecewise spline curve.
366
value is the value of the parameter at the knot of the spline (see ISO 19107:2003, 6.4.24.2).
367
multiplicity is the multiplicity of this knot used in the definition of the spline (with the same weight).
368
weight is the value of the averaging weight used for this knot of the spline.</documentation>
369
				</annotation>
370
			</element>
371
		</sequence>
372
	</complexType>
373
	<simpleType name="KnotTypesType">
374
		<annotation>
375
			<documentation>This enumeration type specifies values for the knots' type (see ISO 19107:2003, 6.4.25).</documentation>
376
		</annotation>
377
		<restriction base="string">
378
			<enumeration value="uniform"/>
379
			<enumeration value="quasiUniform"/>
380
			<enumeration value="piecewiseBezier"/>
381
		</restriction>
382
	</simpleType>
383
	<complexType name="BezierType">
384
		<complexContent>
385
			<restriction base="gml:BSplineType">
386
				<sequence>
387
					<choice>
388
						<choice minOccurs="0" maxOccurs="unbounded">
389
							<element ref="gml:pos"/>
390
							<element ref="gml:pointProperty"/>
391
							<element ref="gml:pointRep"/>
392
						</choice>
393
						<element ref="gml:posList"/>
394
						<element ref="gml:coordinates"/>
395
					</choice>
396
					<element name="degree" type="nonNegativeInteger"/>
397
					<element name="knot" type="gml:KnotPropertyType" minOccurs="2" maxOccurs="2"/>
398
				</sequence>
399
				<attribute name="interpolation" type="gml:CurveInterpolationType" fixed="polynomialSpline"/>
400
				<attribute name="isPolynomial" type="boolean" fixed="true"/>
401
				<attribute name="knotType" type="gml:KnotTypesType" use="prohibited"/>
402
			</restriction>
403
		</complexContent>
404
	</complexType>
405
	<element name="Bezier" type="gml:BezierType" substitutionGroup="gml:BSpline">
406
		<annotation>
407
			<documentation>Bezier curves are polynomial splines that use Bezier or Bernstein polynomials for interpolation purposes. It is a special case of the B-Spline curve with two knots.
408
degree shall be the degree of the polynomial used for interpolation in this spline.
409
knot shall be the sequence of distinct knots used to define the spline basis functions.
410
interpolation is fixed as "polynomialSpline".
411
isPolynomial is fixed as "true".
412
knotType is not relevant for Bezier curve segments.
413
</documentation>
414
		</annotation>
415
	</element>
416
	<complexType name="OffsetCurveType">
417
		<complexContent>
418
			<extension base="gml:AbstractCurveSegmentType">
419
				<sequence>
420
					<element name="offsetBase" type="gml:CurvePropertyType"/>
421
					<element name="distance" type="gml:LengthType"/>
422
					<element name="refDirection" type="gml:VectorType" minOccurs="0"/>
423
				</sequence>
424
			</extension>
425
		</complexContent>
426
	</complexType>
427
	<element name="OffsetCurve" type="gml:OffsetCurveType" substitutionGroup="gml:AbstractCurveSegment">
428
		<annotation>
429
			<documentation>An offset curve is a curve at a constant distance from the basis curve. offsetBase is the base curve from which this curve is defined as an offset. distance and refDirection have the same meaning as specified in ISO 19107:2003, 6.4.23.
430
The content model follows the general pattern for the encoding of curve segments.</documentation>
431
		</annotation>
432
	</element>
433
	<complexType name="AffinePlacementType">
434
		<sequence>
435
			<element name="location" type="gml:DirectPositionType"/>
436
			<element name="refDirection" type="gml:VectorType" maxOccurs="unbounded"/>
437
			<element name="inDimension" type="positiveInteger"/>
438
			<element name="outDimension" type="positiveInteger"/>
439
		</sequence>
440
	</complexType>
441
	<element name="AffinePlacement" type="gml:AffinePlacementType" substitutionGroup="gml:AbstractObject">
442
		<annotation>
443
			<documentation>location, refDirection, inDimension and outDimension have the same meaning as specified in ISO 19107:2003, 6.4.21.</documentation>
444
		</annotation>
445
	</element>
446
	<complexType name="ClothoidType">
447
		<complexContent>
448
			<extension base="gml:AbstractCurveSegmentType">
449
				<sequence>
450
					<element name="refLocation">
451
						<complexType>
452
							<sequence>
453
								<element ref="gml:AffinePlacement"/>
454
							</sequence>
455
						</complexType>
456
					</element>
457
					<element name="scaleFactor" type="decimal"/>
458
					<element name="startParameter" type="double"/>
459
					<element name="endParameter" type="double"/>
460
				</sequence>
461
				<attribute name="interpolation" type="gml:CurveInterpolationType" fixed="clothoid"/>
462
			</extension>
463
		</complexContent>
464
	</complexType>
465
	<element name="Clothoid" type="gml:ClothoidType" substitutionGroup="gml:AbstractCurveSegment">
466
		<annotation>
467
			<documentation>A clothoid, or Cornu's spiral, is plane curve whose curvature is a fixed function of its length.
468
refLocation, startParameter, endParameter and scaleFactor have the same meaning as specified in ISO 19107:2003, 6.4.22.
469
interpolation is fixed as "clothoid".
470
The content model follows the general pattern for the encoding of curve segments.</documentation>
471
		</annotation>
472
	</element>
473
	<complexType name="GeodesicStringType">
474
		<complexContent>
475
			<extension base="gml:AbstractCurveSegmentType">
476
				<choice>
477
					<element ref="gml:posList"/>
478
					<group ref="gml:geometricPositionGroup" minOccurs="2" maxOccurs="unbounded"/>
479
				</choice>
480
				<attribute name="interpolation" type="gml:CurveInterpolationType" fixed="geodesic"/>
481
			</extension>
482
		</complexContent>
483
	</complexType>
484
	<element name="GeodesicString" type="gml:GeodesicStringType" substitutionGroup="gml:AbstractCurveSegment">
485
		<annotation>
486
			<documentation>A sequence of geodesic segments. 
487
The number of control points shall be at least two.
488
interpolation is fixed as "geodesic".
489
The content model follows the general pattern for the encoding of curve segments.</documentation>
490
		</annotation>
491
	</element>
492
	<complexType name="GeodesicType">
493
		<complexContent>
494
			<extension base="gml:GeodesicStringType"/>
495
		</complexContent>
496
	</complexType>
497
	<element name="Geodesic" type="gml:GeodesicType" substitutionGroup="gml:GeodesicString"/>
498
	<complexType name="SurfaceType">
499
		<complexContent>
500
			<extension base="gml:AbstractSurfaceType">
501
				<sequence>
502
					<element ref="gml:patches"/>
503
				</sequence>
504
			</extension>
505
		</complexContent>
506
	</complexType>
507
	<element name="Surface" type="gml:SurfaceType" substitutionGroup="gml:AbstractSurface">
508
		<annotation>
509
			<documentation>A Surface is a 2-dimensional primitive and is composed of one or more surface patches as specified in ISO 19107:2003, 6.3.17.1. The surface patches are connected to one another.
510
patches encapsulates the patches of the surface.</documentation>
511
		</annotation>
512
	</element>
513
	<complexType name="OrientableSurfaceType">
514
		<complexContent>
515
			<extension base="gml:AbstractSurfaceType">
516
				<sequence>
517
					<element ref="gml:baseSurface"/>
518
				</sequence>
519
				<attribute name="orientation" type="gml:SignType" default="+"/>
520
			</extension>
521
		</complexContent>
522
	</complexType>
523
	<element name="baseSurface" type="gml:SurfacePropertyType">
524
		<annotation>
525
			<documentation>The property baseSurface references or contains the base surface. The property baseSurface either references the base surface via the XLink-attributes or contains the surface element. A surface element is any element which is substitutable for gml:AbstractSurface. The base surface has positive orientation.</documentation>
526
		</annotation>
527
	</element>
528
	<element name="OrientableSurface" type="gml:OrientableSurfaceType" substitutionGroup="gml:AbstractSurface">
529
		<annotation>
530
			<documentation>OrientableSurface consists of a surface and an orientation. If the orientation is "+", then the OrientableSurface is identical to the baseSurface. If the orientation is "-", then the OrientableSurface is a reference to a gml:AbstractSurface with an up-normal that reverses the direction for this OrientableSurface, the sense of "the top of the surface".</documentation>
531
		</annotation>
532
	</element>
533
	<complexType name="AbstractSurfacePatchType" abstract="true"/>
534
	<element name="AbstractSurfacePatch" type="gml:AbstractSurfacePatchType" abstract="true">
535
		<annotation>
536
			<documentation>A surface patch defines a homogenuous portion of a surface. 
537
The AbstractSurfacePatch element is the abstract head of the substituition group for all surface patch elements describing a continuous portion of a surface.
538
All surface patches shall have an attribute interpolation (declared in the types derived from gml:AbstractSurfacePatchType) specifying the interpolation mechanism used for the patch using gml:SurfaceInterpolationType.</documentation>
539
		</annotation>
540
	</element>
541
	<complexType name="SurfacePatchArrayPropertyType">
542
		<annotation>
543
			<documentation>gml:SurfacePatchArrayPropertyType is a container for a sequence of surface patches.</documentation>
544
		</annotation>
545
		<sequence minOccurs="0" maxOccurs="unbounded">
546
			<element ref="gml:AbstractSurfacePatch"/>
547
		</sequence>
548
	</complexType>
549
	<element name="patches" type="gml:SurfacePatchArrayPropertyType">
550
		<annotation>
551
			<documentation>The patches property element contains the sequence of surface patches. The order of the elements is significant and shall be preserved when processing the array.</documentation>
552
		</annotation>
553
	</element>
554
	<simpleType name="SurfaceInterpolationType">
555
		<annotation>
556
			<documentation>gml:SurfaceInterpolationType is a list of codes that may be used to identify the interpolation mechanisms specified by an application schema.</documentation>
557
		</annotation>
558
		<restriction base="string">
559
			<enumeration value="none"/>
560
			<enumeration value="planar"/>
561
			<enumeration value="spherical"/>
562
			<enumeration value="elliptical"/>
563
			<enumeration value="conic"/>
564
			<enumeration value="tin"/>
565
			<enumeration value="parametricCurve"/>
566
			<enumeration value="polynomialSpline"/>
567
			<enumeration value="rationalSpline"/>
568
			<enumeration value="triangulatedSpline"/>
569
		</restriction>
570
	</simpleType>
571
	<complexType name="PolygonPatchType">
572
		<complexContent>
573
			<extension base="gml:AbstractSurfacePatchType">
574
				<sequence>
575
					<element ref="gml:exterior" minOccurs="0"/>
576
					<element ref="gml:interior" minOccurs="0" maxOccurs="unbounded"/>
577
				</sequence>
578
				<attribute name="interpolation" type="gml:SurfaceInterpolationType" fixed="planar"/>
579
			</extension>
580
		</complexContent>
581
	</complexType>
582
	<element name="PolygonPatch" type="gml:PolygonPatchType" substitutionGroup="gml:AbstractSurfacePatch">
583
		<annotation>
584
			<documentation>A gml:PolygonPatch is a surface patch that is defined by a set of boundary curves and an underlying surface to which these curves adhere. The curves shall be coplanar and the polygon uses planar interpolation in its interior. 
585
interpolation is fixed to "planar", i.e. an interpolation shall return points on a single plane. The boundary of the patch shall be contained within that plane.</documentation>
586
		</annotation>
587
	</element>
588
	<complexType name="TriangleType">
589
		<complexContent>
590
			<extension base="gml:AbstractSurfacePatchType">
591
				<sequence>
592
					<element ref="gml:exterior"/>
593
				</sequence>
594
				<attribute name="interpolation" type="gml:SurfaceInterpolationType" fixed="planar"/>
595
			</extension>
596
		</complexContent>
597
	</complexType>
598
	<element name="Triangle" type="gml:TriangleType" substitutionGroup="gml:AbstractSurfacePatch">
599
		<annotation>
600
			<documentation>gml:Triangle represents a triangle as a surface patch with an outer boundary consisting of a linear ring. Note that this is a polygon (subtype) with no inner boundaries. The number of points in the linear ring shall be four.
601
The ring (element exterior) shall be a gml:LinearRing and shall form a triangle, the first and the last position shall be coincident.
602
interpolation is fixed to "planar", i.e. an interpolation shall return points on a single plane. The boundary of the patch shall be contained within that plane.</documentation>
603
		</annotation>
604
	</element>
605
	<complexType name="RectangleType">
606
		<complexContent>
607
			<extension base="gml:AbstractSurfacePatchType">
608
				<sequence>
609
					<element ref="gml:exterior"/>
610
				</sequence>
611
				<attribute name="interpolation" type="gml:SurfaceInterpolationType" fixed="planar"/>
612
			</extension>
613
		</complexContent>
614
	</complexType>
615
	<element name="Rectangle" type="gml:RectangleType" substitutionGroup="gml:AbstractSurfacePatch">
616
		<annotation>
617
			<documentation>gml:Rectangle represents a rectangle as a surface patch with an outer boundary consisting of a linear ring. Note that this is a polygon (subtype) with no inner boundaries. The number of points in the linear ring shall be five.
618
The ring (element exterior) shall be a gml:LinearRing and shall form a rectangle; the first and the last position shall be coincident.
619
interpolation is fixed to "planar", i.e. an interpolation shall return points on a single plane. The boundary of the patch shall be contained within that plane.</documentation>
620
		</annotation>
621
	</element>
622
	<complexType name="RingType">
623
		<complexContent>
624
			<extension base="gml:AbstractRingType">
625
				<sequence>
626
					<element ref="gml:curveMember" maxOccurs="unbounded"/>
627
				</sequence>
628
				<attributeGroup ref="gml:AggregationAttributeGroup"/>
629
			</extension>
630
		</complexContent>
631
	</complexType>
632
	<element name="Ring" type="gml:RingType" substitutionGroup="gml:AbstractRing">
633
		<annotation>
634
			<documentation>A ring is used to represent a single connected component of a surface boundary as specified in ISO 19107:2003, 6.3.6.
635
Every gml:curveMember references or contains one curve, i.e. any element which is substitutable for gml:AbstractCurve. In the context of a ring, the curves describe the boundary of the surface. The sequence of curves shall be contiguous and connected in a cycle.
636
If provided, the aggregationType attribute shall have the value "sequence".</documentation>
637
		</annotation>
638
	</element>
639
	<element name="curveMember" type="gml:CurvePropertyType"/>
640
	<complexType name="RingPropertyType">
641
		<annotation>
642
			<documentation>A property with the content model of gml:RingPropertyType encapsulates a ring to represent a component of a surface boundary.</documentation>
643
		</annotation>
644
		<sequence>
645
			<element ref="gml:Ring"/>
646
		</sequence>
647
	</complexType>
648
	<group name="PointGrid">
649
		<annotation>
650
			<documentation>A gml:PointGrid group contains or references points or positions which are organised into sequences or grids. All rows shall have the same number of positions (columns).</documentation>
651
		</annotation>
652
		<sequence>
653
			<element name="rows">
654
				<complexType>
655
					<sequence>
656
						<element name="Row" maxOccurs="unbounded">
657
							<complexType>
658
								<group ref="gml:geometricPositionListGroup"/>
659
							</complexType>
660
						</element>
661
					</sequence>
662
				</complexType>
663
			</element>
664
		</sequence>
665
	</group>
666
	<complexType name="AbstractParametricCurveSurfaceType" abstract="true">
667
		<complexContent>
668
			<extension base="gml:AbstractSurfacePatchType">
669
				<attributeGroup ref="gml:AggregationAttributeGroup"/>
670
			</extension>
671
		</complexContent>
672
	</complexType>
673
	<element name="AbstractParametricCurveSurface" type="gml:AbstractParametricCurveSurfaceType" abstract="true" substitutionGroup="gml:AbstractSurfacePatch">
674
		<annotation>
675
			<documentation>The element provides a substitution group head for the surface patches based on parametric curves. All properties are specified in the derived subtypes. All derived subtypes shall conform to the constraints specified in ISO 19107:2003, 6.4.40.
676
If provided, the aggregationType attribute shall have the value "set".</documentation>
677
		</annotation>
678
	</element>
679
	<complexType name="AbstractGriddedSurfaceType" abstract="true">
680
		<complexContent>
681
			<extension base="gml:AbstractParametricCurveSurfaceType">
682
				<sequence>
683
					<group ref="gml:PointGrid"/>
684
				</sequence>
685
				<attribute name="rows" type="integer"/>
686
				<attribute name="columns" type="integer"/>
687
			</extension>
688
		</complexContent>
689
	</complexType>
690
	<element name="AbstractGriddedSurface" type="gml:AbstractGriddedSurfaceType" abstract="true" substitutionGroup="gml:AbstractParametricCurveSurface">
691
		<annotation>
692
			<documentation>if provided, rows gives the number of rows, columns the number of columns in the parameter grid. The parameter grid is represented by an instance of the gml:PointGrid group.
693
The element provides a substitution group head for the surface patches based on a grid. All derived subtypes shall conform to the constraints specified in ISO 19107:2003, 6.4.41.</documentation>
694
		</annotation>
695
	</element>
696
	<complexType name="ConeType">
697
		<complexContent>
698
			<extension base="gml:AbstractGriddedSurfaceType">
699
				<attribute name="horizontalCurveType" type="gml:CurveInterpolationType" fixed="circularArc3Points"/>
700
				<attribute name="verticalCurveType" type="gml:CurveInterpolationType" fixed="linear"/>
701
			</extension>
702
		</complexContent>
703
	</complexType>
704
	<element name="Cone" type="gml:ConeType" substitutionGroup="gml:AbstractGriddedSurface"/>
705
	<complexType name="CylinderType">
706
		<complexContent>
707
			<extension base="gml:AbstractGriddedSurfaceType">
708
				<attribute name="horizontalCurveType" type="gml:CurveInterpolationType" fixed="circularArc3Points"/>
709
				<attribute name="verticalCurveType" type="gml:CurveInterpolationType" fixed="linear"/>
710
			</extension>
711
		</complexContent>
712
	</complexType>
713
	<element name="Cylinder" type="gml:CylinderType" substitutionGroup="gml:AbstractGriddedSurface"/>
714
	<complexType name="SphereType">
715
		<complexContent>
716
			<extension base="gml:AbstractGriddedSurfaceType">
717
				<attribute name="horizontalCurveType" type="gml:CurveInterpolationType" fixed="circularArc3Points"/>
718
				<attribute name="verticalCurveType" type="gml:CurveInterpolationType" fixed="circularArc3Points"/>
719
			</extension>
720
		</complexContent>
721
	</complexType>
722
	<element name="Sphere" type="gml:SphereType" substitutionGroup="gml:AbstractGriddedSurface"/>
723
	<element name="PolyhedralSurface" type="gml:SurfaceType" substitutionGroup="gml:Surface">
724
		<annotation>
725
			<documentation>A polyhedral surface is a surface composed of polygon patches connected along their common boundary curves. This differs from the surface type only in the restriction on the types of surface patches acceptable.
726
polygonPatches encapsulates the polygon patches of the polyhedral surface.</documentation>
727
		</annotation>
728
	</element>
729
	<element name="TriangulatedSurface" type="gml:SurfaceType" substitutionGroup="gml:Surface">
730
		<annotation>
731
			<documentation>A triangulated surface is a polyhedral surface that is composed only of triangles. There is no restriction on how the triangulation is derived.
732
trianglePatches encapsulates the triangles of the triangulated surface.</documentation>
733
		</annotation>
734
	</element>
735
	<complexType name="TinType">
736
		<complexContent>
737
			<extension base="gml:SurfaceType">
738
				<sequence>
739
					<element name="stopLines" type="gml:LineStringSegmentArrayPropertyType" minOccurs="0" maxOccurs="unbounded"/>
740
					<element name="breakLines" type="gml:LineStringSegmentArrayPropertyType" minOccurs="0" maxOccurs="unbounded"/>
741
					<element name="maxLength" type="gml:LengthType"/>
742
					<element name="controlPoint">
743
						<complexType>
744
							<choice>
745
								<element ref="gml:posList"/>
746
								<group ref="gml:geometricPositionGroup" minOccurs="3" maxOccurs="unbounded"/>
747
							</choice>
748
						</complexType>
749
					</element>
750
				</sequence>
751
			</extension>
752
		</complexContent>
753
	</complexType>
754
	<element name="Tin" type="gml:TinType" substitutionGroup="gml:TriangulatedSurface">
755
		<annotation>
756
			<documentation>A tin is a triangulated surface that uses the Delauny algorithm or a similar algorithm complemented with consideration of stoplines (stopLines), breaklines (breakLines), and maximum length of triangle sides (maxLength). controlPoint shall contain a set of the positions (three or more) used as posts for this TIN (corners of the triangles in the TIN). See ISO 19107:2003, 6.4.39 for details.</documentation>
757
		</annotation>
758
	</element>
759
	<complexType name="LineStringSegmentArrayPropertyType">
760
		<annotation>
761
			<documentation>gml:LineStringSegmentArrayPropertyType provides a container for line strings.</documentation>
762
		</annotation>
763
		<sequence minOccurs="0" maxOccurs="unbounded">
764
			<element ref="gml:LineStringSegment"/>
765
		</sequence>
766
	</complexType>
767
	<complexType name="AbstractSolidType">
768
		<annotation>
769
			<documentation>gml:AbstractSolidType is an abstraction of a solid to support the different levels of complexity. The solid may always be viewed as a geometric primitive, i.e. is contiguous.</documentation>
770
		</annotation>
771
		<complexContent>
772
			<extension base="gml:AbstractGeometricPrimitiveType"/>
773
		</complexContent>
774
	</complexType>
775
	<element name="AbstractSolid" type="gml:AbstractSolidType" abstract="true" substitutionGroup="gml:AbstractGeometricPrimitive">
776
		<annotation>
777
			<documentation>The AbstractSolid element is the abstract head of the substituition group for all (continuous) solid elements.</documentation>
778
		</annotation>
779
	</element>
780
	<complexType name="SolidPropertyType">
781
		<annotation>
782
			<documentation>A property that has a solid as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none.</documentation>
783
		</annotation>
784
		<sequence minOccurs="0">
785
			<element ref="gml:AbstractSolid"/>
786
		</sequence>
787
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
788
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
789
	</complexType>
790
	<element name="solidProperty" type="gml:SolidPropertyType">
791
		<annotation>
792
			<documentation>This property element either references a solid via the XLink-attributes or contains the solid element. solidProperty is the predefined property which may be used by GML Application Schemas whenever a GML feature has a property with a value that is substitutable for AbstractSolid.</documentation>
793
		</annotation>
794
	</element>
795
	<complexType name="SolidArrayPropertyType">
796
		<annotation>
797
			<documentation>gml:SolidArrayPropertyType is a container for an array of solids. The elements are always contained in the array property, referencing geometry elements or arrays of geometry elements is not supported.</documentation>
798
		</annotation>
799
		<sequence minOccurs="0" maxOccurs="unbounded">
800
			<element ref="gml:AbstractSolid"/>
801
		</sequence>
802
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
803
	</complexType>
804
	<complexType name="SolidType">
805
		<complexContent>
806
			<extension base="gml:AbstractSolidType">
807
				<sequence>
808
					<element name="exterior" type="gml:ShellPropertyType" minOccurs="0"/>
809
					<element name="interior" type="gml:ShellPropertyType" minOccurs="0" maxOccurs="unbounded"/>
810
				</sequence>
811
			</extension>
812
		</complexContent>
813
	</complexType>
814
	<element name="Solid" type="gml:SolidType" substitutionGroup="gml:AbstractSolid">
815
		<annotation>
816
			<documentation>A solid is the basis for 3-dimensional geometry. The extent of a solid is defined by the boundary surfaces as specified in ISO 19107:2003, 6.3.18. exterior specifies the outer boundary, interior the inner boundary of the solid.</documentation>
817
		</annotation>
818
	</element>
819
	<complexType name="ShellType">
820
		<sequence>
821
			<element ref="gml:surfaceMember" maxOccurs="unbounded"/>
822
		</sequence>
823
		<attributeGroup ref="gml:AggregationAttributeGroup"/>
824
	</complexType>
825
	<element name="Shell" type="gml:ShellType" substitutionGroup="gml:AbstractObject">
826
		<annotation>
827
			<documentation>A shell is used to represent a single connected component of a solid boundary as specified in ISO 19107:2003, 6.3.8.
828
Every gml:surfaceMember references or contains one surface, i.e. any element which is substitutable for gml:AbstractSurface. In the context of a shell, the surfaces describe the boundary of the solid. 
829
If provided, the aggregationType attribute shall have the value "set".
830
</documentation>
831
		</annotation>
832
	</element>
833
	<element name="surfaceMember" type="gml:SurfacePropertyType">
834
		<annotation>
835
			<documentation>This property element either references a surface via the XLink-attributes or contains the surface element. A surface element is any element, which is substitutable for gml:AbstractSurface.</documentation>
836
		</annotation>
837
	</element>
838
	<complexType name="ShellPropertyType">
839
		<annotation>
840
			<documentation>A property with the content model of gml:ShellPropertyType encapsulates a shell to represent a component of a solid boundary.</documentation>
841
		</annotation>
842
		<sequence>
843
			<element ref="gml:Shell"/>
844
		</sequence>
845
	</complexType>
846
</schema>
(18-18/30)