Darwin:Via Locations
Via locations
Via locations define the 'via text' which should be added to a destination on the departure board at a given station.
Consider the following example:
- at: "WAE" (London Waterloo East)
- dest: "STROOD" (Strood)
- loc1: "LEWISHM" (Lewisham)
- loc2: "WOLWCHA" (Woolwich Arsenal)
- viatext: "via Lewisham & Woolwich Arsenal"
For a train on the departure board of Waterloo East, which will call at Lewisham and then Woolwich Arsenal before terminating at Strood, the via text "via Lewisham & Woolwich Arsenal" should be displayed after the destination (so, "Strood via Lewisham & Woolwich Arsenal").
False destinations aren't considered for the purposes of determining the via text, but would still be displayed (e.g. at Leeds, the Leeds-York via Harrogate service would be displayed as "Poppleton via Harrogate").
Examples (v16)
<PportTimetableRef ... xmlns="http://www.thalesgroup.com/rtti/XmlRefData/v3"> ... <Via at="ABD" dest="CRDFCEN" loc1="LEEDS" viatext="via Leeds" /> <Via at="ABD" dest="CRDFCEN" loc1="MNCRPIC" loc2="STOKEOT" viatext="via Manchester Piccadilly & Stoke-on-Trent" /> <Via at="ABD" dest="CRDFCEN" loc1="MNCRPIC" loc2="WLMSL" viatext="via Manchester Piccadilly & Wilmslow" /> <Via at="ABD" dest="CREWE" loc1="MNCRPIC" loc2="WLMSL" viatext="via Manchester Piccadilly & Wilmslow" /> ... <Via at="WAE" dest="STROOD" loc1="LEWISHM" loc2="WOLWCHA" viatext="via Lewisham & Woolwich Arsenal" /> ... </PportTimetableRef>
National Rail Enquiries Data Feeds | |
---|---|
Data Feeds | About the Feeds • Darwin Webservice (Public) • Darwin Webservice (Staff) • Historical Service Performance • Push Port • KnowledgeBase • DTD • Locations (PoC) • Real Time Journey Planner |
LDB API | About |
LDB-SV API | About |
HSP | About |
DTD | About • Fares • Timetable |
Push Port | About • XML Schemas • Schedules • Associations • Train Status • Station Messages • Alarms • Train Order • Train Alerts • Formations • Formation loading |