Class RouteWarningSources
- Namespace
- EncDotNet.S100.Datasets.Pipelines.Navigation
- Assembly
- EncDotNet.S100.Datasets.Pipelines.dll
The navigational warnings a WarningCheck reads, built from loaded S-124 datasets (Editions 1.0.0 and 2.0.0).
public static class RouteWarningSources
- Inheritance
-
RouteWarningSources
- Inherited Members
Methods
FromDatasets(IEnumerable<LoadedDataset>)
One RouteWarning per NavwarnPart of every loaded
S-124 dataset: its message (as object information shows it), its
geometry and the areas it affects, and a feature reference to it.
Other products are ignored, as is a dataset that can't be projected.
public static IReadOnlyList<RouteWarning> FromDatasets(IEnumerable<LoadedDataset> datasets)
Parameters
datasetsIEnumerable<LoadedDataset>The loaded datasets, such as Datasets.
Returns
- IReadOnlyList<RouteWarning>
The warning parts, in dataset and document order.
SetFromDatasets(IEnumerable<LoadedDataset>)
Every loaded S-124 warning as a whole, including cancellations and in-force bulletins with no parts, to judge the parts with (pass it to RouteWarningList(IReadOnlyList<RouteWarning>, NavigationalWarningSet?) for the WarningCheck).
public static NavigationalWarningSet SetFromDatasets(IEnumerable<LoadedDataset> datasets)
Parameters
datasetsIEnumerable<LoadedDataset>The loaded datasets, such as Datasets.
Returns
- NavigationalWarningSet
The set.
Shapes(NavigationalWarningInfo, S100FeatureGeometry?)
The shapes of a part a host already lists (for example from GetNavigationalWarnings() and GetFeatureGeometryAt(int)): its own geometry, then the areas it affects.
public static IReadOnlyList<S100FeatureGeometry> Shapes(NavigationalWarningInfo info, S100FeatureGeometry? geometry)
Parameters
infoNavigationalWarningInfoThe part's message, which gives its affected areas.
geometryS100FeatureGeometryThe part's own geometry, or
nullwhen it has none.
Returns
- IReadOnlyList<S100FeatureGeometry>
The part's geometry followed by its affected areas.