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="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2" elementFormDefault="qualified" version="3.2.1 2010-01-28">
3
	<annotation>
4
		<appinfo source="urn:x-ogc:specification:gml:schema-xsd:coverage:3.2.1">coverage.xsd</appinfo>
5
		<documentation>See ISO/DIS 19136 20.3.
6
A coverage incorporates a mapping from a spatiotemporal domain to a range set, the latter providing the set in which the attribute values live.  The range set may be an arbitrary set including discrete lists, integer or floating point ranges, and multi-dimensional vector spaces.
7
A coverage can be viewed as the graph of the coverage function f:A à B, that is as the set of ordered pairs {(x, f(x)) | where x is in A}. This view is especially applicable to the GML encoding of a coverage.  In the case of a discrete coverage, the domain set A is partitioned into a collection of subsets (typically a disjoint collection) A = UAi and the function f is constant on each Ai. For a spatial domain, the Ai are geometry elements, hence the coverage can be viewed as a collection of (geometry,value) pairs, where the value is an element of the range set.  If the spatial domain A is a topological space then the coverage can be viewed as a collection of (topology,value) pairs, where the topology element in the pair is a topological n-chain (in GML terms this is a gml:TopoPoint, gml:TopoCurve, gml:TopoSurface or gml:TopoSolid). 
8
A coverage is implemented as a GML feature. We can thus speak of a "temperature distribution feature", or a "remotely sensed image feature", or a "soil distribution feature".
9
As is the case for any GML object, a coverage object may also be the value of a property of a feature.
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="feature.xsd"/>
17
	<include schemaLocation="valueObjects.xsd"/>
18
	<include schemaLocation="grids.xsd"/>
19
	<include schemaLocation="geometryAggregates.xsd"/>
20
	<complexType name="AbstractCoverageType" abstract="true">
21
		<annotation>
22
			<documentation>The base type for coverages is gml:AbstractCoverageType. The basic elements of a coverage can be seen in this content model: the coverage contains gml:domainSet and gml:rangeSet properties. The gml:domainSet property describes the domain of the coverage and the gml:rangeSet property describes the range of the coverage.</documentation>
23
		</annotation>
24
		<complexContent>
25
			<extension base="gml:AbstractFeatureType">
26
				<sequence>
27
					<element ref="gml:domainSet"/>
28
					<element ref="gml:rangeSet"/>
29
				</sequence>
30
			</extension>
31
		</complexContent>
32
	</complexType>
33
	<element name="AbstractCoverage" type="gml:AbstractCoverageType" abstract="true" substitutionGroup="gml:AbstractFeature">
34
		<annotation>
35
			<documentation>This element serves as the head of a substitution group which may contain any coverage whose type is derived from gml:AbstractCoverageType.  It may act as a variable in the definition of content models where it is required to permit any coverage to be valid.</documentation>
36
		</annotation>
37
	</element>
38
	<complexType name="DiscreteCoverageType">
39
		<complexContent>
40
			<extension base="gml:AbstractCoverageType">
41
				<sequence>
42
					<element ref="gml:coverageFunction" minOccurs="0"/>
43
				</sequence>
44
			</extension>
45
		</complexContent>
46
	</complexType>
47
	<element name="AbstractDiscreteCoverage" type="gml:DiscreteCoverageType" abstract="true" substitutionGroup="gml:AbstractCoverage">
48
		<annotation>
49
			<documentation>A discrete coverage consists of a domain set, range set and optionally a coverage function. The domain set consists of either spatial or temporal geometry objects, finite in number. The range set is comprised of a finite number of attribute values each of which is associated to every direct position within any single spatiotemporal object in the domain. In other words, the range values are constant on each spatiotemporal object in the domain. This coverage function maps each element from the coverage domain to an element in its range. The coverageFunction element describes the mapping function.
50
This element serves as the head of a substitution group which may contain any discrete coverage whose type is derived from gml:DiscreteCoverageType.</documentation>
51
		</annotation>
52
	</element>
53
	<complexType name="AbstractContinuousCoverageType" abstract="true">
54
		<complexContent>
