Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<schema targetNamespace="http://www.opengis.net/gml" 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:feature:3.2.0">feature.xsd</appinfo>
5
		<documentation>See ISO/DIS 19136 Clause 9.
6
A GML feature is a (representation of a) identifiable real-world object in a selected domain of discourse. The feature schema provides a framework for the creation of GML features and feature collections.</documentation>
7
	</annotation>
8
	<include schemaLocation="geometryAggregates.xsd"/>
9
	<include schemaLocation="temporal.xsd"/>
10
	<complexType name="AbstractFeatureType" abstract="true">
11
		<annotation>
12
			<documentation>The basic feature model is given by the gml:AbstractFeatureType.
13
The content model for gml:AbstractFeatureType adds two specific properties suitable for geographic features to the content model defined in gml:AbstractGMLType. 
14
The value of the gml:boundedBy property describes an envelope that encloses the entire feature instance, and is primarily useful for supporting rapid searching for features that occur in a particular location. 
15
The value of the gml:location property describes the extent, position or relative location of the feature.</documentation>
16
		</annotation>
17
		<complexContent>
18
			<extension base="gml:AbstractGMLType">
19
				<sequence>
20
					<element ref="gml:boundedBy" minOccurs="0"/>
21
					<element ref="gml:location" minOccurs="0"/>
22
				</sequence>
23
			</extension>
24
		</complexContent>
25
	</complexType>
26
	<element name="AbstractFeature" type="gml:AbstractFeatureType" abstract="true" substitutionGroup="gml:AbstractGML">
27
		<annotation>
28
			<documentation>This abstract element serves as the head of a substitution group which may contain any elements whose content model is derived from gml:AbstractFeatureType.  This may be used as a variable in the construction of content models.  
29
gml:AbstractFeature may be thought of as “anything that is a GML feature” and may be used to define variables or templates in which the value of a GML property is “any feature”. This occurs in particular in a GML feature collection where the feature member properties contain one or multiple copies of gml:AbstractFeature respectively.</documentation>
30
		</annotation>
31
	</element>
32
	<element name="boundedBy" type="gml:BoundingShapeType" nillable="true">
33
		<annotation>
34
			<documentation>This property describes the minimum bounding box or rectangle that encloses the entire feature.</documentation>
35
		</annotation>
36
	</element>
37
	<complexType name="BoundingShapeType">
38
		<sequence>
39
			<choice>
40
				<element ref="gml:Envelope"/>
41
				<element ref="gml:Null"/>
42
			</choice>
43
		</sequence>
44
		<attribute name="nilReason" type="gml:NilReasonType"/>
45
	</complexType>
46
	<element name="EnvelopeWithTimePeriod" type="gml:EnvelopeWithTimePeriodType" substitutionGroup="gml:Envelope">
47
		<annotation>
48
			<documentation>gml:EnvelopeWithTimePeriod is provided for envelopes that include a temporal extent. It adds two time position properties, gml:beginPosition and gml:endPosition, which describe the extent of a time-envelope.  
49
Since gml:EnvelopeWithTimePeriod is assigned to the substitution group headed by gml:Envelope, it may be used whenever gml:Envelope is valid.</documentation>
50
		</annotation>
51
	</element>
52
	<complexType name="EnvelopeWithTimePeriodType">
53
		<complexContent>
54
			<extension base="gml:EnvelopeType">
55
				<sequence>
56
					<element name="beginPosition" type="gml:TimePositionType"/>
57
					<element name="endPosition" type="gml:TimePositionType"/>
58
				</sequence>
59
				<attribute name="frame" type="anyURI" default="#ISO-8601"/>
60
			</extension>
61
		</complexContent>
62
	</complexType>
63
	<element name="location" type="gml:LocationPropertyType">
64
		<annotation>
65
			<appinfo>deprecated</appinfo>
66
		</annotation>
67
	</element>
68
	<complexType name="LocationPropertyType">
69
		<annotation>
70
			<appinfo>deprecated</appinfo>
71
		</annotation>
72
		<sequence>
73
			<choice>
74
				<element ref="gml:AbstractGeometry"/>
75
				<element ref="gml:LocationKeyWord"/>
76
				<element ref="gml:LocationString"/>
77
				<element ref="gml:Null"/>
78
			</choice>
79
		</sequence>
80
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
81
	</complexType>
82
	<element name="LocationString" type="gml:StringOrRefType">
83
		<annotation>
84
			<appinfo>deprecated</appinfo>
85
		</annotation>
86
	</element>
87
	<element name="LocationKeyWord" type="gml:CodeType">
88
		<annotation>
89
			<appinfo>deprecated</appinfo>
90
		</annotation>
91
	</element>
92
	<element name="locationName" type="gml:CodeType">
93
		<annotation>
94
			<documentation>The gml:locationName property element is a convenience property where the text value describes the location of the feature. If the location names are selected from a controlled list, then the list shall be identified in the codeSpace attribute.</documentation>
95
		</annotation>
96
	</element>
97
	<element name="locationReference" type="gml:ReferenceType">
98
		<annotation>
99
			<documentation>The gml:locationReference property element is a convenience property where the text value referenced by the xlink:href attribute describes the location of the feature.</documentation>
