Class CoveragePipeline
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
sourceICoverageSourceThe coverage source to sample.
styleICoverageStyleThe coverage style.
viewportViewportOptional 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).
wgs84ToNativeICrsTransformOptional CRS transform from WGS-84 to the grid's native CRS. Required when
viewportis supplied and the grid CRS is not EPSG:4326 (e.g. an S-102 grid authored in UTM).marinerMarinerSettingsOptional mariner settings for palette / symbol resolution.
cancellationTokenCancellationTokenCancellation token.