createCoverage

suspend fun createCoverage(serviceAddress: String, coverageName: String, outputFormat: String, serviceMetadata: String? = null, displayName: String? = null): Wcs201ElevationCoverage

Construct a WCS 2.0.1 elevation coverage (cache-agnostic).

WCS 2.0.1 needs the per-coverage DescribeCoverage XML to determine bounding box / axis labels / level count before the coverage object can exist. serviceMetadata (caller-supplied XML) is used verbatim when non-null; otherwise the factory issues a DescribeCoverage request.

See the canonical Wcs201ElevationCoverage.createCoverage(...) + ContentManager.attachCache(coverage, key) pattern for the cache-first variant that reads persisted coverage-description XML before falling back to the network.

Return

WCS 2.0.1 elevation coverage

Parameters

serviceAddress

the WCS service address

coverageName

the WCS coverage name

outputFormat

the WCS source data format

serviceMetadata

optional pre-fetched coverage description XML

displayName

optional layer display name