Live data from Hacker News

Real-time map of Great Britain's rail network

map.signalbox.io

121–130 of 165 posts

Re: Real-time map of Great Britain's rail network

#121
post #3

> Signalbox's technology identifies the train a device is on by matching a snapshot of smartphone data to a train’s trajectory data. The technology uses advanced algorithms works even with severely degraded data. We are able to pinpoint a smartphone to any type of train without background location tracking or hardware. Hmm, that's...interesting?

It works fairly well empirically: my 7yo likes to watch trains and we regularly use this map to know when to expect one to pass. Not perfect, but pretty good

Re: Real-time map of Great Britain's rail network

#122

Switzerland's real-time map of trains and public transport (zoom in on a city to view its public transport in real time). You can find boats too. And if you check on/off the other options, you get way more informations. https://maps.trafimage.ch/ch.sbb.netzkarte?lang=en&baselayer...

I think I saw and was fascinated by this which some time back here on Hackernews, https://maps.vasile.ch/transit-sbb/

Re: Real-time map of Great Britain's rail network

#124
I looked into the gtfs (gtfs.org) a while ago. This is a data feed format (protobuf based) that a lot of sites like this use for both schedules and real time updates that is pretty widely adopted. Most gtfs location feeds require getting an API key. But there are a handful of public ones that share actual location updates without that.

This is also how e.g. Google maps and others integrate schedule information for public transport as well.

Building a map from the real time updates is relatively straight foward once you have access.

Re: Real-time map of Great Britain's rail network

#126

Earlier quoted context omitted.

I suspect it's linked to this which is the latest example being used. https://www.ndtv.com/world-news/uk-man-was-assaulted-by-atta...

[flagged]

in 24/25 there were 524 murders, of which 70% of the victims were white.

81% of the UK is white

70% of murder victims were male.

So reality is that white people are less likely to be murdered than non-white people, and women are less likely to be murdered than men.

Re: Real-time map of Great Britain's rail network

#128

I looked into the gtfs (gtfs.org) a while ago. This is a data feed format (protobuf based) that a lot of sites like this use for both schedules and real time updates that is pretty widely adopted. Most gtfs location feeds require getting an API key. But there are a handful of public ones that share actual location updates without that. This is also how e.g. Google maps and others integrate schedule information for pu…

GTFS is widely adopted, "standardized", but also quite a wild west when it comes to the actual details. I've been building http://mobility-bot.com/ as a spare time project for two years, parsing the alerts GTFS feeds from a handful of providers, and for just about every one of them, I have to do something in the pipeline to clean up the provided data - fixing unicode issues, remapping route and agency IDs, rewriting headers and descriptions to not be identical, etc. You also have to watch and capture the data over time to make sure you have a corpus to generalize parsing and cleanup rules from.

Most of these projects made the smart choice to focus on a single or just a small handful of related providers. As soon as you're trying to aggregate, the problem becomes a lot trickier.

Re: Real-time map of Great Britain's rail network

#129
post #68

Earlier quoted context omitted.

Most of the UK. Northern Ireland's network is not included.

Quite right, "UK" is an abbreviation for "The United Kingdom of Great Britain and Northern Ireland"

I could also mention Manx Railways, which are historic heritage lines, but there are at least three railway lines there that are mostly used by tourists and some commuters.

The Isle of Man has a curious relationship with the UK. As a Manxman once said to me, the government there is British when it feels like it and not British when it feels like it.

Post reply on HN