Table of Contents

Class S127Feature

Namespace
EncDotNet.S100.Datasets.S127
Assembly
EncDotNet.S100.Datasets.S127.dll

A geographic feature parsed from an S-127 GML dataset.

public sealed class S127Feature : IS100Feature
Inheritance
S127Feature
Implements
Inherited Members

Properties

Attributes

Simple attributes keyed by code.

public required IReadOnlyDictionary<string, string> Attributes { get; init; }

Property Value

IReadOnlyDictionary<string, string>

ComplexAttributes

Complex attribute groups keyed by code, each containing sub-attribute dictionaries.

public required IReadOnlyList<IS100ComplexAttribute> ComplexAttributes { get; init; }

Property Value

IReadOnlyList<IS100ComplexAttribute>

Curves

Curve geometries as ordered coordinate sequences.

public IReadOnlyList<IReadOnlyList<GeoPosition>> Curves { get; init; }

Property Value

IReadOnlyList<IReadOnlyList<GeoPosition>>

ExteriorRing

Surface exterior ring coordinates.

public IReadOnlyList<GeoPosition> ExteriorRing { get; init; }

Property Value

IReadOnlyList<GeoPosition>

FeatureReferences

Feature-to-feature association references captured from xlink:href-bearing child elements (e.g. the theAuthority role binding a service to an Authority feature — S-127 Edition 2.0.0 §12). Each entry preserves the source role name and the raw xlink:href with the leading # stripped, so the strongly-typed projection can resolve them through XlinkResolver.

public IReadOnlyList<S127FeatureReference> FeatureReferences { get; init; }

Property Value

IReadOnlyList<S127FeatureReference>

FeatureType

The feature type code as it appears in the GML (e.g. PilotBoardingPlace, RouteingMeasure, RestrictedArea). Drives XSLT template selection in the bundled portrayal catalogue.

public required string FeatureType { get; init; }

Property Value

string

GeometryType

The geometry primitive type.

public S100GeometryType GeometryType { get; init; }

Property Value

S100GeometryType

Id

The GML identifier of the feature.

public required string Id { get; init; }

Property Value

string

InteriorRings

Surface interior ring coordinates (holes).

public IReadOnlyList<IReadOnlyList<GeoPosition>> InteriorRings { get; init; }

Property Value

IReadOnlyList<IReadOnlyList<GeoPosition>>

Points

Point geometries (latitude, longitude pairs).

public IReadOnlyList<GeoPosition> Points { get; init; }

Property Value

IReadOnlyList<GeoPosition>