Settings

Theme

Maps that show time instead of space

spacetime-maps.vercel.app

148 points by vvolhejn 2 years ago · 46 comments

Reader

markerz 2 years ago

Interesting twist on what other people have done, namely show a heat-map of where you can go using public transit + walking within 5 min, 15 min, 30 min.

time2reach https://map.henryn.ca/San%20Francisco

NYC Subwaysheds https://news.ycombinator.com/item?id=36240264

adamcanady 2 years ago

This is neat but the map by public transport time is probably non-euclidean because subways are like wormholes.

  • perihelions 2 years ago

    Right, the travel-time metric is not compatible with a Euclidean R² metric. You can imagine three subway stations in a triangle loop, such that it's a shorter trip to do a full loop on the subway then to walk to a point in the interior.

    There's no way to continuously deform a map so that it represents travel times as distance in a plane.

  • vvolhejnOP 2 years ago

    Oh yes, unfortunately, you can't do this perfectly. There are some graphs that cannot be embedded in Euclidean space in any number of dimensions, e.g. a 4-cycle with distance measured by path length. It's a good-enough approximation for visualization purposes, though.

  • ars 2 years ago

    Not really - you have to wait for the subway, it also takes a finite time to travel, and it frequently stops. It can avoid traffic, but the actual MPH can be slower than a car when you include both those things.

    • echoangle 2 years ago

      Isn’t the point that you have a way to get to a point far away faster than you can get to a point in between? The worm hole thing ist because you can only exit at discrete points so it pulls a single point far away, and it’s sorrounding, closer to the starting point. That’s probably hard to map to a 2D map because there would be some overlap between the different „islands“ starting from subway stations

      • episteme 2 years ago

        If you could take the shortest path to each point, it would solve the problem and be interesting. Not necessarily easy to do though.

willtemperley 2 years ago

We did this globally in 2018.

https://www.nature.com/articles/nature25181

puzzledobserver 2 years ago

This sounds conceptually difficult: Wouldn't the presence of one-way streets or airport security checkpoints, for example, mean that the travel time from A to B might not be the same as the travel time from B to A?

How can a map then be drawn?

  • nighthawk454 2 years ago

    Right. There could be northbound traffic but not southbound for example. The answer is they must be symmetrizing the distances somehow. Alternatively, you could show the travel times _from a source location_ unambiguously, which might be more interesting for the average user (e.g. from home)

    • anymouse123456 2 years ago

      Yeah, this is what I was hoping for with the touch. Seems like where I touch should be the origin and distance in x/y should represent time to travel from that origin.

    • basil-rash 2 years ago

      That still wouldn’t work in all cases. For instance if a ring of locations are all more accessible than a location they contain. Which applies to basically all suburbs.

  • vvolhejnOP 2 years ago

    Indeed, you can't do this perfectly – it's an approximation. I just use one of the two directions as the travel time because if I wanted to symmetrize I'd have to call the Google Maps API twice . Asymmetry aside, it's also not possible to perfectly embed metrics in 2D Euclidean space, or any-dimensional Euclidean space for that matter (see other comment)

  • ChainOfFools 2 years ago

    Before trying the site I assumed the way they would resolve this is that the distance calculations would be made relative to the point at which you held the map, but what actually happens is that the map is drawn uniformly no matter where you hold it. and of course this is an impossible representation due to the reasons you describe as well as the differences in mappings between a path that is configured to be walked in one direction, but traveled by vehicle in the other.

  • lostlogin 2 years ago

    Good point.

    And hills are rather easier in one direction too.

jasonjmcghee 2 years ago

Does this not work on mobile?

If it does, can someone explain how to use it? No matter what I do, the map just warps a bit, and nothing else happens.

  • SkyPuncher 2 years ago

    IMO, I expected that I could click various places and the map would react to the specific point I clicked.

    Instead, it seems to essentially just be an animation between two pre-determined images.

    • jasonjmcghee 2 years ago

      After some experimentation- opening the hamburger menu and turning on "focus on hover" behaves this way.

      And then panning kind of works? I feel like there's either a bug or it isn't meant for mobile

  • mewpmewp2 2 years ago

    This is what it is supposed to do. The coordinates in map from one location to another change from distance to how much time it would take to reach there.

    • jondwillis 2 years ago

      You cannot pan on iOS.

      • tzs 2 years ago

        I don't think it is supposed to pan. It doesn't for me on desktop.

      • vvolhejnOP 2 years ago

        Sorry, that must be a bug. On desktop the map is large enough to be visible in its entirety but it is supposed to pan on mobile... I'll try to fix that

Nevermark 2 years ago

It would be a nice effect if the pressed point on the map stayed at the same location on the screen (the pressed point) during and at the end of animation.

albert_e 2 years ago

Always knew this subconsciously but now I can put it into words.

Traffic can warp spacetime.

danbruc 2 years ago

See also isochron map [1].

[1] https://en.wikipedia.org/wiki/Isochrone_map

snakeyjake 2 years ago

There have been so many interesting map sites posted to Hacker News lately and my favorite thing about them is how they're all (seemingly) hosted on a Linode Nanode...

deadbabe 2 years ago

If there was a place that was impossible to go to for some reason, would it become a sort of “black hole”?

Are there any such black holes on earth? Or are they only theoretical.

  • avidiax 2 years ago

    It would not be representable, since even 1 unreachable point would have to have infinite area.

    If you allowed the 2D map to become 3d, I suppose you could have an infinitely high spike or low trough.

    • deadbabe 2 years ago

      So it would be like a 2D black hole, you could approach it from any side, and you could move along the edges a bit, but if you go too far into it, you’ll just find yourself moving along an infinite area toward a point you’ll never cross, forever.

ChrisArchitect 2 years ago

What if I want to know how long it's going to take in parsecs?

tasty_freeze 2 years ago

I had this though many years ago, but unlike distance, travel time isn't necessarily symmetric, and so it isn't possible to represent time just by warping a conventional map as A->B and B->A will get the same warp.

And if the map allows for different travel modes, like train vs driving, I think it breaks entirely.

But this isn't to poop on the website -- I'm glad someone has taken the time to build a demo, even it it can't handle some cases.

  • drusepth 2 years ago

    You can turn on arrows that update as you move your mouse around (assumedly, signifying an origin). Not sure exactly what they do, but they do hint at potentially taking asymmetric distance into account.

labster 2 years ago

Why is Venice Beach landlocked in both versions of the LA map?

bblcla 2 years ago

This is cool! Wish it was available for more cities, though.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection