Handling of changes in the destination
The destination to display may change during a trip:
- in some cases multiple
ServiceJourneyare chained together. And the final stop should be shown, some intermediate stop should be shown on some part and then the final one. - Also, during one
ServiceJourneythe destination could change. - Also, in some cases the service journey is shortened. This results in a new destination to be shown for all or part of the service journey.
We will adhere to the following rules:
- if the ServiceJourney has a
DestinationDisplayRefit is the general destination to use unless - if the
ServiceJourneyPatternhas for aPointInJourneyPatternaDestinationDisplayRefthis is shown.
We could have a sort of progression rule, e.g. when at the third stop the destination display changes, keep it to the end. We want however, that from then on the DestinationDisplayRef is set. Otherwise it reverses to the one on the ServiceJourneyPattern
Conclusion:
- The
DestinationDisplayare stored inServiceFrame. - The references for the whole
ServiceJourneyare stored inServiceJourney/Destination/DestinationDisplayRef. - If the destination changes on a given stop, it is mentionend in
ServiceJourneyPattern/pointsInJourneyPattern/StopPointInJourneyPattern/DestinationDisplayRef.
All this is shown in one of the examples.