Home » railML newsgroups » railml.timetable » Referenzierung von ausgefallenen Zügen / Referencing of canceled trains (Wie können ausgefallene Züge referenziert werden? / Haw to reference cancaled trains?)
Re: Referenzierung von ausgefallenen Zügen / Referencing of canceled trains [message #1680 is a reply to message #1592] Tue, 05 December 2017 15:31 Go to previous message
Mićo Mićić is currently offline  Mićo Mićić
Messages: 16
Registered: November 2016
Junior Member
Hi Leopold

Thank you for the proposal. I've just created a SVN branch and committed the first version.

Branch: https://trac.railml.org/browser/railML/railML2/branches/refe rencing-canceled-trains
Changeset: https://trac.railml.org/changeset/762/railML

Can you please review it? I'm not sure if I have defined the XSD-types correctly across the two files "timetableTypes.xsd" and "timetable.xsd". Thank you!

Here an example with unique train key and TAF/TAP TSI train id:

Update after timetable developer teclo from 18 December 2017:
operatingPeriodRef is now a child element of replacementOf because the operating period reference is also required for trains referenced by TAF/TAP TSI train id.
But: This way the Element uniqueTrainKey is not really "unique" because the operatingPeriodRef is not a part of it! (Should be discussed in the next telco... !?)

<train id="train-zug-BLSP-16321-001" 
    code="BLSP-16321-1" 
    type="commercial" 
    trainNumber="16321" 
    additionalTrainNumber="4" 
    cancellation="false"
    processStatus="actual"
    description="Bn-Mueb">

     <trainPartSequence sequence="1">
         <trainPartRef ref="train-part-1"/>
     </trainPartSequence>

     <replacements>
         <replacementOf>
             <operatingPeriodRef ref="operating-period-17" />
             <uniqueTrainKey trainNumber="16320" scope="primary" additionalTrainNumber="7" />
         </replacementOf>
         <replacementOf>
             <operatingPeriodRef ref="operating-period-17" />
             <tafTapTsiTrainID objectType="TR" 
                 companyCode="1185" 
                 core="012345616320" 
                 variant="01" 
                 timetableYear="2017" />
         </replacementOf>
     </replacements>

</train>


Best regards,
Mico

[Updated on: Wed, 03 January 2018 13:33]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: addendum to <stopDescription> in railML2.4
Next Topic: example data: East Saxony railway network by FBS
Goto Forum:
  


Current Time: Sat Apr 27 19:42:44 CEST 2024