Table of Contents

Class OverlapSuppressionCell

Namespace
EncDotNet.S100.Renderers.Mapsui
Assembly
EncDotNet.S100.Renderers.Mapsui.dll

One loaded chart cell's contribution to cross-cell scale-band overlap suppression (issue #438 Phase 2): its base-chart layers, its EPSG:3857 data coverage footprint, the scale-band denominator used to decide which cells are "finer" (smaller denominator = larger scale), and the denominator from which each finer cell's zoom-out cutoff is derived (the resolution past which it stops drawing, so it must stop suppressing โ€” computed per finer cell in CollectFinerCoverages(OverlapSuppressionCell, IReadOnlyList<OverlapSuppressionCell>)).

public sealed class OverlapSuppressionCell
Inheritance
OverlapSuppressionCell
Inherited Members

Properties

Coverage

The cell's data-coverage footprint in EPSG:3857 (from CoverageGeometry), or null when the cell declares no usable coverage (never suppresses or is suppressed).

public Geometry? Coverage { get; init; }

Property Value

Geometry

CutoffScaleDenominator

The whole-cell zoom-out window denominator the cell's layers are clamped to, when it differs from ScaleDenominator โ€” e.g. an S-57 cell ranked by its compilation scale but drawn out to its largest SCAMIN. A finer cell keeps suppressing coarser overlaps until the viewport zooms out past this denominator. null falls back to ScaleDenominator.

public int? CutoffScaleDenominator { get; init; }

Property Value

int?

Layers

The cell's layers whose drawing is clipped when a finer cell overlaps.

public required IReadOnlyList<ILayer> Layers { get; init; }

Property Value

IReadOnlyList<ILayer>

ScaleDenominator

The cell's ranking scale denominator (S-101 DataCoverage.minimum DisplayScale, FC ยง3.1.1; S-57 DSPM compilation scale). A cell with a strictly smaller denominator is "finer" and suppresses coarser overlaps. null when unknown (excluded from suppression).

public int? ScaleDenominator { get; init; }

Property Value

int?

Remarks

Unless CutoffScaleDenominator is set, this is also the denominator the renderer clamps the cell's layers to (MapsuiDatasetRenderer.ApplyCellScaleWindow / the per-feature out-of-scale-band cap), so converting it to a resolution yields exactly the zoom-out point at which the cell stops drawing its content. The suppressor's cutoff is derived from it (see CollectFinerCoverages(OverlapSuppressionCell, IReadOnlyList<OverlapSuppressionCell>)) rather than from a separately-recorded window that can be absent for standalone-loaded cells.