On Tuesday, 19 March 2024 18:55:58 GMT Peter Hicks (Poggs) wrote:
> If you want to do this for passenger train journeys, you’ll need the
> Routeing Guide (see
>
https://www.raildeliverygroup.com/our-services/rail-data/routeing-guide-dat
> a.html) and also timetable data that contains all passenger trains. You
> might also need to look at the type of ticket somebody has - for example, a
> journey from London to Reading can be done via South Western Railway
> through Staines, or direct out of Paddington.
>
> You will certainly need the timetable data published by Network Rail and RDG
> every night - the RDG data may well be better suited as it has minimum
> interchange times and fixed links that aren’t in the raw timetable.
>
> Alternatively, there is a chargeable (but probably less than the cost of you
> developing it yourself) API for the National Rail Journey Planner
> available.
>
>
> Peter
The Routeing Guide is only needed if you want to validate tickets. It is not
needed just to produce valid itineraries. There are situations where the best