Open lemnis opened 2 years ago
Thanks for reporting!
db-hafas-stations
builds the list of stations by doing a graph walk, slowly discovering more stations by querying intermediate & destination stations of vehicles departing at the current station.
Three possible solutions to get Malaga & Co. included, with increasing levels of effort and benefit:
db-hafas-stations
npm package. This has the disadvantage that it doesn't fix the problem permanently, repeatably.hafas-discover-stations
to start with multiple stations: Frankfurt Hbf, Malaga, Attymon, etc. I would be happy to review a PR for this!I have obtained a station list with ~27k additional stations, both inside and outside Germany (Malaga is in there, too ;): https://mirror.traines.eu/hafas-ibnr-zhv-gtfs-osm-matching/hafas-stations.ndjson
Some notes:
ifoptId
for German train stationsfull.ndjson
IFOPT-IDs and corrected geopositions are based on D_Bahnhof_2020_alle.CSV, DB InfraGO, CC-BY-4.0.
@PaulSut wants to work on publishing a new version of db-hafas-stations
! 🎉
It's a great package, countries "far" away from Germany are missing, but they do exist in hafas. E.g.
Is there an easy fix to include those far away stations?