55
			<extension base="gml:AbstractCoverageType">
56
				<sequence>
57
					<element ref="gml:coverageFunction" minOccurs="0"/>
58
				</sequence>
59
			</extension>
60
		</complexContent>
61
	</complexType>
62
	<element name="AbstractContinuousCoverage" type="gml:AbstractContinuousCoverageType" abstract="true" substitutionGroup="gml:AbstractFeature">
63
		<annotation>
64
			<documentation>A continuous coverage as defined in ISO 19123 is a coverage that can return different values for the same feature attribute at different direct positions within a single spatiotemporal object in its spatiotemporal domain. The base type for continuous coverages is AbstractContinuousCoverageType.
65
The coverageFunction element describes the mapping function. 
66
The abstract element gml:AbstractContinuousCoverage serves as the head of a substitution group which may contain any continuous coverage whose type is derived from gml:AbstractContinuousCoverageType.</documentation>
67
		</annotation>
68
	</element>
69
	<element name="domainSet" type="gml:DomainSetType">
70
		<annotation>
71
			<documentation>The gml:domainSet property element describes the spatio-temporal region of interest, within which the coverage is defined. Its content model is given by gml:DomainSetType.
72
The value of the domain is thus a choice between a gml:AbstractGeometry and a gml:AbstractTimeObject.  In the instance these abstract elements will normally be substituted by a geometry complex or temporal complex, to represent spatial coverages and time-series, respectively.  
73
The presence of the gml:AssociationAttributeGroup means that domainSet follows the usual GML property model and may use the xlink:href attribute to point to the domain, as an alternative to describing the domain inline. Ownership semantics may be provided using the gml:OwnershipAttributeGroup.
74
</documentation>
75
		</annotation>
76
	</element>
77
	<complexType name="DomainSetType">
78
		<sequence minOccurs="0">
79
			<choice>
80
				<element ref="gml:AbstractGeometry"/>
81
				<element ref="gml:AbstractTimeObject"/>
82
			</choice>
83
		</sequence>
84
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
85
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
86
	</complexType>
87
	<element name="rangeSet" type="gml:RangeSetType">
88
		<annotation>
89
			<documentation>The gml:rangeSet property element contains the values of the coverage (sometimes called the attribute values).  Its content model is given by gml:RangeSetType.
90
This content model supports a structural description of the range.  The semantic information describing the range set is embedded using a uniform method, as part of the explicit values, or as a template value accompanying the representation using gml:DataBlock and gml:File.
91
The values from each component (or "band") in the range may be encoded within a gml:ValueArray element or a concrete member of the gml:AbstractScalarValueList substitution group . Use of these elements satisfies the value-type homogeneity requirement.</documentation>
92
		</annotation>
93
	</element>
94
	<complexType name="RangeSetType">
95
		<choice>
96
			<element ref="gml:ValueArray" maxOccurs="unbounded"/>
97
			<element ref="gml:AbstractScalarValueList" maxOccurs="unbounded"/>
98
			<element ref="gml:DataBlock"/>
99
			<element ref="gml:File"/>
100
		</choice>
101
	</complexType>
102
	<element name="DataBlock" type="gml:DataBlockType" substitutionGroup="gml:AbstractObject">
103
		<annotation>
104
			<documentation>gml:DataBlock describes the Range as a block of text encoded values similar to a Common Separated Value (CSV) representation.
105
The range set parameterization is described by the property gml:rangeParameters.</documentation>
106
		</annotation>
107
	</element>
108
	<complexType name="DataBlockType">
109
		<sequence>
110
			<element ref="gml:rangeParameters"/>
111
			<choice>
112
				<element ref="gml:tupleList"/>
113
				<element ref="gml:doubleOrNilReasonTupleList"/>
114
			</choice>
115
		</sequence>
116
	</complexType>
117
	<element name="rangeParameters" type="gml:AssociationRoleType"/>
118
	<element name="tupleList" type="gml:CoordinatesType">
119
		<annotation>
120
			<documentation>gml:CoordinatesType consists of a list of coordinate tuples, with each coordinate tuple separated by the ts or tuple separator (whitespace), and each coordinate in the tuple by the cs or coordinate separator (comma).
