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.2">
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.
13
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
14
		</documentation>
15
	</annotation>
16
	<include schemaLocation="gml.xsd"/>
17
	<include schemaLocation="feature.xsd"/>
18
	<include schemaLocation="valueObjects.xsd"/>
19
	<include schemaLocation="grids.xsd"/>
20
	<include schemaLocation="geometryAggregates.xsd"/>
21
	<complexType name="AbstractCoverageType" abstract="true">
22
		<annotation>
23
			<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>
24
		</annotation>
25
		<complexContent>
26
			<extension base="gml:AbstractFeatureType">
27
				<sequence>
28
					<element ref="gml:domainSet"/>
29
					<element ref="gml:rangeSet"/>
30
				</sequence>
31
			</extension>
32
		</complexContent>
33
	</complexType>
34
	<element name="AbstractCoverage" type="gml:AbstractCoverageType" abstract="true" substitutionGroup="gml:AbstractFeature">
35
		<annotation>
36
			<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>
37
		</annotation>
38
	</element>
39
	<complexType name="DiscreteCoverageType">
40
		<complexContent>
41
			<extension base="gml:AbstractCoverageType">
42
				<sequence>
43
					<element ref="gml:coverageFunction" minOccurs="0"/>
44
				</sequence>
45
			</extension>
46
		</complexContent>
47
	</complexType>
48
	<element name="AbstractDiscreteCoverage" type="gml:DiscreteCoverageType" abstract="true" substitutionGroup="gml:AbstractCoverage">
49
		<annotation>
50
			<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.
51
This element serves as the head of a substitution group which may contain any discrete coverage whose type is derived from gml:DiscreteCoverageType.</documentation>
52
		</annotation>
53
	</element>
54
	<complexType name="AbstractContinuousCoverageType" abstract="true">
55
		<complexContent>
56
			<extension base="gml:AbstractCoverageType">
57
				<sequence>
58
					<element ref="gml:coverageFunction" minOccurs="0"/>
59
				</sequence>
60
			</extension>
61
		</complexContent>
62
	</complexType>
63
	<element name="AbstractContinuousCoverage" type="gml:AbstractContinuousCoverageType" abstract="true" substitutionGroup="gml:AbstractFeature">
64
		<annotation>
65
			<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.
66
The coverageFunction element describes the mapping function. 
67
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>
68
		</annotation>
69
	</element>
70
	<element name="domainSet" type="gml:DomainSetType">
71
		<annotation>
72
			<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.
73
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.  
74
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.
75
</documentation>
76
		</annotation>
77
	</element>
78
	<complexType name="DomainSetType">
79
		<sequence minOccurs="0">
80
			<choice>
81
				<element ref="gml:AbstractGeometry"/>
82
				<element ref="gml:AbstractTimeObject"/>
83
			</choice>
84
		</sequence>
85
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
86
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
87
	</complexType>
88
	<element name="rangeSet" type="gml:RangeSetType">
89
		<annotation>
90
			<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.
91
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.
92
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>
93
		</annotation>
94
	</element>
95
	<complexType name="RangeSetType">
96
		<choice>
97
			<element ref="gml:ValueArray" maxOccurs="unbounded"/>
98
			<element ref="gml:AbstractScalarValueList" maxOccurs="unbounded"/>
99
			<element ref="gml:DataBlock"/>
100
			<element ref="gml:File"/>
101
		</choice>
102
	</complexType>
103
	<element name="DataBlock" type="gml:DataBlockType" substitutionGroup="gml:AbstractObject">
104
		<annotation>
105
			<documentation>gml:DataBlock describes the Range as a block of text encoded values similar to a Common Separated Value (CSV) representation.
106
The range set parameterization is described by the property gml:rangeParameters.</documentation>
107
		</annotation>
108
	</element>
109
	<complexType name="DataBlockType">
110
		<sequence>
111
			<element ref="gml:rangeParameters"/>
112
			<choice>
113
				<element ref="gml:tupleList"/>
114
				<element ref="gml:doubleOrNilReasonTupleList"/>
115
			</choice>
116
		</sequence>
117
	</complexType>
118
	<element name="rangeParameters" type="gml:AssociationRoleType"/>
119
	<element name="tupleList" type="gml:CoordinatesType">
120
		<annotation>
121
			<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).
122
The gml:tupleList encoding is effectively "band-interleaved".</documentation>
123
		</annotation>
124
	</element>
