Move 'orientation' attribute for switches
Description
With railML 2.0 you have to describe the orientation
of a switch
inside its connection
elements.
That means, that a switch may have different connections, one as incoming
the other as outgoing
. How does that look like?
I would prefer, moving the orientation
attribute from connection
to switch
element.
How does a switch with "rightAngled" connections look like?
Maybe, this value could be removed?
Links
- Forum discussion
- Christian Rahmig, 05.04.2017: [https://www.railml.org/forum/index.php?t=msg&th=507&goto=1540&#msg_1540]
- Claus Feyling, 08.05.2017: [https://www.railml.org/forum/index.php?t=msg&goto=1561&&srch=switch#msg_1561]
- Trac ticket
- Wiki documentation
Proposed solution railML 3.1
The topologic dimension of the switch is implemented in the topology view using and . Thus, elements are no longer required.
The attribute @orientation to distinguish between incoming and outgoing switches is used to describe a direction of the switch. Thus, it is related to the (oriented) location of the switch element. In railML 3.x the location is implemented quite generic using *<location>@applicationDirection. Defining the constraint, that the orientation of the switch shall always be interpreted as looking from the begin of the switch in the direction of the two branches, the orientation is defined and a separate attribute @orientation is not needed.
A switch cannot have a "rightangled" branch. In general, railML 3.1 does not contain any geometry dimension on switches except for the radius of the branch.