Design + Build

New

Running live on real data

The bus tracker that shows everything except the answer

Colombo’s Metro Bus service has live tracking. It reports the position of every bus, every few seconds, and it is accurate. Yet the question people actually stand at the stop asking still has no answer.

This is not a concept or a mockup. I designed it, I built it, and it is running on the live feed right now. Open it on your phone while you read.

Try Live Tracking

The Gap

The Live tracker reports the system’s state. People need to know their own: how long they will stand there?

The cause

Not a screen problem. The live data cannot support an arrival time, so no interface on top of it could.

The work

Built the missing layer, redesigned around the decision, and tested the estimate against real arrivals.


01 Situation

A fleet tool, handed to passengers

Live tracking serves two very different people. The operator asks “where is my fleet?” The passenger asks “how long must I stand here?” Those are not the same question, and they do not have the same answer.

What the product does well?

The tracker works. Buses appear on a map, in the right place, updating every few seconds. Live vehicle tracking is genuinely hard to build, and this part is solid. Any honest critique has to start there.

The design question is not whether it works. It is who it is shaped for.

The screen shows a fleet of vehicles, each labelled by registration plate, on a map you can pan anywhere. That is the shape of a control room. It answers the operator’s question completely, then hands the passenger the same screen.

Press enter or click to view image in full size


A passenger is not monitoring a fleet. They are making one decision, once, in the next few seconds.

That decision is small and constant: wait, walk, or take a tuk-tuk. Everything a passenger needs is in service of it.


02 Evaluation

Naming the gap properly

Before redesigning anything, I wanted the problem stated in terms I could test, not as an opinion about the interface. Two old ideas describe it exactly.

A gulf of evaluation is Don Norman’s term for the distance between what a system displays and what a person has to work out for themselves. The smaller that distance, the better the design.

Here the distance is wide. To reach a decision, a passenger must:

  • find their stop on the map

  • guess which dot is coming to it

  • judge its direction

  • estimate its speed

  • convert all of that into minutes

…while standing on a road.

The system knows the answer. It publishes the raw material and leaves the arithmetic to the person least able to do it.

Three heuristics it breaks

  • Visibility of system status. It shows its own status, not mine. The map faithfully reports where the buses are. But the status a waiting passenger needs is their status: how long until this is over. That is never shown.

  • Match with the real world. It speaks in fleet language. Buses are labelled WP-NE-5229. That is how an operator identifies a vehicle. A passenger thinks in directions — "the one going to Kadawatha".

  • Recognition over recall. It asks you to hold the map in your head. You must remember which dot you were watching, where your stop was, and how far the dot moved since you last looked. Every one of those is memory work the product could have done.

What that costs, in plain terms

  • Is a bus coming my way? → Yes, if you can read the map

  • How many minutes until it reaches me? → No answer

  • Will there be space when it arrives? → No answer

  • Can I stop watching the screen? → No answer


03 Investigation

Why nobody had closed the gap

A missing arrival time usually means somebody chose not to build it. Before assuming that, I looked at what the product actually has to work with.

The data cannot answer the question

I read the live feed the app runs on. An arrival time needs four things. The feed carries one of them, and carries it wrongly.

  • Position → yes, but one degree wrong

  • Speed → not sent

  • Direction → not sent

  • Distance along the route → not sent

And the position is one degree off

Every bus reports itself one degree too far north and east. On the ground that is about 140 km. A bus in Maharagama reports from near Polonnaruwa.

Press enter or click to view image in full size


The gap is exactly 1.00000 in both numbers. Same for every bus, every time. Normal GPS error is a few metres and keeps changing. A clean number that repeats is a setting, not an error.

Passengers see nothing wrong. The website repairs the numbers inside the browser before it draws the map, so the map is correct. The fault sits below the picture, which is why it had gone unnoticed.


Why it still matters:

  • The saved data is still wrong. The repair happens only in the browser, so any history or report built from it is 140 km out.

  • Every other app must repeat the fix: their mobile app, any dashboard, any partner.

  • It will break later. The rule assumes no bus goes north of 7.2°. The airport sits 2.1 km from that line.

This was never a screen problem. No interface could close the gulf, because the data under it could not.


04 Approach

Close the gulf, then design the surface

The work split in two: build what the data was missing, then design an interface that hands over answers instead of raw material.

The brief I set myself

“How long must I stand here, and will I get a seat?”

One sentence to design against. Every screen and every choice was measured against it, and anything that did not serve it was cut.

Three rules

  1. Do the arithmetic for them. If the person has to calculate it, the design has failed.

  2. Answer, do not report. “Plenty of space” is an answer. “24 of 80” is a reading to interpret.

  3. The map is context, not content. It explains where the answer applies. It is not the answer.

