1 |
10458
|
tao
|
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
|
|
<schema targetNamespace="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.2.0">
|
3 |
|
|
<annotation>
|
4 |
|
|
<appinfo source="urn:ogc:specification:gml:schema-xsd:geometryComplexes:3.2.0">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.</documentation>
|
10 |
|
|
</annotation>
|
11 |
|
|
<include schemaLocation="geometryAggregates.xsd"/>
|
12 |
|
|
<complexType name="GeometricComplexType">
|
13 |
|
|
<complexContent>
|
14 |
|
|
<extension base="gml:AbstractGeometryType">
|
15 |
|
|
<sequence>
|
16 |
|
|
<element name="element" type="gml:GeometricPrimitivePropertyType" maxOccurs="unbounded"/>
|
17 |
|
|
</sequence>
|
18 |
|
|
<attributeGroup ref="gml:AggregationAttributeGroup"/>
|
19 |
|
|
</extension>
|
20 |
|
|
</complexContent>
|
21 |
|
|
</complexType>
|
22 |
|
|
<element name="GeometricComplex" type="gml:GeometricComplexType" substitutionGroup="gml:AbstractGeometry"/>
|
23 |
|
|
<complexType name="GeometricComplexPropertyType">
|
24 |
|
|
<annotation>
|
25 |
|
|
<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>
|
26 |
|
|
</annotation>
|
27 |
|
|
<sequence minOccurs="0">
|
28 |
|
|
<choice>
|
29 |
|
|
<element ref="gml:GeometricComplex"/>
|
30 |
|
|
<element ref="gml:CompositeCurve"/>
|
31 |
|
|
<element ref="gml:CompositeSurface"/>
|
32 |
|
|
<element ref="gml:CompositeSolid"/>
|
33 |
|
|
</choice>
|
34 |
|
|
</sequence>
|
35 |
|
|
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
|
36 |
|
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
37 |
|
|
</complexType>
|
38 |
|
|
<complexType name="CompositeCurveType">
|
39 |
|
|
<complexContent>
|
40 |
|
|
<extension base="gml:AbstractCurveType">
|
41 |
|
|
<sequence>
|
42 |
|
|
<element ref="gml:curveMember" maxOccurs="unbounded"/>
|
43 |
|
|
</sequence>
|
44 |
|
|
<attributeGroup ref="gml:AggregationAttributeGroup"/>
|
45 |
|
|
</extension>
|
46 |
|
|
</complexContent>
|
47 |
|
|
</complexType>
|
48 |
|
|
<element name="CompositeCurve" type="gml:CompositeCurveType" substitutionGroup="gml:AbstractCurve">
|
49 |
|
|
<annotation>
|
50 |
|
|
<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.
|
51 |
|
|
curveMember references or contains inline one curve in the composite curve.
|
52 |
|
|
The curves are contiguous, the collection of curves is ordered. Therefore, if provided, the aggregationType attribute shall have the value “sequence”.</documentation>
|
53 |
|
|
</annotation>
|
54 |
|
|
</element>
|
55 |
|
|
<complexType name="CompositeSurfaceType">
|
56 |
|
|
<complexContent>
|
57 |
|
|
<extension base="gml:AbstractSurfaceType">
|
58 |
|
|
<sequence>
|
59 |
|
|
<element ref="gml:surfaceMember" maxOccurs="unbounded"/>
|
60 |
|
|
</sequence>
|
61 |
|
|
<attributeGroup ref="gml:AggregationAttributeGroup"/>
|
62 |
|
|
</extension>
|
63 |
|
|
</complexContent>
|
64 |
|
|
</complexType>
|
65 |
|
|
<element name="CompositeSurface" type="gml:CompositeSurfaceType" substitutionGroup="gml:AbstractSurface">
|
66 |
|
|
<annotation>
|
67 |
|
|
<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.
|
68 |
|
|
surfaceMember references or contains inline one surface in the composite surface.
|
69 |
|
|
The surfaces are contiguous.</documentation>
|
70 |
|
|
</annotation>
|
71 |
|
|
</element>
|
72 |
|
|
<complexType name="CompositeSolidType">
|
73 |
|
|
<complexContent>
|
74 |
|
|
<extension base="gml:AbstractSolidType">
|
75 |
|
|
<sequence>
|
76 |
|
|
<element ref="gml:solidMember" maxOccurs="unbounded"/>
|
77 |
|
|
</sequence>
|
78 |
|
|
<attributeGroup ref="gml:AggregationAttributeGroup"/>
|
79 |
|
|
</extension>
|
80 |
|
|
</complexContent>
|
81 |
|
|
</complexType>
|
82 |
|
|
<element name="CompositeSolid" type="gml:CompositeSolidType" substitutionGroup="gml:AbstractSolid">
|
83 |
|
|
<annotation>
|
84 |
|
|
<documentation>gml:CompositeSolid implements ISO 19107 GM_CompositeSolid (see ISO 19107:2003, 6.6.7) as specified in D.2.3.6.
|
85 |
|
|
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.
|
86 |
|
|
solidMember references or contains one solid in the composite solid. The solids are contiguous.</documentation>
|
87 |
|
|
</annotation>
|
88 |
|
|
</element>
|
89 |
|
|
</schema>
|