Re: [railML3]: Identification of preferred route path [message #2500 is a reply to message #2498] |
Fri, 17 July 2020 09:31 |
Henrik Roslund
Messages: 6 Registered: August 2019 Location: Zürich
|
Junior Member |
|
|
Dear Jörg,
Sorry for not answering the second question.
Here comes more background information.
In Switzerland:
If there exist more train routes between A and B, the preferred train route has a variable set, which tells that this is the preferred train route.
For all other train routes between A and B is this attribute/variable not set (the variable value is empty (empty == "", but not null))
If there only one possible train route between A and B is this variable not set, the value is empty (empty == "", but not null).
How they in the planning data distinguish the preferred train route in Sweden, unfortunately, I have forgotten it.
My answer to your second question is "2a-extended":
• If it exists more than one train route between A and B, mark the preferred train route with a variable with a value, e.g. "defaultPath"/"Preferred", all other train routes is the variable not set.
• If it only exists one train route between A and B is the variable not used/not set.
Kind regards,
Henrik
|
|
|