Back to News
Advertisement
mmgranados 4 days ago 13 commentsRead Article on ride.nexttrain.london

FR version is available. Content is displayed in original English for accuracy.

deck.gl based visualiser of the TFL Api + National Rails to be able to track (with minimal drift) a train along the way in London and to the nearest airports. If you pick one from any platform in https://nexttrain.london basically you can share your train journey along the rails. Build to test Cloudflare workers and their infra along with deck.gl performance that is incredible in my opinion.
Advertisement

⚡ Community Insights

Discussion Sentiment

100% Positive

Analyzed from 202 words in the discussion.

Trending Topics

#seems#layer#train#openstreetmap#wiki#nice#mouse#trains#cool#line

Discussion (13 Comments)Read Original on HackerNews

hokkos•1 minute ago
There seems to be some parallax issues between your trip layer and your 3D Tiles layer, but nice usage of deck.gl.
TheOtherHobbes•14 minutes ago
Interesting but quite buggy. Example: mouse dragging seems trapped in a fairly small area.
darknavi•16 minutes ago
I'd love to see a view with all/many trains. In London I was constantly wondering what the criss-cross of underground lines looked like.
ohjeez•15 minutes ago
This is incredibly cool. I had it open on my desktop for most of the day.
sdoering•34 minutes ago
Having just taken the Elisabeth Line to LHR T5 and sitting here, this was fun. Thanks.

Edit: Is there a Repo to look at and learn from this?

dmazin•about 1 hour ago
It would appear you are missing the High Barnet branch of the Northern line.
Falimonda•24 minutes ago
How do I drive the train? Arrow keys not working :(
fredley•about 2 hours ago
Very nice, but the map seems to be in the wrong position vs. the trains/3d elements.
kentonv•3 days ago
This is really cool!

Quick suggestion: When not tracking a train, the mouse wheel should zoom into / out from where the cursor is pointing, rather than the center of the window.

jrrv•about 1 hour ago
The planes were a surprise
gowld•38 minutes ago
The train paths are drawn on a 2D layer above the buildings, not at z-index that matches the proper 3-D position. So the paths appear to weave around and over the tops of buildings.
Advertisement
philipwhiuk•about 1 hour ago
I'm curious what the 3D model source is - the Gherkin is kinda weird.
0l•about 1 hour ago
OpenStreetMap - seems to be done with concentric circles, e.g. https://www.openstreetmap.org/way/1365317072 and a dome on top

There is a good wiki page on this: https://wiki.openstreetmap.org/wiki/Simple_3D_Buildings