What I chose not to build

  • A journey planner. Two routes, one road. Large effort, almost no benefit at this size.

  • Login and accounts. Nothing here needs an account. A stranger at a stop must get value in one tap.

  • Sinhala and Tamil. The data carries both names. Worth doing — but only once the main question is answered well.

What I gave up, and why

  • Using the operator’s own position fix. It only holds inside Colombo. But it matches what people already see, and I wrote down exactly where it breaks.

  • Estimating time from movement. No timetable, so I cannot say “late”. The timetable needs a login. Movement is honest, and I have it today.

  • Showing an estimate at all. It can be wrong. So each estimate carries how sure it is, and none is shown without a basis.


05 Solution

Six decisions

Each one moves work from the person to the system.

  • - WP-NE-5229 → Colombo → Makumbura Fleet language becomes passenger language. The plate stays, in small text, for when it matters.

  • “56 seats free” → “Plenty of space” A reading becomes a verdict. Nobody converts a fraction while a bus pulls in.

  • A dot on a map → every stop ahead, timed Your stop is four or five down the line, so the whole line is timed, not just the next stop.

  • Watch the screen → alert me at five minutes The last piece of memory work handed back to the system.

  • Operator yellow → blue and raspberry Different in colour and in darkness, so routes stay apart in black and white, and for colour blind users.

  • Full-colour map → grey map, coloured buses Context recedes so the content reads.

Press enter or click to view image in full size

The before/after card comparison

The live map

Press enter or click to view image in full size

The layer underneath

None of the above is possible on the feed as published. A server sits between them and does the work the data will not.

Press enter or click to view image in full size


06 Evidence

An arrival time is a promise

If the estimate is wrong, the design is worse than the thing it replaced. It moves people from uncertain to misled.

I measured it against real buses.

Press enter or click to view image in full size

  • Predicted 1.7 minutes. The bus arrived in 1.34.

  • Speed shown: 7.6 km/h. Speed measured: 7.6 km/h.

  • A 3× speed error that this testing found.

That last one is worth naming. The feed repeats the same position for several updates. Timing movement between messages rather than between real moves made every bus look three times faster than it was. Only comparing against a real bus exposed it.

The number I got wrong


The feed sends a field called total_capacity. It said 80. I used that number to show “56 seats free”.

Then someone asked me a simple question: do these buses really have 80 seats?

They do not. I checked 1,566 recorded observations. total_capacity was 80 in every single one, on every bus. A number that never changes is a setting, not a measurement. And 80 counts seated plus standing, not seats.

The app now shows the raw count, “24 on board”, which is real, and a plain verdict: Plenty of space, Some space, Filling up, Very full. It never claims a number of free seats, because nobody has published how many seats there are.


What it changes

Press enter or click to view image in full size

  • How many minutes? → every stop ahead, timed

  • Will there be space? → live, in plain words

  • Can I stop watching? → an alert five minutes before it arrives

  • Which stop is mine? → nearest stop, or saved favourites

Everything it does now

For the passenger

  • Metro line view - the whole line laid out and timed, every stop ahead, not just the next one, each arrival carrying how sure it is

  • Live map - grey map, coloured buses, direction of travel shown, so context recedes and the answer reads

  • Occupancy in plain words - Plenty of space → Very full, never an invented seat count

  • Tap any stop for its arrivals, a "set as my stop" favourite, and directions - a native-feeling detail screen, not a fleet readout

  • "Alert me 5 minutes before" so you can stop watching the screen

  • Opens on your stop - nearest stop by location, or saved favourites

  • Three languages - English, සිංහල, தமிழ் — stop names and interface, because the data already carries both local names

  • Light, dark, and system theming - a transit app gets used at a stop at 9pm; routes stay distinct in dark mode and in black-and-white for colour-blind users

  • Installable (PWA) - add to home screen, opens like an app, works on a flaky connection

Under the hood

  • A server that repairs the 140 km position error, then derives the speed, direction and headway the feed never sends

  • A live service-status page showing each part — feed, tracking, route data, delivery - as green / degraded / down

  • A GTFS-Realtime export other apps (Google Maps, Transit, Moovit) can consume, made possible only because the corrected data exists

And update the top one-liner under the CTA to match the wider scope:

Real arrival times · plain-language occupancy · 5-min alerts · saved stops · three languages · dark mode · corrected data feed, built on the live system.

Still open

  • No permission from Lanka Metro Transit yet

  • No timetable access, so no “on time” or “late”

  • The position fix only holds inside Colom

Create a free website with Framer, the website builder loved by startups, designers and agencies.