Project

General

Profile

1 9238 tao
<?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: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.
9
			To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
10
		</documentation>
11
	</annotation>
12
	<include schemaLocation="gml.xsd"/>
13
	<include schemaLocation="geometryBasic0d1d.xsd"/>
14
	<complexType name="AbstractSurfaceType" abstract="true">
15
		<annotation>
16
			<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>
17
		</annotation>
18
		<complexContent>
19
			<extension base="gml:AbstractGeometricPrimitiveType"/>
20
		</complexContent>
21
	</complexType>
22
	<element name="AbstractSurface" type="gml:AbstractSurfaceType" abstract="true" substitutionGroup="gml:AbstractGeometricPrimitive">
23
		<annotation>
24
			<documentation>The AbstractSurface element is the abstract head of the substitution group for all (continuous) surface elements.</documentation>
25
		</annotation>
26
	</element>
27
	<complexType name="SurfacePropertyType">
28
		<annotation>
29
			<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>
30
		</annotation>
31
		<sequence minOccurs="0">
32
			<element ref="gml:AbstractSurface"/>
33
		</sequence>
34
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
35
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
36
	</complexType>
37
	<element name="surfaceProperty" type="gml:SurfacePropertyType">
38
		<annotation>
39
			<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>
40
		</annotation>
41
	</element>
42
	<complexType name="SurfaceArrayPropertyType">
43
		<annotation>
44
			<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>
45
		</annotation>
46
		<sequence minOccurs="0" maxOccurs="unbounded">
47
			<element ref="gml:AbstractSurface"/>
48
		</sequence>
49
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
50
	</complexType>
51
	<complexType name="PolygonType">
52
		<complexContent>
53
			<extension base="gml:AbstractSurfaceType">
54
				<sequence>
55
					<element ref="gml:exterior" minOccurs="0"/>
56
					<element ref="gml:interior" minOccurs="0" maxOccurs="unbounded"/>
57
				</sequence>
58
			</extension>
59
		</complexContent>
60
	</complexType>
61
	<element name="Polygon" type="gml:PolygonType" substitutionGroup="gml:AbstractSurface">
62
		<annotation>
63
			<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.
64
The elements exterior and interior describe the surface boundary of the polygon.</documentation>
65
		</annotation>
66
	</element>
67
	<element name="exterior" type="gml:AbstractRingPropertyType">
68
		<annotation>
69
			<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>
70
		</annotation>
71
	</element>
72
	<element name="interior" type="gml:AbstractRingPropertyType">
73
		<annotation>
74
			<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>
75
		</annotation>
76
	</element>
77
	<complexType name="AbstractRingType" abstract="true">
78
		<sequence/>
79
	</complexType>
80
	<element name="AbstractRing" type="gml:AbstractRingType" abstract="true" substitutionGroup="gml:AbstractObject">
81
		<annotation>
82
			<documentation>An abstraction of a ring to support surface boundaries of different complexity.
83
The AbstractRing element is the abstract head of the substituition group for all closed boundaries of a surface patch.</documentation>
84
		</annotation>
85
	</element>
86
	<complexType name="AbstractRingPropertyType">
87
		<annotation>
88
			<documentation>A property with the content model of gml:AbstractRingPropertyType encapsulates a ring to represent the surface boundary property of a surface.</documentation>
89
		</annotation>
90
		<sequence>
91
			<element ref="gml:AbstractRing"/>
92
		</sequence>
93
	</complexType>
94
	<complexType name="LinearRingType">
95
		<complexContent>
96
			<extension base="gml:AbstractRingType">
97
				<sequence>
98
					<choice>
99
						<choice minOccurs="4" maxOccurs="unbounded">
100
							<element ref="gml:pos"/>
101
							<element ref="gml:pointProperty"/>
102
							<element ref="gml:pointRep"/>
103
						</choice>
104
						<element ref="gml:posList"/>
105
						<element ref="gml:coordinates"/>
106
					</choice>
107
				</sequence>
108
			</extension>
109
		</complexContent>
110
	</complexType>
111
	<element name="LinearRing" type="gml:LinearRingType" substitutionGroup="gml:AbstractRing">
112
		<annotation>
113
			<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>
114
		</annotation>
115
	</element>
116
	<complexType name="LinearRingPropertyType">
117
		<annotation>
118
			<documentation>A property with the content model of gml:LinearRingPropertyType encapsulates a linear ring to represent a component of a surface boundary.</documentation>
119
		</annotation>
120
		<sequence>
121
			<element ref="gml:LinearRing"/>
122
		</sequence>
123
	</complexType>
124
</schema>