121
The gml:tupleList encoding is effectively "band-interleaved".</documentation>
122
		</annotation>
123
	</element>
124
	<element name="doubleOrNilReasonTupleList" type="gml:doubleOrNilReasonList">
125
		<annotation>
126
			<documentation>gml:doubleOrNilReasonList consists of a list of gml:doubleOrNilReason values, each separated by a whitespace. The gml:doubleOrNilReason values are grouped into tuples where the dimension of each tuple in the list is equal to the number of range parameters.</documentation>
127
		</annotation>
128
	</element>
129
	<element name="File" type="gml:FileType" substitutionGroup="gml:AbstractObject">
130
		<annotation>
131
			<documentation>for efficiency reasons, GML also provides a means of encoding the range set in an arbitrary external encoding, such as a binary file.  This encoding may be "well-known" but this is not required. This mode uses the gml:File element.
132
The values of the coverage (attribute values in the range set) are transmitted in a external file that is referenced from the XML structure described by gml:FileType.  The external file is referenced by the gml:fileReference property that is an anyURI (the gml:fileName property has been deprecated).  This means that the external file may be located remotely from the referencing GML instance. 
133
The gml:compression property points to a definition of a compression algorithm through an anyURI.  This may be a retrievable, computable definition or simply a reference to an unambiguous name for the compression method.
134
The gml:mimeType property points to a definition of the file mime type.
135
The gml:fileStructure property is defined by a codelist. Note further that all values shall be enclosed in a single file. Multi-file structures for values are not supported in GML.
136
The semantics of the range set is described as above using the gml:rangeParameters property.
137
Note that if any compression algorithm is applied, the structure above applies only to the pre-compression or post-decompression structure of the file.
138
Note that the fields within a record match the gml:valueComponents of the gml:CompositeValue in document order.</documentation>
139
		</annotation>
140
	</element>
141
	<complexType name="FileType">
142
		<sequence>
143
			<element ref="gml:rangeParameters"/>
144
			<choice>
145
				<element name="fileName" type="anyURI">
146
					<annotation>
147
						<appinfo>deprecated</appinfo>
148
					</annotation>
149
				</element>
150
				<element name="fileReference" type="anyURI"/>
151
			</choice>
152
			<element name="fileStructure" type="gml:CodeType"/>
153
			<element name="mimeType" type="anyURI" minOccurs="0"/>
154
			<element name="compression" type="anyURI" minOccurs="0"/>
155
		</sequence>
156
	</complexType>
157
	<element name="coverageFunction" type="gml:CoverageFunctionType" substitutionGroup="gml:AbstractObject">
158
		<annotation>
159
			<documentation>The gml:coverageFunction property describes the mapping function from the domain to the range of the coverage.
160
The value of the CoverageFunction is one of gml:CoverageMappingRule and gml:GridFunction.
161
If the gml:coverageFunction property is omitted for a gridded coverage (including rectified gridded coverages) the gml:startPoint is assumed to be the value of the gml:low property in the gml:Grid geometry, and the gml:sequenceRule is assumed to be linear and the gml:axisOrder property is assumed to be "+1 +2".</documentation>
162
		</annotation>
163
	</element>
164
	<complexType name="CoverageFunctionType">
165
		<choice>
166
			<element ref="gml:MappingRule"/>
167
			<element ref="gml:CoverageMappingRule"/>
168
			<element ref="gml:GridFunction"/>
169
		</choice>
170
	</complexType>
171
	<element name="CoverageMappingRule" type="gml:MappingRuleType" substitutionGroup="gml:AbstractObject">
172
		<annotation>
173
			<documentation>gml:CoverageMappingRule provides a formal or informal description of the coverage function.
174
The mapping rule may be defined as an in-line string (gml:ruleDefinition) or via a remote reference through xlink:href (gml:ruleReference).  
175
If no rule name is specified, the default is 'Linear' with respect to members of the domain in document order.</documentation>
176
		</annotation>
177
	</element>
178
	<complexType name="MappingRuleType" final="#all">
179
		<choice>