125
	<element name="doubleOrNilReasonTupleList" type="gml:doubleOrNilReasonList">
126
		<annotation>
127
			<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>
128
		</annotation>
129
	</element>
130
	<element name="File" type="gml:FileType" substitutionGroup="gml:AbstractObject">
131
		<annotation>
132
			<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.
133
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. 
134
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.
135
The gml:mimeType property points to a definition of the file mime type.
136
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.
137
The semantics of the range set is described as above using the gml:rangeParameters property.
138
Note that if any compression algorithm is applied, the structure above applies only to the pre-compression or post-decompression structure of the file.
139
Note that the fields within a record match the gml:valueComponents of the gml:CompositeValue in document order.</documentation>
140
		</annotation>
141
	</element>
142
	<complexType name="FileType">
143
		<sequence>
144
			<element ref="gml:rangeParameters"/>
145
			<choice>
146
				<element name="fileName" type="anyURI">
147
					<annotation>
148
						<appinfo>deprecated</appinfo>
149
					</annotation>
150
				</element>
151
				<element name="fileReference" type="anyURI"/>
152
			</choice>
153
			<element name="fileStructure" type="gml:CodeType"/>
154
			<element name="mimeType" type="anyURI" minOccurs="0"/>
155
			<element name="compression" type="anyURI" minOccurs="0"/>
156
		</sequence>
157
	</complexType>
158
	<element name="coverageFunction" type="gml:CoverageFunctionType" substitutionGroup="gml:AbstractObject">
159
		<annotation>
160
			<documentation>The gml:coverageFunction property describes the mapping function from the domain to the range of the coverage.
161
The value of the CoverageFunction is one of gml:CoverageMappingRule and gml:GridFunction.
162
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>
163
		</annotation>
164
	</element>
165
	<complexType name="CoverageFunctionType">
166
		<choice>
167
			<element ref="gml:MappingRule"/>
168
			<element ref="gml:CoverageMappingRule"/>
169
			<element ref="gml:GridFunction"/>
170
		</choice>
171
	</complexType>
172
	<element name="CoverageMappingRule" type="gml:MappingRuleType" substitutionGroup="gml:AbstractObject">
173
		<annotation>
174
			<documentation>gml:CoverageMappingRule provides a formal or informal description of the coverage function.
175
The mapping rule may be defined as an in-line string (gml:ruleDefinition) or via a remote reference through xlink:href (gml:ruleReference).  
176
If no rule name is specified, the default is 'Linear' with respect to members of the domain in document order.</documentation>
177
		</annotation>
178
	</element>
179
	<complexType name="MappingRuleType" final="#all">
180
		<choice>
181
			<element name="ruleDefinition" type="string"/>
182
			<element name="ruleReference" type="gml:ReferenceType"/>
183
		</choice>
184
	</complexType>
185
	<element name="GridFunction" type="gml:GridFunctionType" substitutionGroup="gml:AbstractObject">
186
		<annotation>
187
			<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.
188
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>
189
		</annotation>
190
	</element>
191
	<complexType name="GridFunctionType">
192
		<sequence>
193
			<element name="sequenceRule" type="gml:SequenceRuleType" minOccurs="0"/>
194
			<element name="startPoint" type="gml:integerList" minOccurs="0"/>
195
		</sequence>
196
	</complexType>
197
	<complexType name="SequenceRuleType">
198
		<annotation>
199
			<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>
200
		</annotation>
201
		<simpleContent>
202
			<extension base="gml:SequenceRuleEnumeration">
203
				<attribute name="order" type="gml:IncrementOrder">
204
					<annotation>
205
						<appinfo>deprecated</appinfo>
206
					</annotation>
207
				</attribute>
208
				<attribute name="axisOrder" type="gml:AxisDirectionList"/>
209
			</extension>
210
		</simpleContent>
211
	</complexType>
212
	<simpleType name="SequenceRuleEnumeration">
213
		<restriction base="string">
214
			<enumeration value="Linear"/>
215
			<enumeration value="Boustrophedonic"/>
216
			<enumeration value="Cantor-diagonal"/>
217
			<enumeration value="Spiral"/>
218
			<enumeration value="Morton"/>
219
			<enumeration value="Hilbert"/>
220
		</restriction>
221
	</simpleType>
222
	<simpleType name="AxisDirectionList">
223
		<annotation>
224
			<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>
225
		</annotation>
226
		<list itemType="gml:AxisDirection"/>
227
	</simpleType>
