Default value for application direction (de: Vorgabewert für Element-Wirkrichtung)
Almost every infrastructure element has an application direction related to the orientation of the track, where it is positioned. In railML 2.x, there is no default value for this direction, but it is often anticipated. Furthermore, the direction attribute is optional in railML 2.2, which may lead to unusable data, since e.g. a speedChange requires the direction information in order to be correctly interpreted.
de:Zusammenfassung
Jedes Infrastruktur-Element besitzt eine Wirkrichtung bezogen auf die Orientierung des Gleises, an dem es sich befindet. In railML 2.x gab es keinen Vorgabewert für diesen Parameter und auch der Parameter selbst war nicht verpflichted. In railML 3.0 soll dies anders sein, um damit die Verwendung der Daten besser zu garantieren.
Links
- Forum discussion:
- Torben Brand, 12.09.2018: [https://www.railml.org/forum/index.php?t=msg&th=607&goto=1959&#msg_1959]
- Christian Rahmig, 17.09.2018: [https://www.railml.org/forum/index.php?t=msg&th=607&goto=1967&#msg_1967]
- Thomas Nygreen, 29.12.2018: [https://www.railml.org/forum/index.php?t=msg&th=630&start=0&]
- Trac ticket:
- Wiki documentation:
Proposed solution railML 3.1
All infrastructure elements deriving from base class NetEntity may have several locations in the topology network. These locations can be spot locations, linear locations or area locations.
Elements and have a mandatory attribute @applicationDirection with enumeration values "normal", "reverse" and "both".
Since there exist infrastructure elements, which do not have an application direction or where the value is unknown, it is suggested to mark the attribute @applicationDirection as optional. For all infrastructure elements, where an application direction exists and is known, the value has to be given. There shall be no further default value for @applicationDirection.