Project

General

Profile

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 2010-01-28">
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, Inc. All Rights Reserved.
13
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
14
		</documentation>
15
	</annotation>
16
	<include schemaLocation="geometryAggregates.xsd"/>
17
	<complexType name="GeometricComplexType">
18
		<complexContent>
19
			<extension base="gml:AbstractGeometryType">
20
				<sequence>
21
					<element name="element" type="gml:GeometricPrimitivePropertyType" maxOccurs="unbounded"/>
22
				</sequence>
23
				<attributeGroup ref="gml:AggregationAttributeGroup"/>
24
			</extension>
25
		</complexContent>
26
	</complexType>
27
	<element name="GeometricComplex" type="gml:GeometricComplexType" substitutionGroup="gml:AbstractGeometry"/>
28
	<complexType name="GeometricComplexPropertyType">
29
		<annotation>
30
			<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>
31
		</annotation>
32
		<sequence minOccurs="0">
33
			<choice>
34
				<element ref="gml:GeometricComplex"/>
35
				<element ref="gml:CompositeCurve"/>
36
				<element ref="gml:CompositeSurface"/>
37
				<element ref="gml:CompositeSolid"/>
38
			</choice>
39
		</sequence>
40
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
41
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
42
	</complexType>
43
	<complexType name="CompositeCurveType">
44
		<complexContent>
45
			<extension base="gml:AbstractCurveType">
46
				<sequence>
47
					<element ref="gml:curveMember" maxOccurs="unbounded"/>
48
				</sequence>
49
				<attributeGroup ref="gml:AggregationAttributeGroup"/>
50
			</extension>
51
		</complexContent>
52
	</complexType>
53
	<element name="CompositeCurve" type="gml:CompositeCurveType" substitutionGroup="gml:AbstractCurve">
54
		<annotation>
55
			<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. 
56
curveMember references or contains inline one curve in the composite curve. 
57
The curves are contiguous, the collection of curves is ordered. Therefore, if provided, the aggregationType attribute shall have the value "sequence".</documentation>
58
		</annotation>
59
	</element>
60
	<complexType name="CompositeSurfaceType">
61
		<complexContent>
62
			<extension base="gml:AbstractSurfaceType">
63
				<sequence>
64
					<element ref="gml:surfaceMember" maxOccurs="unbounded"/>
65
				</sequence>
66
				<attributeGroup ref="gml:AggregationAttributeGroup"/>
67
			</extension>
68
		</complexContent>
69
	</complexType>
70
	<element name="CompositeSurface" type="gml:CompositeSurfaceType" substitutionGroup="gml:AbstractSurface">
71
		<annotation>
72
			<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.
73
surfaceMember references or contains inline one surface in the composite surface. 
74
The surfaces are contiguous.</documentation>
75
		</annotation>
76
	</element>
77
	<complexType name="CompositeSolidType">
78
		<complexContent>
79
			<extension base="gml:AbstractSolidType">
80
				<sequence>
81
					<element ref="gml:solidMember" maxOccurs="unbounded"/>
82
				</sequence>
83
				<attributeGroup ref="gml:AggregationAttributeGroup"/>
84
			</extension>
85
		</complexContent>
86
	</complexType>
87
	<element name="CompositeSolid" type="gml:CompositeSolidType" substitutionGroup="gml:AbstractSolid">
88
		<annotation>
89
			<documentation>gml:CompositeSolid implements ISO 19107 GM_CompositeSolid (see ISO 19107:2003, 6.6.7) as specified in D.2.3.6. 
90
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. 
91
solidMember references or contains one solid in the composite solid. The solids are contiguous.</documentation>
92
		</annotation>
93
	</element>
94
</schema>
(17-17/30)