100
		</annotation>
101
	</element>
102
	<element name="priorityLocation" type="gml:PriorityLocationPropertyType" substitutionGroup="gml:location">
103
		<annotation>
104
			<appinfo>deprecated</appinfo>
105
		</annotation>
106
	</element>
107
	<complexType name="PriorityLocationPropertyType">
108
		<annotation>
109
			<appinfo>deprecated</appinfo>
110
		</annotation>
111
		<complexContent>
112
			<extension base="gml:LocationPropertyType">
113
				<attribute name="priority" type="string"/>
114
			</extension>
115
		</complexContent>
116
	</complexType>
117
	<complexType name="FeaturePropertyType">
118
		<annotation>
119
			<appinfo>deprecated</appinfo>
120
		</annotation>
121
		<sequence minOccurs="0">
122
			<element ref="gml:AbstractFeature"/>
123
		</sequence>
124
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
125
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
126
	</complexType>
127
	<element name="featureMember" type="gml:FeaturePropertyType">
128
		<annotation>
129
			<appinfo>deprecated</appinfo>
130
		</annotation>
131
	</element>
132
	<element name="featureProperty" type="gml:FeaturePropertyType">
133
		<annotation>
134
			<appinfo>deprecated</appinfo>
135
		</annotation>
136
	</element>
137
	<complexType name="FeatureArrayPropertyType">
138
		<annotation>
139
			<appinfo>deprecated</appinfo>
140
		</annotation>
141
		<sequence minOccurs="0" maxOccurs="unbounded">
142
			<element ref="gml:AbstractFeature"/>
143
		</sequence>
144
	</complexType>
145
	<element name="featureMembers" type="gml:FeatureArrayPropertyType">
146
		<annotation>
147
			<appinfo>deprecated</appinfo>
148
		</annotation>
149
	</element>
150
	<element name="centerOf" type="gml:PointPropertyType"/>
151
	<element name="position" type="gml:PointPropertyType"/>
152
	<element name="extentOf" type="gml:SurfacePropertyType"/>
153
	<element name="edgeOf" type="gml:CurvePropertyType"/>
154
	<element name="centerLineOf" type="gml:CurvePropertyType"/>
155
	<element name="multiLocation" type="gml:MultiPointPropertyType"/>
156
	<element name="multiCenterOf" type="gml:MultiPointPropertyType"/>
157
	<element name="multiPosition" type="gml:MultiPointPropertyType"/>
158
	<element name="multiCenterLineOf" type="gml:MultiCurvePropertyType"/>
159
	<element name="multiEdgeOf" type="gml:MultiCurvePropertyType"/>
160
	<element name="multiCoverage" type="gml:MultiSurfacePropertyType"/>
161
	<element name="multiExtentOf" type="gml:MultiSurfacePropertyType"/>
162
	<complexType name="BoundedFeatureType" abstract="true">
163
		<annotation>
164
			<appinfo>deprecated</appinfo>
165
		</annotation>
166
		<complexContent>
167
			<restriction base="gml:AbstractFeatureType">
168
				<sequence>
169
					<group ref="gml:StandardObjectProperties"/>
170
					<element ref="gml:boundedBy"/>
171
					<element ref="gml:location" minOccurs="0"/>
172
				</sequence>
173
			</restriction>
174
		</complexContent>
175
	</complexType>
176
	<complexType name="AbstractFeatureMemberType" abstract="true">
177
		<annotation>
178
			<documentation>To create a collection of GML features, a property type shall be derived by extension from gml:AbstractFeatureMemberType.
179
By default, this abstract property type does not imply any ownership of the features in the collection. The owns attribute of gml:OwnershipAttributeGroup may be used on a property element instance to assert ownership of a feature in the collection. A collection shall not own a feature already owned by another object.</documentation>
180
		</annotation>
181
		<sequence/>
182
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
183
	</complexType>
184
	<complexType name="AbstractFeatureCollectionType" abstract="true">
185
		<annotation>
186
			<appinfo>deprecated</appinfo>
187
		</annotation>
188
		<complexContent>
189
			<extension base="gml:AbstractFeatureType">
190
				<sequence>
191
					<element ref="gml:featureMember" minOccurs="0" maxOccurs="unbounded"/>
192
					<element ref="gml:featureMembers" minOccurs="0"/>
193
				</sequence>
194
			</extension>
195
		</complexContent>
196
	</complexType>
197
	<element name="AbstractFeatureCollection" type="gml:AbstractFeatureCollectionType" abstract="true" substitutionGroup="gml:AbstractFeature">
198
		<annotation>
199
			<appinfo>deprecated</appinfo>
200
		</annotation>
201
	</element>
202
	<element name="FeatureCollection" type="gml:FeatureCollectionType" substitutionGroup="gml:AbstractFeature">
203
		<annotation>
204
			<appinfo>deprecated</appinfo>
205
		</annotation>
206
	</element>
207
	<complexType name="FeatureCollectionType">
208
		<annotation>
209
			<appinfo>deprecated</appinfo>
210
		</annotation>
211
		<complexContent>
212
			<extension base="gml:AbstractFeatureCollectionType"/>
213
		</complexContent>
214
	</complexType>
215
</schema>
(17-17/54)