@mangosystem/ogc-schemas
Version:
Jsonix XML-JSON mappings for OGC Schemas.
108 lines (107 loc) • 5.89 kB
text/xml
<!-- Example for a rectified grid coverage
as defined in the GML 3.2.1 Application Schema for Coverages.
Last updated 2012-Jul-10
-->
<gmlcov:GridCoverage
xmlns:gmlcov="http://www.opengis.net/gmlcov/1.0"
xmlns:gml="http://www.opengis.net/gml/3.2"
xmlns:swe="http://www.opengis.net/swe/2.0"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.w3.org/2001/XMLSchema"
xsi:schemaLocation="http://www.opengis.net/gmlcov/1.0 http://schemas.opengis.net/gmlcov/1.0/gmlcovAll.xsd"
gml:id="C0001">
<gml:boundedBy>
<!-- Note: The srsName attribute of the Envelope element shall be used as the default coordinate reference system for "all geometric objects encoded inline" [GML 3.2.1], i.e.: for all range set values. -->
<gml:Envelope srsName="http://www.opengis.net/def/crs/EPSG/0/4326" axisLabels="Lat Long" uomLabels="deg deg" srsDimension="2">
<gml:lowerCorner>1.0 1.0</gml:lowerCorner>
<gml:upperCorner>3.0 10.0</gml:upperCorner>
</gml:Envelope>
</gml:boundedBy>
<gml:domainSet>
<gml:RectifiedGrid gml:id="rg0001_C0001" dimension="2">
<gml:limits>
<gml:GridEnvelope>
<gml:low>0 0</gml:low>
<gml:high>2 9</gml:high>
</gml:GridEnvelope>
</gml:limits>
<gml:axisLabels>Lat Long</gml:axisLabels>
<gml:origin>
<gml:Point gml:id="p0001_C0001" srsName="http://www.opengis.net/def/crs/EPSG/0/4326">
<gml:pos>3.0 1.0</gml:pos>
</gml:Point>
</gml:origin>
<gml:offsetVector srsName="http://www.opengis.net/def/crs/EPSG/0/4326">0.0 1.0</gml:offsetVector>
<gml:offsetVector srsName="http://www.opengis.net/def/crs/EPSG/0/4326">-1.0 0.0</gml:offsetVector>
</gml:RectifiedGrid>
</gml:domainSet>
<gml:rangeSet>
<!-- Note: Order of components within a composite rangeSet value (e.g. tuples in tupleList) corresponds to document order of the rangeType elements (e.g. fields). -->
<gml:DataBlock>
<gml:rangeParameters/>
<gml:tupleList>
119,208,248 119,208,248 119,208,248 119,208,248 119,208,248 119,208,248 119,208,248 119,208,248 34,32,29 0,174,78 119,208,248 119,208,248 119,208,248 119,208,248 119,208,248 119,208,248 119,208,248 34,32,29 0,174,78 0,174,78 119,208,248 119,208,248 119,208,248 119,208,248 119,208,248 119,208,248 34,32,29 0,174,78 34,32,29 70,187,8
</gml:tupleList>
</gml:DataBlock>
</gml:rangeSet>
<gmlcov:rangeType>
<swe:DataRecord>
<swe:field name="red">
<swe:Quantity definition="http://opengis.net/def/property/OGC/0/Radiance">
<swe:description>Red Channel</swe:description>
<swe:nilValues>
<swe:NilValues>
<swe:nilValue reason="http://www.opengis.net/def/nil/OGC/0/BelowDetectionRange">0</swe:nilValue>
<swe:nilValue reason="http://www.opengis.net/def/nil/OGC/0/AboveDetectionRange">255</swe:nilValue>
</swe:NilValues>
</swe:nilValues>
<swe:uom code="W.m-2.sr-1.nm-1"/>
<swe:constraint>
<swe:AllowedValues>
<swe:interval>0 255</swe:interval>
<swe:significantFigures>3</swe:significantFigures>
</swe:AllowedValues>
</swe:constraint>
</swe:Quantity>
</swe:field>
<swe:field name="green">
<swe:Quantity definition="http://opengis.net/def/property/OGC/0/Radiance">
<swe:description>Green Channel</swe:description>
<swe:nilValues>
<swe:NilValues>
<swe:nilValue reason="http://www.opengis.net/def/nil/OGC/0/BelowDetectionRange">0</swe:nilValue>
<swe:nilValue reason="http://www.opengis.net/def/nil/OGC/0/AboveDetectionRange">255</swe:nilValue>
</swe:NilValues>
</swe:nilValues>
<swe:uom code="W.m-2.sr-1.nm-1"/>
<swe:constraint>
<swe:AllowedValues>
<swe:interval>0 255</swe:interval>
<swe:significantFigures>3</swe:significantFigures>
</swe:AllowedValues>
</swe:constraint>
</swe:Quantity>
</swe:field>
<swe:field name="blue">
<swe:Quantity definition="http://opengis.net/def/property/OGC/0/Radiance">
<swe:description>Blue Channel</swe:description>
<swe:nilValues>
<swe:NilValues>
<swe:nilValue reason="http://www.opengis.net/def/nil/OGC/0/BelowDetectionRange">0</swe:nilValue>
<swe:nilValue reason="http://www.opengis.net/def/nil/OGC/0/AboveDetectionRange">255</swe:nilValue>
</swe:NilValues>
</swe:nilValues>
<swe:uom code="W.m-2.sr-1.nm-1"/>
<swe:constraint>
<swe:AllowedValues>
<swe:interval>0 255</swe:interval>
<swe:significantFigures>3</swe:significantFigures>
</swe:AllowedValues>
</swe:constraint>
</swe:Quantity>
</swe:field>
</swe:DataRecord>
</gmlcov:rangeType>
</gmlcov:GridCoverage>