Table of Contents

Class RouteChartFeature

Namespace
EncDotNet.S100.Navigation
Assembly
EncDotNet.S100.Navigation.dll

A charted feature near a route leg: its kind, the cell it comes from, its geometry in WGS-84, and the depth it charts.

public sealed record RouteChartFeature : IEquatable<RouteChartFeature>
Inheritance
RouteChartFeature
Implements
Inherited Members

Constructors

RouteChartFeature(RouteChartFeatureKind, RouteChartCell, string, string, IReadOnlyList<SurfacePart>, IReadOnlyList<IReadOnlyList<GeoPosition>>)

A charted feature near a route leg: its kind, the cell it comes from, its geometry in WGS-84, and the depth it charts.

public RouteChartFeature(RouteChartFeatureKind Kind, RouteChartCell Cell, string FeatureId, string FeatureType, IReadOnlyList<SurfacePart> Surfaces, IReadOnlyList<IReadOnlyList<GeoPosition>> Curves)

Parameters

Kind RouteChartFeatureKind

What the feature means to the check.

Cell RouteChartCell

The cell that charts it.

FeatureId string

The feature's id within the cell.

FeatureType string

The feature type, such as "LandArea".

Surfaces IReadOnlyList<SurfacePart>

The feature's surfaces, for an area; empty otherwise.

Curves IReadOnlyList<IReadOnlyList<GeoPosition>>

The feature's curves, for a line; empty otherwise.

Properties

Alerts

The alerts the feature's portrayal raises at the query's depths (#1127), in emission order; empty when it raises none or the source can't portray it.

public IReadOnlyList<RouteChartAlert> Alerts { get; init; }

Property Value

IReadOnlyList<RouteChartAlert>

Cell

The cell that charts it.

public RouteChartCell Cell { get; init; }

Property Value

RouteChartCell

Curves

The feature's curves, for a line; empty otherwise.

public IReadOnlyList<IReadOnlyList<GeoPosition>> Curves { get; init; }

Property Value

IReadOnlyList<IReadOnlyList<GeoPosition>>

DepthMeters

The least depth the feature charts, in metres below the vertical datum (negative for a drying height): DRVAL1 for a depth, dredged or drying area, valueOfSounding for a danger, the depth of a sounding. null when it charts none, such as a danger of unknown depth.

public double? DepthMeters { get; init; }

Property Value

double?

FeatureId

The feature's id within the cell.

public string FeatureId { get; init; }

Property Value

string

FeatureType

The feature type, such as "LandArea".

public string FeatureType { get; init; }

Property Value

string

Kind

What the feature means to the check.

public RouteChartFeatureKind Kind { get; init; }

Property Value

RouteChartFeatureKind

Points

The feature's points, for a point feature (a danger or a sounding); empty otherwise.

public IReadOnlyList<GeoPosition> Points { get; init; }

Property Value

IReadOnlyList<GeoPosition>

Surfaces

The feature's surfaces, for an area; empty otherwise.

public IReadOnlyList<SurfacePart> Surfaces { get; init; }

Property Value

IReadOnlyList<SurfacePart>

WaterLevelEffect

The S-101 waterLevelEffect code of a danger (1 partly submerged at high water, 2 always dry, 3 always under water, 4 covers and uncovers, 5 awash, 6 subject to inundation or flooding, 7 floating), or null when it isn't given.

public int? WaterLevelEffect { get; init; }

Property Value

int?