1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<schema targetNamespace="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink" 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:geometryComplexes:3.2.1">geometryComplexes.xsd</appinfo>
|
5
|
<documentation>See ISO/DIS 19136 12.2.
|
6
|
Geometric complexes (i.e. instances of gml:GeometricComplexType) are closed collections of geometric primitives, i.e. they will contain their boundaries.
|
7
|
A geometric complex (gml:GeometricComplex) is defined by ISO 19107:2003, 6.6.1 as "a set of primitive geometric objects (in a common coordinate system) whose interiors are disjoint. Further, if a primitive is in a geometric complex, then there exists a set of primitives in that complex whose point-wise union is the boundary of this first primitive."
|
8
|
A geometric composite (gml:CompositeCurve, gml:CompositeSurface and gml:CompositeSolid) represents a geometric complex with an underlying core geometry that is isomorphic to a primitive, i.e. it can be viewed as a primitive and as a complex. See ISO 19107:2003, 6.1 and 6.6.3 for more details on the nature of composite geometries.
|
9
|
Geometric complexes and composites are intended to be used in application schemas where the sharing of geometry is important.
|
10
|
|
11
|
GML is an OGC Standard.
|
12
|
Copyright (c) 2007,2010 Open Geospatial Consortium.
|
13
|
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
|
14
|
</documentation>
|
15
|
</annotation>
|
16
|
<include schemaLocation="gml.xsd"/>
|
17
|
<include schemaLocation="geometryAggregates.xsd"/>
|
18
|
<complexType name="GeometricComplexType">
|
19
|
<complexContent>
|
20
|
<extension base="gml:AbstractGeometryType">
|
21
|
<sequence>
|
22
|
<element name="element" type="gml:GeometricPrimitivePropertyType" maxOccurs="unbounded"/>
|
23
|
</sequence>
|
24
|
<attributeGroup ref="gml:AggregationAttributeGroup"/>
|
25
|
</extension>
|
26
|
</complexContent>
|
27
|
</complexType>
|
28
|
<element name="GeometricComplex" type="gml:GeometricComplexType" substitutionGroup="gml:AbstractGeometry"/>
|
29
|
<complexType name="GeometricComplexPropertyType">
|
30
|
<annotation>
|
31
|
<documentation>A property that has a geometric complex 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>
|
32
|
</annotation>
|
33
|
<sequence minOccurs="0">
|
34
|
<choice>
|
35
|
<element ref="gml:GeometricComplex"/>
|
36
|
<element ref="gml:CompositeCurve"/>
|
37
|
<element ref="gml:CompositeSurface"/>
|
38
|
<element ref="gml:CompositeSolid"/>
|
39
|
</choice>
|
40
|
</sequence>
|
41
|
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
|
42
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
43
|
</complexType>
|
44
|
<complexType name="CompositeCurveType">
|
45
|
<complexContent>
|
46
|
<extension base="gml:AbstractCurveType">
|
47
|
<sequence>
|
48
|
<element ref="gml:curveMember" maxOccurs="unbounded"/>
|
49
|
</sequence>
|
50
|
<attributeGroup ref="gml:AggregationAttributeGroup"/>
|
51
|
</extension>
|
52
|
</complexContent>
|
53
|
</complexType>
|
54
|
<element name="CompositeCurve" type="gml:CompositeCurveType" substitutionGroup="gml:AbstractCurve">
|
55
|
<annotation>
|
56
|
<documentation>A gml:CompositeCurve is represented by a sequence of (orientable) curves such that each curve in the sequence terminates at the start point of the subsequent curve in the list.
|
57
|
curveMember references or contains inline one curve in the composite curve.
|
58
|
The curves are contiguous, the collection of curves is ordered. Therefore, if provided, the aggregationType attribute shall have the value "sequence".</documentation>
|
59
|
</annotation>
|
60
|
</element>
|
61
|
<complexType name="CompositeSurfaceType">
|
62
|
<complexContent>
|
63
|
<extension base="gml:AbstractSurfaceType">
|
64
|
<sequence>
|
65
|
<element ref="gml:surfaceMember" maxOccurs="unbounded"/>
|
66
|
</sequence>
|
67
|
<attributeGroup ref="gml:AggregationAttributeGroup"/>
|
68
|
</extension>
|
69
|
</complexContent>
|
70
|
</complexType>
|
71
|
<element name="CompositeSurface" type="gml:CompositeSurfaceType" substitutionGroup="gml:AbstractSurface">
|
72
|
<annotation>
|
73
|
<documentation>A gml:CompositeSurface is represented by a set of orientable surfaces. It is geometry type with all the geometric properties of a (primitive) surface. Essentially, a composite surface is a collection of surfaces that join in pairs on common boundary curves and which, when considered as a whole, form a single surface.
|
74
|
surfaceMember references or contains inline one surface in the composite surface.
|
75
|
The surfaces are contiguous.</documentation>
|
76
|
</annotation>
|
77
|
</element>
|
78
|
<complexType name="CompositeSolidType">
|
79
|
<complexContent>
|
80
|
<extension base="gml:AbstractSolidType">
|
81
|
<sequence>
|
82
|
<element ref="gml:solidMember" maxOccurs="unbounded"/>
|
83
|
</sequence>
|
84
|
<attributeGroup ref="gml:AggregationAttributeGroup"/>
|
85
|
</extension>
|
86
|
</complexContent>
|
87
|
</complexType>
|
88
|
<element name="CompositeSolid" type="gml:CompositeSolidType" substitutionGroup="gml:AbstractSolid">
|
89
|
<annotation>
|
90
|
<documentation>gml:CompositeSolid implements ISO 19107 GM_CompositeSolid (see ISO 19107:2003, 6.6.7) as specified in D.2.3.6.
|
91
|
A gml:CompositeSolid is represented by a set of orientable surfaces. It is a geometry type with all the geometric properties of a (primitive) solid. Essentially, a composite solid is a collection of solids that join in pairs on common boundary surfaces and which, when considered as a whole, form a single solid.
|
92
|
solidMember references or contains one solid in the composite solid. The solids are contiguous.</documentation>
|
93
|
</annotation>
|
94
|
</element>
|
95
|
</schema>
|