Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • railVIVID1 railVIVID1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 58
    • Issues 58
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Tools
  • railVIVID1railVIVID1
  • Issues
  • #42
Closed
Open
Issue created Feb 24, 2015 by Administrator@rootOwner

Timetable period heading in graphic timetable viewer (de: Fahrplanperiode als Überschrift im Bildfahrplan)

In some cases additionally to the train heading (see #38 (closed)) a head line showing the current timetable period in the graphic timetable view is available.

Moved here from #36 (closed) (Handling and displaying operating periods): "Optionally displaying as heading in the graphical timetable viewer".

  1. Take the chosen train. Additionally other trains will be visualized, but not considered for the heading.
  2. Take the first trainPart[@id = train/trainPartSequence[1]/trainPartRef[1]/@ref]
  3. Take the referred timetablePeriod[@id = trainPart/@timetablePeriodRef] if available
  4. Otherwise (@timetablePeriodRef is absent) leave this line blank
  5. Show timetablePeriod/@name if available
  6. Otherwise show timetablePeriod/@description if available
  7. Otherwise show timetablePeriod/@startDate and timetablePeriod/@endDate if available
Edited Jul 18, 2022 by Organisation
Assignee
Assign to
Time tracking

railML.org e.V. (Registry of Associations: VR 5750) Phone: +49 351 47582911 Altplauen 19h; 01187 Dresden; Germany