180
			<element name="ruleDefinition" type="string"/>
181
			<element name="ruleReference" type="gml:ReferenceType"/>
182
		</choice>
183
	</complexType>
184
	<element name="GridFunction" type="gml:GridFunctionType" substitutionGroup="gml:AbstractObject">
185
		<annotation>
186
			<documentation>gml:GridFunction provides an explicit mapping rule for grid geometries, i.e. the domain shall be a geometry of type grid.  It describes the mapping of grid posts (discrete point grid coverage) or grid cells (discrete surface coverage) to the values in the range set.
187
The gml:startPoint is the index position of a point in the grid that is mapped to the first point in the range set (this is also the index position of the first grid post).  If the gml:startPoint property is omitted the gml:startPoint is assumed to be equal to the value of gml:low in the gml:Grid geometry. Subsequent points in the mapping are determined by the value of the gml:sequenceRule.</documentation>
188
		</annotation>
189
	</element>
190
	<complexType name="GridFunctionType">
191
		<sequence>
192
			<element name="sequenceRule" type="gml:SequenceRuleType" minOccurs="0"/>
193
			<element name="startPoint" type="gml:integerList" minOccurs="0"/>
194
		</sequence>
195
	</complexType>
196
	<complexType name="SequenceRuleType">
197
		<annotation>
198
			<documentation>The gml:SequenceRuleType is derived from the gml:SequenceRuleEnumeration through the addition of an axisOrder attribute.  The gml:SequenceRuleEnumeration is an enumerated type. The rule names are defined in ISO 19123. If no rule name is specified the default is "Linear".</documentation>
199
		</annotation>
200
		<simpleContent>
201
			<extension base="gml:SequenceRuleEnumeration">
202
				<attribute name="order" type="gml:IncrementOrder">
203
					<annotation>
204
						<appinfo>deprecated</appinfo>
205
					</annotation>
206
				</attribute>
207
				<attribute name="axisOrder" type="gml:AxisDirectionList"/>
208
			</extension>
209
		</simpleContent>
210
	</complexType>
211
	<simpleType name="SequenceRuleEnumeration">
212
		<restriction base="string">
213
			<enumeration value="Linear"/>
214
			<enumeration value="Boustrophedonic"/>
215
			<enumeration value="Cantor-diagonal"/>
216
			<enumeration value="Spiral"/>
217
			<enumeration value="Morton"/>
218
			<enumeration value="Hilbert"/>
219
		</restriction>
220
	</simpleType>
221
	<simpleType name="AxisDirectionList">
222
		<annotation>
223
			<documentation>The different values in a gml:AxisDirectionList indicate the incrementation order to be used on all axes of the grid. Each axis shall be mentioned once and only once.</documentation>
224
		</annotation>
225
		<list itemType="gml:AxisDirection"/>
226
	</simpleType>
227
	<simpleType name="AxisDirection">
228
		<annotation>
229
			<documentation>The value of a gml:AxisDirection indicates the incrementation order to be used on an axis of the grid.</documentation>
230
		</annotation>
231
		<restriction base="string">
232
			<pattern value="[\+\-][1-9][0-9]*"/>
233
		</restriction>
234
	</simpleType>
235
	<element name="MultiPointCoverage" type="gml:DiscreteCoverageType" substitutionGroup="gml:AbstractDiscreteCoverage">
236
		<annotation>
237
			<documentation>In a gml:MultiPointCoverage the domain set is a gml:MultiPoint, that is a collection of arbitrarily distributed geometric points.
238
The content model is identical with gml:DiscreteCoverageType, but that gml:domainSet shall have values gml:MultiPoint.
239
In a gml:MultiPointCoverage the mapping from the domain to the range is straightforward.
240
-	For gml:DataBlock encodings the points of the gml:MultiPoint are mapped in document order to the tuples of the data block.
241
-	For gml:CompositeValue encodings the points of the gml:MultiPoint are mapped to the members of the composite value in document order.
242
-	For gml:File encodings the points of the gml:MultiPoint are mapped to the records of the file in sequential order.
243
</documentation>
244
		</annotation>
245
	</element>
