Till senaste kommentaren

Historical realtime GTFS data cannot be extracted by unzip

Hi!

I am attempting to extract historical real-time GTFS TripUpdates data for 2023 with SL as operator, which I downloaded via KuDa. However, I'm encountering an error message when unzipping the downloaded files. However, unzipping works flawlessly for dates before 2023, and the 'VehiclePositions' data also functions smoothly for all dates, including those in 2023.
Kevin

Kommentarer

  • Hi Kevin,

    I tested a file and can open it without issues, can you please confirm whether or not you can open this file? https://api.koda.trafiklab.se/KoDa/api/v2/gtfs-rt/sl/TripUpdates?date=2023-06-01&key=

    Note that you need to add an API key.

    Regards,
    Bert
    Bert på Trafiklab
  • Hi!

    I can open it for the date 2023-06-01, but attempting to open it for dates such as 2023-01-01 or any other dates in January 2023 fails to open it. I've also tried with dates in April of 2023, such as 2023-04-01, but encountered the same issue.
    Kevin
  • Hi Kevin,

    This is due to corrupted files on the server, likely due to an application crash while files were being compressed. These files are currently being removed after which everything should work as normal again. In order to reduce the risk of this happening, I'd recommend to not download more than two files at the same time.

    Regards,
    Bert
    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.