File, FileType Coverage schema

210 Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. The referenced file structure shall be as shown in Figure 7. Where the values in each are Record 1 A1 A2 A3 Record 2 Record 3 … Record n Figure 7 — File Record Structure or Coverage File Note that if any compression algorithm is applied, the structure above applies only to the pre-compression or post- decompression structure of the file. Note that the fields within a record match the gml:valueComponents of the gml:CompositeValue in document order. EXAMPLE An encoding of a binary file may look as follows: gml:File gml:rangeParameters gml:CompositeValue gml:valueComponents Temperature uom=urn:x-si:v1999:uom:degreesCtemplateTemperature Pressure uom=urn:x-si:v1999:uom:kPatemplatePressure gml:valueComponents gml:CompositeValue gml:rangeParameters gml:fileNamehttp:www.somedata.orgtemp_pressure.datgml:fileName gml:fileStructureRecord Interleavedgml:fileStructure gml:File

19.3.11 coverageFunction, CoverageFunctionType

This subclause describes the gml:coverageFunction property , that is, the mapping ―f‖ see Figure 4 from the domain to the range of the coverage. The content model for the coverage function is given by: element name=coverageFunction type=gml:CoverageFunctionType substitutionGroup=gml:AbstractObject complexType name=CoverageFunctionType choice element ref=gml:MappingRule element ref=gml:CoverageMappingRule element ref=gml:GridFunction choice complexType Note that the value of the CoverageFunction is one of gml:MappingRule deprecated, gml:CoverageMappingRule and gml:GridFunction. Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. 211 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‖. EXAMPLE These defaults are best illustrated by a simple example as follows: AverageTempPressure xmlns=http:www.opengis.netapp xmlns:gml =‖http:www.opengis.netgml3.2‖ xmlns:xsi=http:www.w3.org2001XMLSchema-instance xsi:schemaLocation=http:www.opengis.netapp .CoverageExamples.xsd gml:domainSet gml:Grid dimension=2 gml:limits gml:GridEnvelope gml:low0 0gml:low gml:high4 4gml:high gml:GridEnvelope gml:limits gml:axisLabelsx ygml:axisLabels gml:Grid gml:domainSet gml:rangeSet gml:DataBlock gml:rangeParameters gml:CompositeValue gml:valueComponents Temperature uom=urn:x-si:v1999:uom:degreesCtemplateTemperature Pressure uom=urn:x-si:v1999:uom:kPatemplatePressure gml:valueComponents gml:CompositeValue gml:rangeParameters gml:tupleList3,101.2 5,101.3 7,101.4 11,101.5 13,101.6 17,101.7 19,101.7 23,101.8 29,101.9 31,102.0 37,102.1 41,102.2 43,102.3 47,102.4 53,102.5 59,102.6gml:tupleList gml:DataBlock gml:rangeSet AverageTempPressure Since no coverageFunction is specified the function is assumed to be that of linear scann ing with ―+1 +2‖ order starting at the location 0 0. If we look at the DataBlock, we see that we have the mapping shown in Table 4.