Home » railML newsgroups » railML.infrastructure » meaning of 'up' and 'down' in mileageChange.dir and track.mainDir
Re: meaning of 'up' and 'down' in mileageChange.dir and track.mainDir [message #361 is a reply to message #299] Sun, 16 September 2012 20:30 Go to previous messageGo to previous message
Christian Rahmig is currently offline  Christian Rahmig
Messages: 151
Registered: January 2011
Senior Member
Dear railML users,

>> In my examples on mileage I wrote that the values 'up' and 'down' of
>> the attributes 'mileageChange.dir' and 'track.mainDir' relate to
>> numerical interpretation (raising, falling = "to count up or
>> down"). Therefore, they differ from the typical usage in British
>> English where 'up' relates on "direction to London" and 'down'
>> relates on "direction away from London".
>
> From the next major release on this enumeration values should be renamed
> to "raising" and "falling". See also Trac ticket #145 [1]
>
>> therefore differ from the usage of the attribute mileageChange.dir,
>> where 'dir' of course refers to the _absolute_ mileage direction.
>
> From the next major release on this attribute should be renamed to
> "absDir". See also Trac ticket #144 [2]

after discussion with the other schema coordinators, we decided not to
wait until the next major release and started with the implementation
within railML 2.2 (see [3]):

The <mileageChange> element gets a new optional attribute "absDir",
which provides the values 'raising' and 'falling'. It will replace the
current attribute "dir" with the next major release and will become
required then.

[1] https://trac.assembla.com/railML/ticket/145
[2] https://trac.assembla.com/railML/ticket/144
[3] https://trac.assembla.com/railML/ticket/159

Regards

--
Christian Rahmig
railML.infrastructure coordinator
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Infrastructure registers
Next Topic: Include track length information in topology
Goto Forum:
  


Current Time: Tue May 07 16:35:27 CEST 2024