Table of Contents

Class SkinOfTheEarth

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

Classifies S-101 skin-of-the-earth areas as water or land, and depth areas as drying. Shared by the viewer's pick-time water/land decision and the route check (#954).

public static class SkinOfTheEarth
Inheritance
SkinOfTheEarth
Inherited Members

Remarks

S-101 tiles every cell with group-1 (skin of the earth) areas: land is a LandArea, and water is a DepthArea, DredgedArea or UnsurveyedArea. Ground that covers and uncovers is a DepthArea whose minimum depth (depthRangeMinimumValue, DRVAL1) is negative, a drying height.

Fields

Coastline

The feature type of an S-101 coastline.

public const string Coastline = "Coastline"

Field Value

string

DepthArea

The feature type of an S-101 depth area.

public const string DepthArea = "DepthArea"

Field Value

string

LandArea

The feature type of an S-101 land area.

public const string LandArea = "LandArea"

Field Value

string

Properties

LandAreaTypes

The feature types of S-101 group-1 areas that denote land.

public static IReadOnlySet<string> LandAreaTypes { get; }

Property Value

IReadOnlySet<string>

WaterAreaTypes

The feature types of S-101 group-1 areas that denote water.

public static IReadOnlySet<string> WaterAreaTypes { get; }

Property Value

IReadOnlySet<string>

Methods

Classify(string)

Classifies a feature type.

public static SkinOfTheEarthClass Classify(string featureType)

Parameters

featureType string

The S-101 feature type, such as "DepthArea".

Returns

SkinOfTheEarthClass

The class, or None.

IsDrying(string, IReadOnlyDictionary<string, object?>)

Whether a DepthArea dries: its minimum depth (DRVAL1) is below the vertical datum, or, without a minimum, its maximum (DRVAL2) is at or above it.

public static bool IsDrying(string featureType, IReadOnlyDictionary<string, object?> attributes)

Parameters

featureType string

The feature type; anything but a DepthArea never dries.

attributes IReadOnlyDictionary<string, object>

The feature's attributes, keyed by code (S-101 camel case or the S-57 acronym).

Returns

bool

true for drying ground.