Extra files

Extra files are files which provide additional information about the information in the GTFS files. They are not part of the GTFS standard, but contain the information which is needed to link the GTFS files to internal operator systems, or other data which is delivered by the operator.

The extra file can be fetched by taking the URL to the normal GTFS zip file, and adding _extra in the filename. For example, the file “sweden.zip” becomes “sweden_extra.zip”. These files use the same API key as the static data, and count against the same quota.

In order to retrieve the static data you need an API key. Technical details for fetching the data can be found in the API’s OpenAPI specification. Trafiklabs GTFS documentation can help you to get started with GTFS files.

Where to download

The dataset can be accessed through the following URL:

https://opendata.samtrafiken.se/gtfs-sweden/sweden.zip_extra.zip?key={apikey}.

Replace {apikey} with your own API key.

Included data

trips_dated_vehicle_journey.txt

This file links every GTFS trip_id to their source GID in the Noptis data. This file is meant for those who want to combine or integrate their systems with internal systems of transport agencies. Note that this data is only correct for operators who deliver data to Samtrafiken in the Noptis DOI or Noptis DII format.

The TransportAuthority-number part of the Gid might not always be correct as a consequence of the aggregation process. We will update this documentation with further instructions in the future.