Map

Rıvo

Where the ACTV boats are, right now

Leggi in italiano

Rivo is Venetian for “I’m arriving”. It’s what you shout when you’re on your way — “Rivo!” — and it’s the question on the mind of everyone waiting at a stop: quando riva el vaporeto?, when is the vaporetto coming?

Rivo shows ACTV’s water buses on a map in real time, and the next departures from every stop. Nothing to install: it opens in the browser and can be added to your phone’s Home Screen.

How to use it

1Where the data comes from

ACTV publishes its data as open data: the full timetable (in GTFS format) and, every few seconds, boat positions and arrival predictions (GTFS Realtime). Rivo reads them, puts them together and draws them. ACTV refreshes the feed every 5 seconds, but not all boats transmit at the same pace: half send their position every 10 seconds, half every 20. By the time it reaches Rivo, a position is usually 12 to 20 seconds old.

The map is by OpenFreeMap, built on OpenStreetMap data: free and ad-free. At night the street lights come on, from the City of Venice open data (CC BY licence).

2The lines ACTV doesn’t tell

In the real-time data, two to four boats in ten, depending on the moment, have no trip attached: we know where they are, not which line they’re running. Rivo works it out by comparing the last few minutes of their route with the timetable: which trip should be right there, at that moment, heading that way? In the first test it got the line right 25 times out of 26. When in doubt, it says so: the badge gets a dashed border, plus a question mark if the guess is uncertain. The opposite happens too: ACTV sometimes leaves a boat attached to a trip that ended hours ago. A trip more than half an hour outside its timetable isn’t credible, and Rivo works the line out on its own.

3Movement between updates

One position every 10 or 20 seconds would make the boats jump from place to place. Rivo glides them along their route at the speed measured over the last few points, never past the next stop: there it waits for real data. Measured on real data, when a fresh position arrives the estimated boat is about 7 metres from where it actually is; holding it still, it would be 49.

At the stop, the boat pulls up alongside on the water side, with its bow never past the head of the stop; if a second one arrives, it queues behind. When berthing, boats often go astern and for a moment the data shows them facing the wrong way: Rivo only changes their heading once the boat has really moved.

25/26lines correctly worked out in the test
7 maverage error of the estimated position
~40 MBmemory used by the service on the server

4The boats

Up close the dots become the boats, drawn in 3D to their real measurements, taken from ship registers and photos: you can tell them apart by their outline alone.

TypeSizeLines
Vaporetto24 × 4.6 m1, 2, 2/, 10, 13, N
Motoscafo21 × 3.1 m3, 4.1, 4.2, 5.1, 5.2, 6, 9, 20, NMU
Foraneo31 × 5.7 m11, 12, 22, NLN
Motonave40 × 7.5 m14, 15
Ferry52 × 11.7 m17

The type depends on the line, not on the individual boat: it’s a representation, and sometimes a line runs a different boat than usual. Line colours are ACTV’s official ones.

5Light, by design

When someone is looking at the map, Rivo asks ACTV for data every 15 seconds; when nobody is, once a minute, and every 5 minutes at night: enough to keep a log of the boats, which will help improve the predictions. Whoever opens the app when the data isn’t fresh briefly sees Rivo… subito! (“coming right up!”), just long enough to refresh it.

Rivo uses no cookies, shows no ads and collects no personal data. The few preferences (language, 2D or 3D view, hidden lines, most-searched stops) stay on the user’s phone.

To know how much it is used, Rivo counts devices anonymously, from the requests the server receives anyway: no cookies, no addresses stored. All that is kept for each day is the totals: how many devices, at what time, in which language, phone or computer.

6Not an ACTV service

Rivo is an independent project with no ties to ACTV or the City of Venice. It uses the data ACTV makes available to everyone. For official timetables and notices, refer to actv.avmspa.it.

7Who’s behind it

Paolo

Rivo is a pcc soft project, meaning it’s by Paolo: a Venetian citizen, and therefore a seasoned expert in “next stop: Rialto”, crowded stops, “fate un passo in cabina” (please move inside) and boats caught at the last second.

He spent many years at Venis, the City of Venice’s IT company, trying to keep the city’s digital services running: long enough to know that behind every “online service” there is someone who doesn’t sleep, or sleeps very little. Today he leads development and innovation at Cineca, where innovation is, quite literally, at home.

And since, as the poet sang, life tends to happen while you’re busy planning something else, Rivo is what happened while Paolo was planning something else.

It’s a personal project: no company behind it, no profit, no data collected. And it was written as a duet with an AI assistant and agent: Paolo had the ideas, chose the colours and corrected the boat outlines one window at a time; the AI wrote the code and took the measurements. The matters of taste, and therefore the mistakes, are Paolo’s.

The logo is the R formed by the Grand Canal and the Scomenzera canal; the red dot is a line 2 boat at Rialto.

A bug, an idea, a stop drawn the wrong way? Write to me by email or on LinkedIn: I’d love to hear about it.

← Back to the map