Till senaste kommentaren

joining planned and actual train stop data

Hi there,

I am looking for a way to join the tripId and stopId from the GTFS Regional Realtime feed and planned trip data. I saw that in the description you say that it cannot be joined with the GTFS Sweden 2 data, so my question is: is there any other api that it can be joined with? I've looked at the GTFS Regional Static, but they also don't seem joinable.. .

thank you for your help and sorry for writing in english!
Cheers, M.


  • We are working on a dataset that will join all stops and their different IDs. This dataset will later be extended to combine all the route, trip, ... data in the different GTFS Regional datasets, but this large, combined dataset is not under active development yet.

    In the meantime, you can join the stops using the mapping file found at https://api.trafiklab.se/v2/samtrafiken/gtfs/extra/agency_stops.txt to convert GTFS Sverige 2 stop numbers to the numbers agencies use. These local numbers are also found in the GTFS Regional stop_id (digit 8 to 13). However, this isn't a solution which we officially support, and which can stop working at any time.

    Bert på Trafiklab

Kommentera eller skriv ett nytt inlägg

Ditt namn och inlägg kan ses av alla. Din e-post visas aldrig publikt.