How we measure delays

Tallinn publishes where every vehicle is, every few seconds. The national timetable says where it should be. We compare the two at every stop.

Work in progress

Ontime Tallinn is an unofficial hobby project under active development. The numbers come from automatically matching live positions to the timetable, and that matching sometimes fails, so delays, averages and rankings can be wrong, incomplete or out of date. Nothing here is official information, and the site is not connected to the City of Tallinn or Tallinna Linnatransport. Please don't rely on it for travel decisions. Check the official timetable for those.

The steps

  1. Every 10 to 15 seconds our server reads the city's live vehicle positions.
  2. Each vehicle is matched to its line and direction using the destination shown on the vehicle.
  3. When a vehicle passes within about 30 metres of a stop, we record an arrival.
  4. The arrival is matched to the trip in the timetable with the closest time at that stop.
  5. The delay is the real arrival time minus the timetable time.

What the colors mean

LevelDelay
Earlymore than 1 min early
On timeup to 1 min early or 2 min late
Late2 to 5 min late
Very latemore than 5 min late

Early counts as a problem too: if a bus leaves before its time, you can miss it.

Limits

The live feed does not say which timetable trip a vehicle is running, so we work it out from the line, destination, position and time. Sometimes the match is wrong, for example when a vehicle runs a short trip or the destination sign is out of date. Averages over many arrivals smooth most of this out.

Where the data comes from

This site is free, has no ads and does not track you.