Table of Contents

Class SimpleAttribute

Namespace
EncDotNet.S100.Features
Assembly
EncDotNet.S100.Features.dll

A simple (scalar) attribute from the Feature Catalogue, parsed from S100_FC_SimpleAttributes/S100_FC_SimpleAttribute. Types bind it through an AttributeBinding, and a ComplexAttribute through a SubAttributeBinding; enumerated attributes carry ListedValues.

public sealed class SimpleAttribute
Inheritance
SimpleAttribute
Inherited Members

Properties

Alias

Alternative name (alias), typically the legacy S-57 acronym; null when absent.

public string? Alias { get; init; }

Property Value

string

Code

Code that identifies the attribute in the catalogue and in datasets (code); the key bindings use to reference it.

public required string Code { get; init; }

Property Value

string

Definition

Prose definition of the attribute (definition), or null when the catalogue omits it.

public string? Definition { get; init; }

Property Value

string

ListedValues

Enumerants of an enumerated attribute (listedValues/listedValue), in catalogue order. Empty for non-enumerated attributes.

public IReadOnlyList<ListedValue> ListedValues { get; init; }

Property Value

IReadOnlyList<ListedValue>

Name

Human-readable name of the attribute (name).

public required string Name { get; init; }

Property Value

string

Remarks

Additional explanatory remarks (remarks), or null when absent.

public string? Remarks { get; init; }

Property Value

string

Uom

The unit of measure declared for this attribute in the Feature Catalogue (<S100FC:uom>), or null when the attribute carries no unit (e.g. enumerations, text, or unitless quantities). Numeric depth/height attributes such as depthRangeMinimumValue resolve to metre / m.

public UnitOfMeasure? Uom { get; init; }

Property Value

UnitOfMeasure

ValueType

The attribute's value type (valueType) as written in the catalogue, e.g. "boolean", "enumeration", "integer", "real", "text" or "date".

public required string ValueType { get; init; }

Property Value

string