Strætó gives third parties access to route system data.


On the one hand, have data that show the schedule and, on the other hand, real-time data that indicates the location of the buses in real-time.

Bus schedule data

This data describes the entire routing system in the so-called GTFS static.

GTFS defines a common format for public transportation schedules and associated geographic information. It is for example used by Google.

 

GTFS bus data

In this data package, all stops are listed with location along all routes and arrival and departure times at each bus stop for every day. The route lines are also specified for each route.

The GTFS data is in a „zip file“ that contains the text files that the static describes.

Here you can see the files reference.

You can download the current GTFS data here:

Note that because of a migration to new planning software, the format of the GTFS files will change in the near future.

The main issues the should be considered regarding the differences between the old and new GTFS files:
1. Now many text fields are delimited by quotes
2. The order of columns has changed and may change further. Please use the header lines to dermine column presence and order.
3. Some new columns have been added in some of the files, for example „pickup_type“.
4. Now the file „calendar.txt“ is used in addition to „calendar_dates.txt“
5. Note that some fields that used to contain numeric vales now contain strings, for example „trip_id“
6. It was previously possible to deduce from the value of the field „service_id“ in „trips.txt“ in which week days a trip is in service, but correct method do that is to use the files „calendar.txt“ and „calendar_dates.txt“


Real-time data

It is necessary to apply for access to real-time bus data. More information here:


Strætó IT department