Table of Contents

Struct S57LongName

Namespace
EncDotNet.S57
Assembly
EncDotNet.S57.dll

Represents a feature object identifier, the "Long Name" (LNAM) that identifies a feature object and that feature-to-feature pointers use to refer to it (S-57 Part 3, 4.3 and 4.6).

public readonly record struct S57LongName : IEquatable<S57LongName>
Implements
Inherited Members

Remarks

A long name is the feature's producing agency (AGEN), feature identification number (FIDN) and feature identification subdivision (FIDS), from its FOID field. Unlike a record's S57RecordName (RCNM and RCID), it stays the same across editions and updates, which is why FFPT pointers use it as their foreign key.

Constructors

S57LongName(ushort, uint, ushort)

Initializes a new instance of the S57LongName struct.

public S57LongName(ushort agencyCode, uint featureId, ushort featureSubdivision)

Parameters

agencyCode ushort

The producing agency (AGEN).

featureId uint

The feature identification number (FIDN).

featureSubdivision ushort

The feature identification subdivision (FIDS).

Properties

AgencyCode

Gets the producing agency code (AGEN).

public ushort AgencyCode { get; init; }

Property Value

ushort

FeatureId

Gets the feature identification number (FIDN).

public uint FeatureId { get; init; }

Property Value

uint

FeatureSubdivision

Gets the feature identification subdivision (FIDS).

public ushort FeatureSubdivision { get; init; }

Property Value

ushort

Methods

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.