Home » railML newsgroups » railml.common » [railml3.1] Change "v" to "speed" in attribute names (Applies to both infrastructure and interlocking domains)
[railml3.1] Change "v" to "speed" in attribute names [message #2062] Sat, 29 December 2018 00:57 Go to previous message
Thomas Nygreen JBD is currently offline  Thomas Nygreen JBD
Messages: 68
Registered: February 2017
Member
Dear all,

It was suggested already in 2010 to rename speedChange/@vMax to @maxSpeed, but it was kept for backwards compatibility between 2.x versions. I see no reason not to improve the name in 3.1.

This applies to (with suggested changes):

  1. IS: Speed/@vMax -> @maxSpeed
  2. IS: SpeedSection/@vMax -> @maxSpeed
  3. IL: AspectRelation/@Vpassing -> @passingSpeed
  4. IL: AspectRelation/@Vexpecting-> @expectingSpeed


Mostly, other tSpeedKmPerHour attributes already have names that end with Speed. Exceptions that begin with speed are:

  1. IS: SwitchCrossingBranch/@speedBranching -> @branchingSpeed
  2. IS: SwitchCrossingBranch/@speedJoining -> @joiningSpeed
  3. IS: PantographSpacing/@speed4PantographSpacing -> @pantographSpacingSpeed
  4. IL: LevelCrossingIL/@speedRestriction-> @unprotectedSpeed
  5. IL: Overlap/@speedInOverlap-> @speed or @maxSpeed (do not repeat element name)


Best regards,
Thomas Nygreen
Railway capacity engineer
Jernbanedirektoratet

[Updated on: Sat, 29 December 2018 01:01]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: [railml3.1] cleanup of unused types
Next Topic: railML 3.x: Data Modelling Patterns
Goto Forum:
  


Current Time: Mon Apr 29 07:21:40 CEST 2024