public-transport/db-hafas

Reference Route by Id

dennispost opened this issue · 5 comments

How can we identify / reference a route by id?

I haven't figured out yet actually. I'd dare to say you, working at DB, are the person that ought to know that. 😉 There is some form of identifier in place, but I haven't reverse-engineered it yet.

Also, what do you mean by "route"? A single trip of a single physical train? Something like a line, a recurring schedule of trains passing a certain set of stations? The result of a routing/trip planning process? To further refine & standardise the naming conventions, @juliuste and I created the Friendly Public Transport Format.

FYI vbb-hafas now contains a method to query details/updates for a single leg of a route/journey. It uses identifiers like 1|28220|3|86|19062017. They same feature might exist at DB.

db-hafas now exposes the ID of each part of a journey. But there's no method yet to query details for it.