Class S124NavigationalWarning
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
Parts
The parts that make up this warning.
public required IReadOnlyList<S124NavwarnPart> Parts { get; init; }
Property Value
Preamble
The preamble for this warning, or null if absent.
public S124NavwarnPreamble? Preamble { get; init; }
Property Value
ProductIdentifier
The S-124 product identifier (typically "S-124").
public string? ProductIdentifier { get; init; }
Property Value
References
References to other warnings (cancellations, supersessions, ...).
public IReadOnlyList<S124WarningReference> References { get; init; }
Property Value
Source
The originating feature-bag dataset.
public required S124Dataset Source { get; init; }
Property Value
SpatialQualities
Spatial quality records.
public IReadOnlyList<S124SpatialQuality> SpatialQualities { get; init; }
Property Value
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
datasetS124DatasetdiagnosticsIReadOnlyList<ProjectionDiagnostic>
Returns
Exceptions
- InvalidOperationException
Thrown if the dataset contains neither features nor information types.