Hacker News new | past | comments | ask | show | jobs | submit login
Realtime Tokyo 3D train map using open API (nagix.github.io)
392 points by mac1010 on Oct 8, 2019 | hide | past | favorite | 50 comments



https://tracker.geops.ch Similar thing for many different parts of the world.


Pretty decent, actually. I'm in my apartment (Norway) looking out the window at the bus stop, the difference between actual buss arrival and the one on map was only 30 seconds. During rush traffic.


Here's a cool one for the London Underground - https://traintimes.org.uk/map/tube/


That's pretty cool too - no 3D wow factor, but as amazing as that looks (and it does) it is superflous; a 2D map is easier to read and of course much more performant.


Of course, this 2D map in particular appears to be built from raster images, so things look pixelated when you zoom in by pinching.


Surprised at first that there would be so many buses visible in Italy on the map, but then I also noticed "Vehicle position based on interpolated schedule data" so it means it's guessing the position based on the schedule. That could be waaaay off what's showing on the map, to the point where it's almost useless.


I was at first totally amazed that it knew where trains around me here in Sweden were. Turns out the datasource is "interpolation from schedule". Not as impressive :(


Super cool, really fun!

Same github account has a neat missile visualization as well: https://nagix.github.io/nk-missile-tests/


Awesome is an understatement


This is neat!

- Which API would you recommend to get accurate transit information data for the Tokyo or any other city ? Google API Directions does not gives out the transit information for Tokyo for licensing reasons

- Is there any article talking about and path optimisation including time constraint? I've done something homemade (a mix of bird flight distance and time to destination) it looks "okay" but I'm sure can be better.

I've just built a tool to calculate directions to POIs during a long flights layover [1] but those data are not great so far...

[1] https://travelhustlers.co/layover-in/


Isn’t google and Apple maps also just using jorudan data? https://norikae.jorudan.co.jp/openapi/

Edit: yup, google has in their agency info that they use jorudan


Trains not running well today, on the green line there's one running 5 minutes late. That's unacceptable by Japanese standards (and on-time by UK standards)...


It is all the foreigners in town for the Rugby World Cup ;) I was in Tokyo this morning (in Oita now for a match). The larger number of foreigners creates chaos out of the order. Really. I intend to make sure I am no where near Tokyo for the Olympics. Shiver.

If you have lived here or spent enough time you get a feel for the rhythm of walking and moving through what to outsiders looks like madness and complexity. However the reality is it is perfectly ordered. One or a few tourist can be absorbed but 1000s just makes it all break!


The consistent line colour-coding and set platform allocations makes it super-easy to find your platform (and train) as a foreigner.

The only issue I ever had was determining the best exit at an unfamiliar station. Pick the wrong one at a larger station and you can find yourself a long way from where you were heading.


Did you try to figure out Shibuya when it was under construction? ;)

Also trust me, it is great you had no issues (engineer likely since you are on HN) and were able to see the patterns, however most foreigners are like deer in headlights.

Also exits are simple. Figure out where you want to be and on their website it will say what station and what exit. Their is alway a map when you get off a platform with the exits labeled.


I was there in May and did end up going in a circle the first time at Shibuya and finding myself back at the viewing area overlooking the crossing after just following the ramps. The stairs down were quite easy to miss.

Once you know to keep walking the platform to the exit you need it's very easy for most stations.

Where I struggled was finding a specific shop or eatery I had previously visited at Ueno. Too many separate concourses and shopping areas.


That green line (the Chuo line) is regularly 10-30m late during rush hour.


You're wrong on multiple points in a single line.

Green line is Yamanote line and neither Yamanote nor Chuo line are that late unless some serious accidents occur. If you mean by, 1-3m then, I guess you're within a reasonable claim.


Chuo is yellow


Not just trains. Zoomed out a bit and was surprised to see a UAL flight departing from Haneda.


As I watched 2 red trains collided then occupied the same space for a while.


Both the short story and the movie is pretty cool: https://en.wikipedia.org/wiki/Moebius_(1996_film)


Another one from the same developer but in 2-d : https://nagix.github.io/mini-tokyo/


The trains don't seem to stop for very long, for about 1 second or so. Or am I not interpreting it correctly?


I don't think the 2d version is in realtime. I checked on google maps the journey from Shinjuku to Yotsuya on the red line is 11 min long, but on the 2d map the train does it in less than 10s. Plus, each time you reset the page, the positions of the trains are reset. Still it's cool way to see the activiy on the subway network.


It's working perfectly for me


The 3D version sure is cool but the 2D version would be much more usable.


This is great, but when I read "3d" i was hoping to see the actual depth of the subway train tracks below the surface.


Good work OP, if this is yours. I enjoyed using it. Would be great to have more contextual information on trains/lines permanently visible when you click, if I could offer a constructive suggestion.


It'd be super neat to have something like this for trains in other places besides Tokyo. Would a GTFS feed[1] provide enough information, or does this require more specialized data?

[1]: https://developers.google.com/transit


Google API Directions does not gives out the transit information for Tokyo for licensing reason unfortunately :(


Just like Mini Metro, but real life...


Well done. Runs pretty nicely on my huge 5K screen (five year old imac). There is a little bit of flickering and other graphics glitches.

I love how it shows the individual carriages and train tracks when you zoom in.


Cool stuff. I wish it indicates which direction it's moving.


Very satisfying to watch. Locally we have this: https://spoorkaart.mwnn.nl/


Looks great but lacks some JR lines (e.g. Musashino) and private surface lines and Shinkansen. But still having most JR and most subway is great.


If you head south towards Haneda airport there are little (blocky) planes! Source is at https://github.com/nagix/mini-tokyo-3d. This seems to be part of an Open Data Challenge for Public Transport in Tokyo https://tokyochallenge.odpt.org/en/ which is running this year.


I was hoping for a 3D component to the space the lines occupy underground. This seems to be 3D structure and trains laid onto a 2D map.


I now have this running quietly on a spare monitor at full screen, following a train. It's sort of a soothing display in a way.


It's very cool but it's not even showing 20% of Tokyo's train lines. There are over 40 lines in Tokyo


Seems like it's showing only the JR railway trains which is one of the biggest company operates in Japan.


You can see subway too. Both Toei and Metro operated lines. Their colours are faded to indicate underground.

I was impressed to find the JR train I am currently sitting on. As my train started moving out of the station, its simulation moved immediately. I cannot tell whether this is realtime data or just because the train is perfectly on schedule.


Not the biggest in Tokyo area though.


Looks awesome! I want it for New York ver.


“Tokyo's public transport systems are Magically art”, which foundation has been calculated precisely.


This is pretty nice. Are there providers that can provide transit data publicly for other cities as well.


Incredible work! I'll be sure to check it when I use trains and give feedback


This is a very nice use of WebGL. Very cool


Fantastic job!


This is amazing. Lots of politics on this site recently, but this is beautiful.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: