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
KindRouteChartFeatureKindWhat the feature means to the check.
CellRouteChartCellThe cell that charts it.
FeatureIdstringThe feature's id within the cell.
FeatureTypestringThe feature type, such as
"LandArea".SurfacesIReadOnlyList<SurfacePart>The feature's surfaces, for an area; empty otherwise.
CurvesIReadOnlyList<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
Cell
The cell that charts it.
public RouteChartCell Cell { get; init; }
Property Value
Curves
The feature's curves, for a line; empty otherwise.
public IReadOnlyList<IReadOnlyList<GeoPosition>> Curves { get; init; }
Property Value
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
FeatureId
The feature's id within the cell.
public string FeatureId { get; init; }
Property Value
FeatureType
The feature type, such as "LandArea".
public string FeatureType { get; init; }
Property Value
Kind
What the feature means to the check.
public RouteChartFeatureKind Kind { get; init; }
Property Value
Points
The feature's points, for a point feature (a danger or a sounding); empty otherwise.
public IReadOnlyList<GeoPosition> Points { get; init; }
Property Value
Surfaces
The feature's surfaces, for an area; empty otherwise.
public IReadOnlyList<SurfacePart> Surfaces { get; init; }
Property Value
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?