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. These files can be downloaded without an API key.
This file is included in the GTFS standard, but is also offered as a separate download. This way you can check if the feed has been updated before downloading it.
This file contains a mapping between national stop IDs (rikshållplatser) and Trafikverkets signatures. For example, CST -> 740000001. Only for train stations.
This file contains a mapping between the operators' local IDs and the national ids (rikshållplatser). For example, the
following mapping means that operator
275 uses the id
41063 for the stop with national id
In the GTFS
agency.txt file, we find that agency_id 275 corresponds to SL. In other words, SL uses id
41063 for the
stop with national id
One or more operators have a local id for each national id. Not every local id corresponds to a national id.
This file contains the same information as the agency_stops.txt file described above, but is already filtered on a
given operator. Replace
<agency_id> with the operator id of your choice.
This file maps route ids to their technical route number used by their operator. A technical route number is unique within an agency.
This file contains a mapping between trip ids and their corresponding technical trip numbers. The technical trip number is unique for a route in an agency. In other words, the combination of the 3 values agency_id, technical_route_number and technical_trip_number is unique. Train numbers always have their train number as technical trip number, even if the train has a public line number (for example Pendeltåg 40 i Stockholm)