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
  • #38
Closed
Open
Issue created Feb 24, 2015 by Administrator@rootOwner

Timetable heading (de: Fahrplanüberschrift)

A heading would be nice for the tabular as well as for the graphic timetable viewer.

Typically the heading highlights large stations for the shown route. The start and end station would be the minimum.

railML does not provide a general string for this case, therefore the following selection is proposed.

  1. Take the chosen train, nevertheless it's an operational (graphic timetable) or a commercial (tabular timetable) train. In both cases trains around this chosen train will be shown, but they are not considered for the heading.
  2. Print train/@name if available.
  3. Otherwise, print train/@description if available.
  4. Otherwise, print start and end station:

ocp[@id = trainPart[@id = train/trainPartSequence[1]/trainPartRef[1]/@ref]/ocpsTT/ocpTT[1]/@ocpRef]/@name and

ocp[@id = trainPart[@id = train/trainPartSequence[last()]/trainPartRef[last()]/@ref]/ocpsTT/ocpTT[last()]/@ocpRef]/@name

Assignee
Assign to
Time tracking

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