Home » railML newsgroups » railml.timetable » [railML2] Extension proposal: train numbers in <trainGroup> and a "group of groups"
Re: [railML2] Extension proposal: train numbers in <trainGroup> and a "group of groups" [message #2603 is a reply to message #2556] Thu, 26 November 2020 13:22 Go to previous messageGo to previous message
Christian Rößiger is currently offline  Christian Rößiger
Messages: 62
Registered: March 2015
Member
Hello Janne,

Thank you for your explanations. I still have some questions for
understanding as well as remarks:

I understand the need to group <trainGroup>s hierarchically and I have
no objections to a new attribute parentRef.

If I have understood it correctly, you basically want to use two types
of <trainGroup>s:
a) "elementary trainGroups": These are used in the usual way, i.e. they
contain references to all <train>s associated it.
(b) "top-level train groups": These have no references to <train>s and
are only used as a "parent" for several "elementary trainGroups". For
this purpose the new attribute "parentRef" of the "elementary
trainGroup" is used.
In this way a "top-level-trainGroup" can indirectly reference all its
<train>s via its subordinated "elementary trainGroups".
Have I understood the concept correctly?

If so, I don't really see any need for the attributes trainNumbersFrom
and trainNumbersTo. All train numbers involved can be determined
directly from the referenced <train>s.

Best regards
Christian Rößiger
--
iRFP e. K. · Institut für Regional- und Fernverkehrsplanung
Hochschulstr. 45, 01069 Dresden
Tel. +49 351 4706819 · Fax. +49 351 4768190 · www.irfp.de
Registergericht: Amtsgericht Dresden, HRA 9347
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [railML2] Ranking of tracks in track info
Next Topic: [railML2] Extension proposal: pattern trains, distributions and slots
Goto Forum:
  


Current Time: Fri May 17 18:18:05 CEST 2024