228
	<simpleType name="AxisDirection">
229
		<annotation>
230
			<documentation>The value of a gml:AxisDirection indicates the incrementation order to be used on an axis of the grid.</documentation>
231
		</annotation>
232
		<restriction base="string">
233
			<pattern value="[\+\-][1-9][0-9]*"/>
234
		</restriction>
235
	</simpleType>
236
	<element name="MultiPointCoverage" type="gml:DiscreteCoverageType" substitutionGroup="gml:AbstractDiscreteCoverage">
237
		<annotation>
238
			<documentation>In a gml:MultiPointCoverage the domain set is a gml:MultiPoint, that is a collection of arbitrarily distributed geometric points.
239
The content model is identical with gml:DiscreteCoverageType, but that gml:domainSet shall have values gml:MultiPoint.
240
In a gml:MultiPointCoverage the mapping from the domain to the range is straightforward.
241
-	For gml:DataBlock encodings the points of the gml:MultiPoint are mapped in document order to the tuples of the data block.
242
-	For gml:CompositeValue encodings the points of the gml:MultiPoint are mapped to the members of the composite value in document order.
243
-	For gml:File encodings the points of the gml:MultiPoint are mapped to the records of the file in sequential order.
244
</documentation>
245
		</annotation>
246
	</element>
247
	<element name="MultiCurveCoverage" type="gml:DiscreteCoverageType" substitutionGroup="gml:AbstractDiscreteCoverage">
248
		<annotation>
249
			<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.
250
The content model is identical with gml:DiscreteCoverageType, but that gml:domainSet shall have values gml:MultiCurve.
251
In a gml:MultiCurveCoverage the mapping from the domain to the range is straightforward.
252
-	For gml:DataBlock encodings the curves of the gml:MultiCurve are mapped in document order to the tuples of the data block.
253
-	For gml:CompositeValue encodings the curves of the gml:MultiCurve are mapped to the members of the composite value in document order.
254
-	For gml:File encodings the curves of the gml:MultiCurve are mapped to the records of the file in sequential order.
255
</documentation>
256
		</annotation>
257
	</element>
258
	<element name="MultiSurfaceCoverage" type="gml:DiscreteCoverageType" substitutionGroup="gml:AbstractDiscreteCoverage">
259
		<annotation>
260
			<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.
261
The content model is identical with gml:DiscreteCoverageType, but that gml:domainSet shall have values gml:MultiSurface.
262
In a gml:MultiSurfaceCoverage the mapping from the domain to the range is straightforward.
263
-	For gml:DataBlock encodings the surfaces of the gml:MultiSurface are mapped in document order to the tuples of the data block.
264
-	For gml:CompositeValue encodings the surfaces of the gml:MultiSurface are mapped to the members of the composite value in document order.
265
-	For gml:File encodings the surfaces of the gml:MultiSurface are mapped to the records of the file in sequential order.
266
</documentation>
267
		</annotation>
268
	</element>
269
	<element name="MultiSolidCoverage" type="gml:DiscreteCoverageType" substitutionGroup="gml:AbstractDiscreteCoverage">
270
		<annotation>
271
			<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.
272
The content model is identical with gml:DiscreteCoverageType, but that gml:domainSet shall have values gml:MultiSolid.
273
In a gml:MultiSolidCoverage the mapping from the domain to the range is straightforward.
274
-	For gml:DataBlock encodings the solids of the gml:MultiSolid are mapped in document order to the tuples of the data block.
275
-	For gml:CompositeValue encodings the solids of the gml:MultiSolid are mapped to the members of the composite value in document order.
276
-	For gml:File encodings the solids of the gml:MultiSolid are mapped to the records of the file in sequential order.
277
</documentation>
278
		</annotation>
279
	</element>
280
	<element name="GridCoverage" type="gml:DiscreteCoverageType" substitutionGroup="gml:AbstractDiscreteCoverage">
281
		<annotation>
282
			<documentation>A gml:GriddedCoverage is a discrete point coverage in which the domain set is a geometric grid of points.
283
Note that this is the same as the gml:MultiPointCoverage except that we have a gml:Grid to describe the domain.
284
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>
285
		</annotation>
286
	</element>
287
	<element name="RectifiedGridCoverage" type="gml:DiscreteCoverageType" substitutionGroup="gml:AbstractDiscreteCoverage">
288
		<annotation>
289
			<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>
290
		</annotation>
291
	</element>
292
</schema>
(6-6/30)