Table of Contents

Class CoveragePipeline

Namespace
EncDotNet.S100.Pipelines.Coverage
Assembly
EncDotNet.S100.Core.dll

Assembles a StyledCoverageLayer from a coverage source and coverage style: resolves the style's colour and (optional) symbol schemes against the supplied MarinerSettings, samples the full grid, and bundles the result with the source's georeferencing. Pixel-level colorization and any reprojection are deferred to the renderer, since coverage grids are typically authored in a non-display CRS (e.g. UTM for S-102) that requires per-pixel reprojection at render time.

public class CoveragePipeline
Inheritance
CoveragePipeline
Inherited Members

Methods

ProcessAsync(ICoverageSource, ICoverageStyle, Viewport?, ICrsTransform?, MarinerSettings?, CancellationToken)

Assembles a StyledCoverageLayer from a coverage source.

public Task<StyledCoverageLayer> ProcessAsync(ICoverageSource source, ICoverageStyle style, Viewport? viewport = null, ICrsTransform? wgs84ToNative = null, MarinerSettings? mariner = null, CancellationToken cancellationToken = default)

Parameters

source ICoverageSource

The coverage source to sample.

style ICoverageStyle

The coverage style.

viewport Viewport

Optional map viewport in WGS-84. When supplied the pipeline calls FromViewport(Viewport, GridMetadata, string, ICrsTransform?) to sample only the cells that fall inside the viewport at the viewport's ground resolution (issue #487). When null the full grid is sampled (unchanged behaviour, preserves headless / CLI callers).

wgs84ToNative ICrsTransform

Optional CRS transform from WGS-84 to the grid's native CRS. Required when viewport is supplied and the grid CRS is not EPSG:4326 (e.g. an S-102 grid authored in UTM).

mariner MarinerSettings

Optional mariner settings for palette / symbol resolution.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<StyledCoverageLayer>