Home » railML newsgroups » railML.infrastructure » speed change in 'both' directions
speed change in 'both' directions [message #236] Mon, 19 April 2010 12:43 Go to next message
Susanne Wunsch railML is currently offline  Susanne Wunsch railML
Messages: 0
Registered: January 2020
What does an import filter do, if it gets an dir="both" attribute in
'speedChange'?

km ->
0----------400--------800

km/h ->
80---------120---------

<- km/h
-----------100--------120

unambigously defined with dir="up/down":

<rail:speedChange id="sc0" pos="0" vMax="80" dir="up"/>
<rail:speedChange id="sc1" pos="400" vMax="120" dir="up"/>
<rail:speedChange id="sc2" pos="800" vMax="120" dir="down"/>
<rail:speedChange id="sc3" pos="400" vMax="100" dir="down"/>

But if somebody wants to use dir="both" for the track section between
pos=400 and pos=800, where speed restriction is 120 km/h in _both_
directions, how to use it?

<rail:speedChange id="sc0" pos="0" vMax="80" dir="up"/>
<rail:speedChange id="sc1" pos="400" vMax="120" dir="both"/>
<rail:speedChange id="sc3" pos="400" vMax="100" dir="down"/>

That oviously can't work! There are duplicated but conflicting data for
pos=400.

Other possibility:

<rail:speedChange id="sc0" pos="0" vMax="80" dir="up"/>
<rail:speedChange id="sc1" pos="400" vMax="120" dir="both"/>
<rail:speedChange id="sc3" pos="0" vMax="100" dir="down"/>

That also doesn't define, what the example shows: now in pos=0 100km/h
starts downwards, that means no-where!

What's the problem?

The 'dir' attribute applies to a change point, but with the perspective
of a railway engineer it should apply to a track section instead of a
point.

How do you use it? What do you think about this issue?

Any comments would be appreciated.

Kind regards,
Susanne

--
Susanne Wunsch
Schema Coordinator: railML.common
Re: speed change in 'both' directions [message #360 is a reply to message #236] Sun, 16 September 2012 20:16 Go to previous message
Christian Rahmig is currently offline  Christian Rahmig
Messages: 151
Registered: January 2011
Senior Member
Hello Susanne and anyone interested,

> What does an import filter do, if it gets an dir="both" attribute in
> 'speedChange'?

with railML 2.2 we limit the possible values for the direction attribute
of a <speedChange>. As defined in [1] and [2] a <speedChange> is
connected with a certain direction "up" or "down". Other values are not
used.

[1] https://trac.assembla.com/railML/ticket/62
[2] http://www.railml.org/forum/ro/index.php?group=1&offset= 0&thread=60

Regards

--
Christian Rahmig
railML.infrastructure coordinator
Previous Topic: Reorganisation of attribute "dir" for some elements
Next Topic: train relation
Goto Forum:
  


Current Time: Fri Mar 29 16:05:10 CET 2024