Nice! Would be more realistic (and more Mini Metro-like) if the trains actually stopped at the stations though. Also, the trains don't have to disappear and reappear at the terminal stations, they could just stay there until they are scheduled to go back - after all, that's what they do in reality as well...
Any chance that the source could be made available ;) ?
The solution with fade out / fade in is pretty clever. Short layovers will cross-fade automatically, but you don’t need complicated internal information about which train continues from one run to the next.
Stopping would be neat, but may also be visually messy.
- As others have mentioned, it seems dodgy on Firefox. The button to switch between U-Bahn and S+U mode doesn't seem to work at all on Safari (?)
- Completely unreasonable request, but it would be cool if it were to show the current engineering works - i.e. the U1 not running, and the temporary U12 taking over the western U2 and U1
If anyone else is a urban railways geek, then may I introduce you to CartoMetro - https://cartometro.com/ - an amazingly detailed map of various (mostly French) urban rail systems (although sadly lacking Berlin!)
Another great one is https://www.worldmetro.io/map, which came out of a very cool Kickstarter project[1] that mashed up nearly every urban railway in the world into a huge, interconnected network. I bought one of the large 60” x 45” maps and I still sometimes sit and stare at it, trying to find the various stops where I’ve lived and worked over the years.
Very nice.
Given the smoothness, I first thought this was real-time:)
As someone who lives in Berlin, I didn't know there was an open API for the VBB. I'll have to have a look at it.
And loving the Minimetro vibes!
(Running this on android 10 on a OnePlus 7pro - runs smooth in Chrome)
I too thought for a moment that this was real-time until I noticed the absolutely frighting speed at which these trains would be passing through the tubes.
People waiting at a station would be sucked onto the tracks by the vortex created in the wake of a passing train. The front of the trains would probably be red hot with friction, while the passengers would be screaming until their train reached the end of the line, where it would pass out of existence, presumably into another dimension.
That is, until god slowed reality back down to 1x speed.
I don't know if VBB used this, but most transit agencies publish their data in two standard formats these days GTFS for static schedules and GTFS-real time for real-time data. Any application you build around these formats would immediately scale to pretty much every big city.
Google maps and Apple maps provide transit directions in their apps using GTFS and GTFS real time data (partly the reason why Apple maps was able to add transit directions feature so easily - Google had to deal with the transit agencies years before that and convinced them to publish data in open source standard formats).
I thought it was live too, I wonder if there's a way to do that? I like that you can see both the s and u bahn, though I kind of wish the abstract map would carry over.
The problem with Berlin is than there are many operators for public transport by train:
* U-Bahn, for the subways (underground & aerial)
* S-Bahn, for sub-urban lines (mostly aerial)
* Traway in est-Berlin
A map, live or not need at least to combine the U-Bahn and the S-Bahn, (and if possible the tramway too), because you generally need to use both networks (with the same ticket) to travel. Staying in only one of the network is just not practical.
It's such a shame that the official Tram network map [1] almost fits the U-Bahn/S-Bahn map [2], but not exactly.
My assumption is that, when BVG designed these, they had separate maps in mind already early in the process, because including all station names on a tiny printed map is not feasible. With those transparent maps at the trams' windows though, or especially with a digital zoomable map, this would be completely feasible.
According to a BVG email from a few years ago, there isn't even a machine-readable version of this map, which is why I hand-digitised it. [3] So sad because the creativeness of the internet combined with a "remixabe" [4] (or at least forkable) version would likely kick off cool projects!
If anyone wants to attempt merging them, please open an Issue in [5] to let me know!
PS: Do you know about the (experimental) BVG bus map? [6]
In the Shinjuku city hall many years ago there was an animation showing how population desitiy changes in Tokyo during one day. It was absolutely mindblowing, but I have never been able to find it online.
If someone happens to know where I can find this animation I would be really grateful.
Same here. A profile suggests that most native time is spent rendering the backdrop shadow of the text rendered to the canvas, and most of the remaining CPU time is spent on the drawText Javascript call.
I love it. I'm from Poland and lived for a while in Warsaw, where public transport also has all this kind of tracking, BUT the operator when asked about making this data available to travelers, he replied something like "Why would people need it? It's internal data and it will stay like that".
Same for me, even I set "layers.acceleration.force-enabled" to true. Chrome and Chromium are smooth.
EDIT: Turning "High Resolution" (in the settings of the webpage on top right) off and on seems to fix the issue somehow? It's smooth now, but reloading takes it back to choppy.
It's also smooth for me (also Chrome) in "U-Bahn only" mode, but when I switch to "U+S", it's noticeably less smooth (10 fps?). It gets better if you deactivate the "city map background" in the settings.
I wanted to simply draw and SVG of the bus route map. The timetable had the lat long of stop positions. I was using d3 so having drawn the map it almost zero effort to animate the busses. It was just a standard transition with a delay and a duration.
> Schedules are extracted from the GTFS data of the VBB (loaded on Fri, 26 Aug 2022 13:11:26 GMT) which contains arrival time and departure time of every hour of every day. The movement of the train is simulated at constant speed between stations.
Thanks for the comment!
It made me realize I forgot to move a file. It's fixed now (you might need to clear your cache). And the live data toggle is now enabled.
This has exited forever for all parts of the VBB https://www.vbb.de/fahrinfo/ You can turn on individual forms (S-Bahn, U-Bahn, Bus, Ferries etc) of tranport on the right hand side menu.
On a tangent, buying a ticket for a tourist is a real pain on the Berlin system. You have to know what a zone is, what specific station etc. would be great to have a standard fare like in NYC.
- click upper right corner "Livekarte"
- click on the menu again "Livekarte"
- select means of transport: radio buttons for subway, railway etc
- zoom in to see subway
Note that this just interpolates the vehicles' positions based on their delay, which in turn is calculated based on periodic pings that the vehicle sends AFAIK.
So the map does not show realtime positions in the same sense as e.g. HSL's trip planner does [1][2]. In fact, the location and speed of a vehicle can be very off.
Personally, I loathe this map, because it gives an impression of accurate data, even though it isn't that precise. VBB gets credit for providing supposedly reliable data, even though they could (and should, given amount of tax money spent) provide much better data!
But the trains are sort-of-actual positions based on the time in the top right hand corner and the latest estimated arrival times, but time is moving forwards at 50x speed.
xn-- domains are fallback Unicode compatibility domains for systems that don't support it. It's mainly seen in Asia. So it's not the intended representation of the domain name, that's ubähnchen.vercel.app
I think ubähnchen means little U-bahn.
It's interesting to see Germans are still very strict with their letter accents even in domain names. I'm from the Netherlands myself and because we mainly use US keyboards (there is a NL type but nobody uses it), accents are a PITA to type so people started leaving them out. These days they're almost extinct, as is the ligature for "ij". We're pretty pragmatic like that. Personally I wouldn't even care if we phase Dutch out for English, it's just much more useful on a global scale. But that's probably a step too far for most.
rob74|3 years ago
Any chance that the source could be made available ;) ?
belter|3 years ago
pvg|3 years ago
https://xn--ubhnchen-1za.vercel.app/en/about
ant6n|3 years ago
Stopping would be neat, but may also be visually messy.
pantalaimon|3 years ago
Maybe a difference in the source data?
NeoTar|3 years ago
- As others have mentioned, it seems dodgy on Firefox. The button to switch between U-Bahn and S+U mode doesn't seem to work at all on Safari (?)
- Completely unreasonable request, but it would be cool if it were to show the current engineering works - i.e. the U1 not running, and the temporary U12 taking over the western U2 and U1
If anyone else is a urban railways geek, then may I introduce you to CartoMetro - https://cartometro.com/ - an amazingly detailed map of various (mostly French) urban rail systems (although sadly lacking Berlin!)
culturestate|3 years ago
1. https://www.kickstarter.com/projects/1960956629/the-world-me...
hk__2|3 years ago
Polyphonie|3 years ago
https://i.imgur.com/BAhNQJd.mp4
Tijdreiziger|3 years ago
https://www.gleisplanweb.eu/index-e.php
http://sporenplan.nl/
radiosnob|3 years ago
And loving the Minimetro vibes! (Running this on android 10 on a OnePlus 7pro - runs smooth in Chrome)
once_inc|3 years ago
People waiting at a station would be sucked onto the tracks by the vortex created in the wake of a passing train. The front of the trains would probably be red hot with friction, while the passengers would be screaming until their train reached the end of the line, where it would pass out of existence, presumably into another dimension.
That is, until god slowed reality back down to 1x speed.
quantumduck|3 years ago
Google maps and Apple maps provide transit directions in their apps using GTFS and GTFS real time data (partly the reason why Apple maps was able to add transit directions feature so easily - Google had to deal with the transit agencies years before that and convinced them to publish data in open source standard formats).
YLE118|3 years ago
I thought it was live too, I wonder if there's a way to do that? I like that you can see both the s and u bahn, though I kind of wish the abstract map would carry over.
MBCook|3 years ago
This is really great, and despite saying it’s desktop optimized it worked great on my iPhone.
Love it.
miniwark|3 years ago
* U-Bahn, for the subways (underground & aerial)
* S-Bahn, for sub-urban lines (mostly aerial)
* Traway in est-Berlin
A map, live or not need at least to combine the U-Bahn and the S-Bahn, (and if possible the tramway too), because you generally need to use both networks (with the same ticket) to travel. Staying in only one of the network is just not practical.
derhuerst|3 years ago
My assumption is that, when BVG designed these, they had separate maps in mind already early in the process, because including all station names on a tiny printed map is not feasible. With those transparent maps at the trams' windows though, or especially with a digital zoomable map, this would be completely feasible.
According to a BVG email from a few years ago, there isn't even a machine-readable version of this map, which is why I hand-digitised it. [3] So sad because the creativeness of the internet combined with a "remixabe" [4] (or at least forkable) version would likely kick off cool projects!
If anyone wants to attempt merging them, please open an Issue in [5] to let me know!
PS: Do you know about the (experimental) BVG bus map? [6]
[1] https://www.bvg.de/dam/jcr:d45105f2-6752-4ec5-b882-893657205... [2] https://www.bvg.de/dam/jcr:60a89e3b-f88d-4d48-b8a6-98ab340ad... [3] https://github.com/derhuerst/bvg-topological-map/issues/7#is... [4] https://github.com/derhuerst/remix-bvg-map-frontend [5] https://github.com/derhuerst/bvg-topological-map [6] https://www.bvg.de/dam/jcr:ee4647c3-ce1e-4b0a-9546-b1848b85e...
lqet|3 years ago
https://travic.app/?z=13&x=1493233.2&y=6894127.0
dewey|3 years ago
jkukul|3 years ago
floodle|3 years ago
sccxy|3 years ago
If author wants some inspiration then this tokyo map is awesome:
https://github.com/nagix/mini-tokyo-3d
jansan|3 years ago
If someone happens to know where I can find this animation I would be really grateful.
Elzear|3 years ago
codethief|3 years ago
bugmen0t|3 years ago
probably_wrong|3 years ago
Quanttek|3 years ago
jeroenhd|3 years ago
Looks like Mozilla has something to optimize!
runxel|3 years ago
janfoeh|3 years ago
jarek83|3 years ago
akie|3 years ago
artogahr|3 years ago
EDIT: Turning "High Resolution" (in the settings of the webpage on top right) off and on seems to fix the issue somehow? It's smooth now, but reloading takes it back to choppy.
phil294|3 years ago
y42|3 years ago
(Nevertheless: Beautiful!)
pindab0ter|3 years ago
rob74|3 years ago
ale42|3 years ago
hk__2|3 years ago
jonas-w|3 years ago
pantalaimon|3 years ago
meinaccount00|3 years ago
threatripper|3 years ago
bambax|3 years ago
elberdude|3 years ago
unknown|3 years ago
[deleted]
philholden|3 years ago
http://philholden.me.uk/kraya/routemap/
I wanted to simply draw and SVG of the bus route map. The timetable had the lat long of stop positions. I was using d3 so having drawn the map it almost zero effort to animate the busses. It was just a standard transition with a delay and a duration.
hubraumhugo|3 years ago
NeoTar|3 years ago
> Schedules are extracted from the GTFS data of the VBB (loaded on Fri, 26 Aug 2022 13:11:26 GMT) which contains arrival time and departure time of every hour of every day. The movement of the train is simulated at constant speed between stations.
Vogtinator|3 years ago
kioleanu|3 years ago
amaccuish|3 years ago
Elzear|3 years ago
fs111|3 years ago
unknown|3 years ago
[deleted]
bergenty|3 years ago
quantisan|3 years ago
insane_dreamer|3 years ago
pushreply|3 years ago
fock|3 years ago
I don't know, if they have an open API though (Google of course gets access. Which is......)
purecode|3 years ago
Seems no english version available, you have to
derhuerst|3 years ago
Personally, I loathe this map, because it gives an impression of accurate data, even though it isn't that precise. VBB gets credit for providing supposedly reliable data, even though they could (and should, given amount of tax money spent) provide much better data!
[1] In the departures section on the left, tap on one of the upcoming departures to see the vehicle in realtime: https://reittiopas.hsl.fi/terminaalit/HSL%3A1000105?locale=e... [2] https://digitransit.fi/en/developers/apis/4-realtime-api/veh...
kenniskrag|3 years ago
unknown|3 years ago
[deleted]
Angostura|3 years ago
https://traintimes.org.uk/map/tube/
unknown|3 years ago
[deleted]
divan|3 years ago
It seems to have no information about actual train position, or am I missing something?
Closi|3 years ago
But the trains are sort-of-actual positions based on the time in the top right hand corner and the latest estimated arrival times, but time is moving forwards at 50x speed.
unknown|3 years ago
[deleted]
unknown|3 years ago
[deleted]
Markoff|3 years ago
[deleted]
GekkePrutser|3 years ago
I think ubähnchen means little U-bahn.
It's interesting to see Germans are still very strict with their letter accents even in domain names. I'm from the Netherlands myself and because we mainly use US keyboards (there is a NL type but nobody uses it), accents are a PITA to type so people started leaving them out. These days they're almost extinct, as is the ligature for "ij". We're pretty pragmatic like that. Personally I wouldn't even care if we phase Dutch out for English, it's just much more useful on a global scale. But that's probably a step too far for most.
hk__2|3 years ago
Elzear|3 years ago
You can also memorize ubaehnchen.vercel.app
numpad0|3 years ago
detaro|3 years ago
unknown|3 years ago
[deleted]