logoalt Hacker News

Live map of public transport in Belgium

111 pointsby coinfusedtoday at 9:02 AM49 commentsview on HN

Comments

gworftoday at 10:23 AM

Similar real time traffic map for Switzerland <https://maps.trafimage.ch/ch.sbb.netzkarte?baselayers=ch.sbb...>

Betelbuddytoday at 11:05 AM

For Deutsche Bahn it will be just a photo....

greggman65today at 1:09 PM

A non-live map for trains in Tokyo

https://greggman.github.io/tokyo-trains

I think the live map is cool but (1) I don't know where to get that data and (2) seeing things at 100x speed is, IMO, more interesting as a visual

It's based off schedules but only Toei's schedules are easy to get (AFAICT). I got permission for the most of the others, but I thought the visual was good as is ... mostly. Maube I'll revisit.

ostacketoday at 12:55 PM

This thread is full of people linking similar projects for different locations. The next step must be to combine it all to a global live map. Useful for... something, I'm sure.

show 1 reply
ssernikktoday at 1:04 PM

I don't want to be negative here, just asking out of curiosity. Does anyone actually use apps/services like this? Why would it be useful?

Normally when I want to get somewhere I just use local public transport navigation app which calculates the route and shows me estimated time of when my tram or bus arrives (taking into account its GPS data). Why would I need to know live position of every vehicle in the city?

Nevertheless, cool project!

show 3 replies
OvervCWtoday at 10:24 AM

Similar map for the Netherlands: http://ovzoeker.nl/

ognarbtoday at 1:20 PM

Even more impressive: https://api.transitous.org/ (but not everything is live)

palavrovtoday at 10:19 AM

Would be perfect post end of January for next FOSDEM.

niepiekmtoday at 12:11 PM

See https://zbiorkom.live/cities for a live public transport in several cities in Poland.

Bahaa_BLINKtoday at 1:14 PM

That's awesome, we need map to cover all over the world

wouterjanltoday at 10:16 AM

Awesome! Looking at the metro stop near me here in Brussels, the trains seemed stuck for a while at the station. Not impossible this was just real :) Great way to admire the density and connectivity of our public transport!!

f6vtoday at 10:35 AM

I've first seen this in Moscow around 2018 (in Google Maps) and then in Ivano-Frankovsk in 2021 (some local custom app). I think such live maps are the best use of public funds one could imagine.

show 1 reply
jeffjeffersentoday at 10:07 AM

This is well made, would love to have this in my own country as I can never trust the actual timers on the bus stops. How do you get access to the data? Is it a public government API? How did you manage to map all the routes too?

show 2 replies
wvhtoday at 10:00 AM

Fascinating... I have a thing with maps. Does the information come from a central server that runs some open-source protocol for public transport, or is this gathered from different endpoints in different formats?

smrtzotoday at 11:08 AM

feel like its computed from the time table and not live or am I mistaken?

show 3 replies
jpoesentoday at 10:15 AM

Great companion to https://irail.be, a minimalist counterpart to this site, also based on open data.

luplextoday at 12:22 PM

same thing with global data (but of course not full coverage everywhere): https://travic.app

nealstoday at 10:14 AM

I just figured out that on Mallorca, the busses are shown like that on Google Maps. Which to me was mind blowing. I had never seen it, it's so convenient.

Hacker_Yogitoday at 10:16 AM

Really nice! The place names are a little hard to read especially in dark mode, other than that great job! Thanks for sharing!

show 1 reply
grasshopper-ttoday at 1:07 PM

a similar real-time map for trains in norway: https://togkart.banenor.no/

gregsadetskytoday at 1:36 PM

Another very global one as well - https://trains.fyi/world-map/

ramon156today at 10:43 AM

In the netherlands we have 9292 which imo is the most mature implementation.

embedding-shapetoday at 9:41 AM

Soon we'll be needing a live map of all the live maps in the world.

oschvrtoday at 9:46 AM

Wow very useful thank you !

mci-1today at 12:30 PM

Author here! Thanks for posting the app!

Two notes on what you are looking at:

Not every vehicle is a live position. STIB-MIVB and TEC publish vehicle positions and those are shown as received. De Lijn and NMBS/SNCB do not, so their vehicles are computed from the timetable and corrected with the delays they do publish (GTFS-RT). Each marker is tagged live, computed with delay, or computed, and the computed ones are drawn dimmer.

All data is open data. The four operators publish through one federal portal (data.belgianmobility.io) under CC BY 4.0: GTFS for timetables and route geometry, GTFS-RT for delays, alerts and positions where available. NMBS ships no route geometry, so train paths are routed over Infrabel's open track network.

This is not specific to Belgium. Nearly every country publishes public-transport open data in the same formats, and I was able to locate feeds for most European countries. A map like this can be built for almost any of them!

Happy to answer questions on the data or the simulation :)

sixtyjtoday at 1:51 PM

Nice effort. Well done.

Those who don’t bookmark but write url by memory get extra points /s

Ptm.be is for rent btw (public transport map)

digitalsurgeonztoday at 10:08 AM

[dead]