Really cool took, thanks!
Europe
News/Interesting Stories/Beautiful Pictures from Europe ๐ช๐บ
(Current banner: Thunder mountain, Germany, ๐ฉ๐ช ) Feel free to post submissions for banner pictures
Rules
(This list is obviously incomplete, but it will get expanded when necessary)
- Be nice to each other (e.g. No direct insults against each other);
- No racism, antisemitism, dehumanisation of minorities or glorification of National Socialism allowed;
- No posts linking to mis-information funded by foreign states or billionaires.
Also check out [email protected]
it's fucking incredible i love it
Would be incredible if you could add 1 change, 2 changes etc
It could become rather computationally complex though
It wouldn't if you calculate it once globally and cache the result. It is not as if the results for the second hop change depending on where the first one came from. The travel times might be tricky though if you want to consider delays between hop 1 arrival and hop 2 departure.
That can be done with cp.sk/en . Additionally it shows buses, ships and "other". But this is rather centered around Slovakia, I think.
Do you know which source it uses?
Ok, found
direkt.bahn.guru internally uses a (legacy) API by Deutsche Bahn to find all direct trains running via a given station within the next 1-2 weeks. This API includes most trains in central Europe, but data availability gets significantly lower the further away stations are from routes (co-)operated by DB. Furthermore, trains operated by smaller companies seem to be missing more often than those run by state-owned operators, probably due to a lack of data sharing agreements.
https://gist.github.com/juliuste/f9776a6b7925bc6cc2d52225dd83336e