Struct S57LongName
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
agencyCodeushortThe producing agency (AGEN).
featureIduintThe feature identification number (FIDN).
featureSubdivisionushortThe feature identification subdivision (FIDS).
Properties
AgencyCode
Gets the producing agency code (AGEN).
public ushort AgencyCode { get; init; }
Property Value
FeatureId
Gets the feature identification number (FIDN).
public uint FeatureId { get; init; }
Property Value
FeatureSubdivision
Gets the feature identification subdivision (FIDS).
public ushort FeatureSubdivision { get; init; }
Property Value
Methods
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.