Table of Contents

Class S124NavigationalWarning

Namespace
EncDotNet.S100.Datasets.S124.DataModel
Assembly
EncDotNet.S100.Datasets.S124.dll

Strongly-typed projection of an S124Dataset as a single navigational warning (S-124 Editions 1.0.0 and 2.0.0).

public sealed class S124NavigationalWarning
Inheritance
S124NavigationalWarning
Inherited Members

Remarks

The S-124 GML profile carries one navigational warning per dataset: a single NavwarnPreamble information type plus one or more NavwarnPart features, optionally referencing NavwarnAreaAffected and TextPlacement features through the FC associations areaAffected and TextAssociation.

Projection issues — duplicate or missing preamble, unresolved xlinks, attribute parse failures — surface as ProjectionDiagnostic entries rather than exceptions. The projection only throws when the source dataset has no features and no information types (i.e. is fully empty).

Properties

DatasetIdentifier

The dataset identifier carried by the source GML DataSet element.

public string? DatasetIdentifier { get; init; }

Property Value

string

Parts

The parts that make up this warning.

public required IReadOnlyList<S124NavwarnPart> Parts { get; init; }

Property Value

IReadOnlyList<S124NavwarnPart>

Preamble

The preamble for this warning, or null if absent.

public S124NavwarnPreamble? Preamble { get; init; }

Property Value

S124NavwarnPreamble

ProductIdentifier

The S-124 product identifier (typically "S-124").

public string? ProductIdentifier { get; init; }

Property Value

string

References

References to other warnings (cancellations, supersessions, ...).

public IReadOnlyList<S124WarningReference> References { get; init; }

Property Value

IReadOnlyList<S124WarningReference>

Source

The originating feature-bag dataset.

public required S124Dataset Source { get; init; }

Property Value

S124Dataset

SpatialQualities

Spatial quality records.

public IReadOnlyList<S124SpatialQuality> SpatialQualities { get; init; }

Property Value

IReadOnlyList<S124SpatialQuality>

Methods

From(S124Dataset, out IReadOnlyList<ProjectionDiagnostic>)

Projects a feature-bag S124Dataset into the typed data model. Issues encountered during projection are reported via diagnostics; the projection only throws for a fully empty dataset.

public static S124NavigationalWarning From(S124Dataset dataset, out IReadOnlyList<ProjectionDiagnostic> diagnostics)

Parameters

dataset S124Dataset
diagnostics IReadOnlyList<ProjectionDiagnostic>

Returns

S124NavigationalWarning

Exceptions

InvalidOperationException

Thrown if the dataset contains neither features nor information types.