this post was submitted on 23 Aug 2023
109 points (100.0% liked)

Europe

8484 readers
1 users here now

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)

  1. Be nice to each other (e.g. No direct insults against each other);
  2. No racism, antisemitism, dehumanisation of minorities or glorification of National Socialism allowed;
  3. No posts linking to mis-information funded by foreign states or billionaires.

Also check out !yurop@lemm.ee

founded 1 year ago
MODERATORS
 

cross-posted from: https://sh.itjust.works/post/3479990

crosspost from: https://sh.itjust.works/post/3477888

I just came across this tool, which - after entering a city - shows all other cities to which there is a direct train connection. A color code depicts the travel hours.

Examples:

Although I'm not quite sure yet on what occasion I can use the tool. But someday the moment will come :D

Btw. there is a Sparpreis search on https://bahn.guru/ with a monthly view ("On which day do I travel cheapest from A to B?"). Unfortunately the links to the store don't work yet.

top 8 comments
sorted by: hot top controversial new old
[โ€“] morsebipbip@lemm.ee 7 points 1 year ago

it's fucking incredible i love it

[โ€“] Leax@lemmy.dbzer0.com 7 points 1 year ago

Really cool took, thanks!

[โ€“] Mr_Blott@feddit.uk 6 points 1 year ago (2 children)

Would be incredible if you could add 1 change, 2 changes etc

[โ€“] user224@lemmy.sdf.org 2 points 1 year ago

That can be done with cp.sk/en . Additionally it shows buses, ships and "other". But this is rather centered around Slovakia, I think.

[โ€“] eutampieri@feddit.it 2 points 1 year ago (1 children)

It could become rather computationally complex though

[โ€“] taladar@feddit.de 1 points 1 year ago

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.

[โ€“] eutampieri@feddit.it 3 points 1 year ago (1 children)

Do you know which source it uses?

[โ€“] eutampieri@feddit.it 8 points 1 year ago

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