Table of Contents

Class S57AttributeRule

Namespace
EncDotNet.S100.Datasets.S57
Assembly
EncDotNet.S100.Datasets.S57.dll

Rule describing how an S-57 attribute (ATTL) maps to an S-101 Feature Catalogue attribute.

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

Properties

Attl

S-57 numeric attribute code (ATTL).

public required ushort Attl { get; init; }

Property Value

ushort

DefaultS101Code

Default S-101 attribute name. null means the attribute has no flat S-101 equivalent and should be dropped.

public string? DefaultS101Code { get; init; }

Property Value

string

DefaultValueRemap

Default per-value remap. Applied unless overridden by a feature-level override. A key with a non-null value rewrites the value; a key with a null value drops the attribute. Missing keys pass through.

public IReadOnlyDictionary<string, string?> DefaultValueRemap { get; init; }

Property Value

IReadOnlyDictionary<string, string>

S57Acronym

S-57 attribute acronym (e.g. DRVAL1).

public required string S57Acronym { get; init; }

Property Value

string