News for hackers. Stuff that matters.
Re:Show HN: I made a website to find best bus seat to avoid ... by ygra on Wednesday January 17, 2024 @12:53AM (#39023779)
It seems they route along roads between bus stops, so you won't get train routes that follow the tracks. But in principle the solution should be very similar.
Re:Show HN: I made a website to find best bus seat to avoid ... by Symbiote on Wednesday January 17, 2024 @04:29AM (#39025445)
If the routing is done with an internal database (rather than some roads-only API) it might be straightforward to use the railway lines from Open Street Map [1]. Or even the public transport routes recorded in OSM [2].

[1] https://openrailwaymap.org/

[2] https://www.openstreetmap.org/#layers=O