246
	<element name="MultiCurveCoverage" type="gml:DiscreteCoverageType" substitutionGroup="gml:AbstractDiscreteCoverage">
247
		<annotation>
248
			<documentation>In a gml:MultiCurveCoverage the domain is partioned into a collection of curves comprising a gml:MultiCurve.  The coverage function then maps each curve in the collection to a value in the range set.
249
The content model is identical with gml:DiscreteCoverageType, but that gml:domainSet shall have values gml:MultiCurve.
250
In a gml:MultiCurveCoverage the mapping from the domain to the range is straightforward.
251
-	For gml:DataBlock encodings the curves of the gml:MultiCurve are mapped in document order to the tuples of the data block.
252
-	For gml:CompositeValue encodings the curves of the gml:MultiCurve are mapped to the members of the composite value in document order.
253
-	For gml:File encodings the curves of the gml:MultiCurve are mapped to the records of the file in sequential order.
254
</documentation>
255
		</annotation>
256
	</element>
257
	<element name="MultiSurfaceCoverage" type="gml:DiscreteCoverageType" substitutionGroup="gml:AbstractDiscreteCoverage">
258
		<annotation>
259
			<documentation>In a gml:MultiSurfaceCoverage the domain is partioned into a collection of surfaces comprising a gml:MultiSurface.  The coverage function than maps each surface in the collection to a value in the range set.
260
The content model is identical with gml:DiscreteCoverageType, but that gml:domainSet shall have values gml:MultiSurface.
261
In a gml:MultiSurfaceCoverage the mapping from the domain to the range is straightforward.
262
-	For gml:DataBlock encodings the surfaces of the gml:MultiSurface are mapped in document order to the tuples of the data block.
263
-	For gml:CompositeValue encodings the surfaces of the gml:MultiSurface are mapped to the members of the composite value in document order.
264
-	For gml:File encodings the surfaces of the gml:MultiSurface are mapped to the records of the file in sequential order.
265
</documentation>
266
		</annotation>
267
	</element>
268
	<element name="MultiSolidCoverage" type="gml:DiscreteCoverageType" substitutionGroup="gml:AbstractDiscreteCoverage">
269
		<annotation>
270
			<documentation>In a gml:MultiSolidCoverage the domain is partioned into a collection of solids comprising a gml:MultiSolid.  The coverage function than maps each solid in the collection to a value in the range set.
271
The content model is identical with gml:DiscreteCoverageType, but that gml:domainSet shall have values gml:MultiSolid.
272
In a gml:MultiSolidCoverage the mapping from the domain to the range is straightforward.
273
-	For gml:DataBlock encodings the solids of the gml:MultiSolid are mapped in document order to the tuples of the data block.
274
-	For gml:CompositeValue encodings the solids of the gml:MultiSolid are mapped to the members of the composite value in document order.
275
-	For gml:File encodings the solids of the gml:MultiSolid are mapped to the records of the file in sequential order.
276
</documentation>
277
		</annotation>
278
	</element>
279
	<element name="GridCoverage" type="gml:DiscreteCoverageType" substitutionGroup="gml:AbstractDiscreteCoverage">
280
		<annotation>
281
			<documentation>A gml:GriddedCoverage is a discrete point coverage in which the domain set is a geometric grid of points.
282
Note that this is the same as the gml:MultiPointCoverage except that we have a gml:Grid to describe the domain.
283
The simple gridded coverage is not geometrically referenced and hence no geometric positions are assignable to the points in the grid. Such geometric positioning is introduced in the gml:RectifiedGridCoverage.</documentation>
284
		</annotation>
285
	</element>
286
	<element name="RectifiedGridCoverage" type="gml:DiscreteCoverageType" substitutionGroup="gml:AbstractDiscreteCoverage">
287
		<annotation>
288
			<documentation>The gml:RectifiedGridCoverage is a discrete point coverage based on a rectified grid. It is similar to the grid coverage except that the points of the grid are geometrically referenced. The rectified grid coverage has a domain that is a gml:RectifiedGrid geometry.</documentation>
289
		</annotation>
290
	</element>
291
</schema>
(6-6/30)