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:geometryBasic2d:3.2.1">geometryBasic2d.xsd</appinfo>
5
		<documentation>See ISO/DIS 19136 Clause 10.
6
			
7
			GML is an OGC Standard.
8
			Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved.
9
			To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
10
		</documentation>
11
	</annotation>
12
	<include schemaLocation="geometryBasic0d1d.xsd"/>
13
	<complexType name="AbstractSurfaceType" abstract="true">
14
		<annotation>
15
			<documentation>gml:AbstractSurfaceType is an abstraction of a surface to support the different levels of complexity. A surface is always a continuous region of a plane.</documentation>
16
		</annotation>
17
		<complexContent>
18
			<extension base="gml:AbstractGeometricPrimitiveType"/>
19
		</complexContent>
20
	</complexType>
21
	<element name="AbstractSurface" type="gml:AbstractSurfaceType" abstract="true" substitutionGroup="gml:AbstractGeometricPrimitive">
22
		<annotation>
23
			<documentation>The AbstractSurface element is the abstract head of the substitution group for all (continuous) surface elements.</documentation>
24
		</annotation>
25
	</element>
26
	<complexType name="SurfacePropertyType">
27
		<annotation>
28
			<documentation>A property that has a surface 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>
29
		</annotation>
30
		<sequence minOccurs="0">
31
			<element ref="gml:AbstractSurface"/>
32
		</sequence>
33
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
34
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
35
	</complexType>
36
	<element name="surfaceProperty" type="gml:SurfacePropertyType">
37
		<annotation>
38
			<documentation>This property element either references a surface via the XLink-attributes or contains the surface element. surfaceProperty 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 AbstractSurface.</documentation>
39
		</annotation>
40
	</element>
41
	<complexType name="SurfaceArrayPropertyType">
42
		<annotation>
43
			<documentation>gml:SurfaceArrayPropertyType is a container for an array of surfaces. The elements are always contained in the array property, referencing geometry elements or arrays of geometry elements via XLinks is not supported.</documentation>
44
		</annotation>
45
		<sequence minOccurs="0" maxOccurs="unbounded">
46
			<element ref="gml:AbstractSurface"/>
47
		</sequence>
48
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
49
	</complexType>
50
	<complexType name="PolygonType">
51
		<complexContent>
52
			<extension base="gml:AbstractSurfaceType">
53
				<sequence>
54
					<element ref="gml:exterior" minOccurs="0"/>
55
					<element ref="gml:interior" minOccurs="0" maxOccurs="unbounded"/>
56
				</sequence>
57
			</extension>
58
		</complexContent>
59
	</complexType>
60
	<element name="Polygon" type="gml:PolygonType" substitutionGroup="gml:AbstractSurface">
61
		<annotation>
62
			<documentation>A Polygon is a special surface that is defined by a single surface patch (see D.3.6). The boundary of this patch is coplanar and the polygon uses planar interpolation in its interior. 
63
The elements exterior and interior describe the surface boundary of the polygon.</documentation>
64
		</annotation>
65
	</element>
66
	<element name="exterior" type="gml:AbstractRingPropertyType">
67
		<annotation>
68
			<documentation>A boundary of a surface consists of a number of rings. In the normal 2D case, one of these rings is distinguished as being the exterior boundary. In a general manifold this is not always possible, in which case all boundaries shall be listed as interior boundaries, and the exterior will be empty.</documentation>
69
		</annotation>
70
	</element>
71
	<element name="interior" type="gml:AbstractRingPropertyType">
72
		<annotation>
73
			<documentation>A boundary of a surface consists of a number of rings. The "interior" rings separate the surface / surface patch from the area enclosed by the rings.</documentation>
74
		</annotation>
75
	</element>
76
	<complexType name="AbstractRingType" abstract="true">
77
		<sequence/>
78
	</complexType>
79
	<element name="AbstractRing" type="gml:AbstractRingType" abstract="true" substitutionGroup="gml:AbstractObject">
80
		<annotation>
81
			<documentation>An abstraction of a ring to support surface boundaries of different complexity.
82
The AbstractRing element is the abstract head of the substituition group for all closed boundaries of a surface patch.</documentation>
83
		</annotation>
84
	</element>
85
	<complexType name="AbstractRingPropertyType">
86
		<annotation>
87
			<documentation>A property with the content model of gml:AbstractRingPropertyType encapsulates a ring to represent the surface boundary property of a surface.</documentation>
88
		</annotation>
89
		<sequence>
90
			<element ref="gml:AbstractRing"/>
91
		</sequence>
92
	</complexType>
93
	<complexType name="LinearRingType">
94
		<complexContent>
95
			<extension base="gml:AbstractRingType">
96
				<sequence>
97
					<choice>
98
						<choice minOccurs="4" maxOccurs="unbounded">
99
							<element ref="gml:pos"/>
100
							<element ref="gml:pointProperty"/>
101
							<element ref="gml:pointRep"/>
102
						</choice>
103
						<element ref="gml:posList"/>
104
						<element ref="gml:coordinates"/>
105
					</choice>
106
				</sequence>
107
			</extension>
108
		</complexContent>
109
	</complexType>
110
	<element name="LinearRing" type="gml:LinearRingType" substitutionGroup="gml:AbstractRing">
111
		<annotation>
112
			<documentation>A LinearRing is defined by four or more coordinate tuples, with linear interpolation between them; the first and last coordinates shall be coincident. The number of direct positions in the list shall be at least four.</documentation>
113
		</annotation>
114
	</element>
115
	<complexType name="LinearRingPropertyType">
116
		<annotation>
117
			<documentation>A property with the content model of gml:LinearRingPropertyType encapsulates a linear ring to represent a component of a surface boundary.</documentation>
118
		</annotation>
119
		<sequence>
120
			<element ref="gml:LinearRing"/>
121
		</sequence>
122
	</complexType>
123
</schema>
(16-16/30)