Class S421Route
Strongly-typed projection of an S-421 Route feature plus the
related RouteInfo information type.
Spec reference: S-421 Annex A "Route" feature (FC).
public sealed class S421Route
- Inheritance
-
S421Route
- Inherited Members
- Extension Methods
Properties
ActionPoints
Action points referenced by the route, in document order.
public required IReadOnlyList<S421ActionPoint> ActionPoints { get; init; }
Property Value
EditionNumber
The route edition number (FC code routeEditionNo).
public int? EditionNumber { get; init; }
Property Value
- int?
ExtraAttributes
Attributes on the source Route feature that are not recognised
by this typed projection. Unknown / extension / future-edition
attributes round-trip here verbatim.
public required IReadOnlyDictionary<string, string> ExtraAttributes { get; init; }
Property Value
FormatVersion
The S-421 route format version (FC code routeFormatVersion).
public string? FormatVersion { get; init; }
Property Value
Id
The gml:id of the source Route feature.
public required string Id { get; init; }
Property Value
Info
The resolved S421RouteInfo information type, when present.
public S421RouteInfo? Info { get; init; }
Property Value
Legs
Route legs in geometric order. Each leg corresponds to a
RouteWaypointLeg feature; legs are typically resolved via
routeWaypointLeg references on waypoints.
public required IReadOnlyList<S421Leg> Legs { get; init; }
Property Value
RouteId
The author-supplied unique identifier for this route (FC code routeID).
public string? RouteId { get; init; }
Property Value
Schedules
Schedules referenced by the route, in document order.
public required IReadOnlyList<S421Schedule> Schedules { get; init; }
Property Value
Waypoints
Waypoints in route order, resolved via
RouteWaypoints/routeWaypoint xlink:href references.
public required IReadOnlyList<S421Waypoint> Waypoints { get; init; }
Property Value
Methods
GetPlanningSchedule()
The schedule variant a passage reads its speeds and departure from: the first calculated schedule, else the first manual one, else the first schedule's first variant; with its schedule's index in Schedules.
public (int ScheduleIndex, S421ScheduleVariant Variant)? GetPlanningSchedule()
Returns
- (int ScheduleIndex, S421ScheduleVariant Variant)?
The variant and its schedule's index, or
nullwhen the route has no schedule variants.