Table of Contents

Class IsolineCoverageSubLayer

Namespace
EncDotNet.S100.Datasets.Pipelines.Portrayal
Assembly
EncDotNet.S100.Core.dll

A sub-layer of labelled isolines over a gridded coverage (the S-104 water-level surface). The renderers draw Isolines in screen space: dashed lines of constant pixel width, with labels spaced along them.

public sealed class IsolineCoverageSubLayer : CoverageSubLayerBase
Inheritance
IsolineCoverageSubLayer
Inherited Members

Remarks

S-104 Ed 2.0.0 ยง9 defines no portrayal; the S-104 isolines are SoundCharts' own (see S104CoverageStyle).

Properties

DashPattern

Dash pattern (dash, gap) in device-independent pixels; empty for solid.

public IReadOnlyList<double> DashPattern { get; init; }

Property Value

IReadOnlyList<double>

Extent

The EPSG:3857 extent of the coverage the isolines were traced from, or null when it is unknown. Covers the whole grid even when there are no isolines, so the dataset still has an extent.

public MercatorBounds? Extent { get; init; }

Property Value

MercatorBounds?

Ink

Line and label colour.

public required RgbaColor Ink { get; init; }

Property Value

RgbaColor

Isolines

The isolines, in EPSG:3857 metres.

public required IReadOnlyList<Isoline> Isolines { get; init; }

Property Value

IReadOnlyList<Isoline>

LabelFontSize

Label font size in device-independent pixels, with the text scale applied.

public double LabelFontSize { get; init; }

Property Value

double

LabelHalo

Label halo colour.

public required RgbaColor LabelHalo { get; init; }

Property Value

RgbaColor

LabelHaloWidth

Width of the halo under each label in device-independent pixels, with the text scale applied.

public double LabelHaloWidth { get; init; }

Property Value

double

LabelSpacing

Line length between labels, in device-independent pixels.

public double LabelSpacing { get; init; }

Property Value

double

LandAreaMask

Optional land-area surface geometries (WGS84 (latitude, longitude)) the isolines are clipped out of so they only cross water. Set by the S-98 rule that clips S-104 to water when an S-101 ENC is loaded (issue #483; R-101-104-B). null or empty draws them everywhere.

public IReadOnlyList<FeatureGeometry>? LandAreaMask { get; init; }

Property Value

IReadOnlyList<FeatureGeometry>

LineWidth

Line width in device-independent pixels.

public double LineWidth { get; init; }

Property Value

double

Methods

WithLandAreaMask(IReadOnlyList<FeatureGeometry>?)

Returns a copy of this sub-layer with LandAreaMask replaced.

public IsolineCoverageSubLayer WithLandAreaMask(IReadOnlyList<FeatureGeometry>? landAreaMask)

Parameters

landAreaMask IReadOnlyList<FeatureGeometry>

The land-area surfaces to clip out, or null.

Returns

IsolineCoverageSubLayer