Directions (de: Richtungen)

Description

It has to be clarified how the @dir attribute shall be interpreted and used. In particular, a definition for "direction" (@dir) shall be given. Further, it has to be decided for each (infrastructure) element, whether @dir shall be applied and which values shall be possible.

Background

There are some elements, where the @dir attribute does not make much sense. Either, because the element is valid for both directions of travel or because the element shall be only defined for one direction. So, the task is to identify elements where the @dir attribute shall be marked DEPRECATED.

Proposed solution railML 2.5

The following solution is under discussion in the forum:

Elements without extent (without @length attribute) examples: balise, border, derailer, signal, stopPost... usage: @dir describes the direction of travel, for which the element applies. Possible values are "up", "down" and "both". A missing @dir attribute means that the application direction of this element is unknown. proposal: DEPRECATE @dir for trackCircuitBorder

Elements with extent (with @length attribute) examples: bridge, levelCrossing, platformEdge, serviceSection... usage: @dir describes the direction of travel, for which the element applies. Possible values are "up", "down" and "both". A missing @dir attribute means that the application direction of this element is unknown. By standard, the elements' orientation (not their application direction!) shall be always in direction of track orientation (from trackBegin towards trackEnd). proposal: DEPRECATE @dir for brigde, levelCrossing, platformEdge, serviceSection and tunnel

Elements that describe a change examples: axleWeightChange, clearanceGaugeChange, electrificationChange, gaugeChange, speedChange... usage: @dir describes the direction of travel, for which the change applies. Possible values are "up", "down" and "both". A missing @dir attribute means that the application direction of this change element is unknown. By standard (except for speedChange), the change elements' orientation (not their application direction!) shall be always in direction of track orientation (from trackBegin towards trackEnd). proposal: DEPRECATE @dir for elements where properties cannot differ by direction of travel, e.g. axleWeightChange, clearanceGaugeChange, electrificationChange, gaugeChange, ownerChange, powerTransmissionChange, radiusChange

Edited by IS Coordination