Standards /

WCPS-Manual / encodedCoverageExpr

The encodedCoverageExpr element specifies encoding of a coverage-valued request result by means of a data format and possible extra encoding parameters.

Data format encodings should, to the largest extent possible, materialise the coverage's metadata. A service may store further information as part of the encoding.

Example

For a georeferenced coverage, a GeoTIFF result file should contain the coverage's geo coordinate and resolution information.

Note: For materialization of the coverage grid cell values the coverage's image CRS shall be used by default. See crsTransformExpr for controlling coverage grid cell values via other CRSs.

Let

C be a coverageExpr
f be a string
where

f is the name of a data format listed under supportedFormats in the GetCapabilities response,
the data format specified by f supports encoding of a coverage of C's do-main and range.

Then

for any byteString S
where S is one of

Se = encode ( C , f )
See = encode ( C , f , extraParams )

with extraParams being a string enclosed in double quotes ('"')

S is defined as that byte string which encodes C into the data format specified by formatName and the optional extraParams. Syntax and semantics of the extraParams are not specified in this standard.

NOTE Some format encodings may lead to a loss of information.

NOTE The extraParams are data format and implementation dependent.

Example

The following expression specifies retrieval of coverage C encoded in HDF-EOS:

encode( C, "hdf-eos" )

A WCPS implementation may encode a JPEG quality factor of 50% as the string ".50".

Usage of formats shall adhere to the regulations set forth in WCS [4].