Comment

Comment by alkonaut

I did a similar one for Stockholm but for the greater metro area rather than on street level, for the commute time into the city (When I was looking for a place to live outside). I What I really wanted to do was find "underpriced areas" where commutes are faster than house prices indicate.

In this case I simply took a large number of addresses, ran them through the API for public transit for a random fixed workday (A tuesday morning 8 am commute) to a fixed central address. Then I plotted the times in a heatmap in the format Google maps uses and made a map overlay with the heat map.

It makes a nice spiral galaxy like map where the commuter train stations make little islands of short commute time far away from the city.

http://commutemap.azurewebsites.net/

(Static pic if you don't want to zoom in it and eat my free azure bandwidth... http://prnt.sc/e57bsc). Thinking about it now the dang thing ended up being completely static so it should be possible to just host for free somewhere (github?) rather than cloud. Uses my msdn "testing" sub now...

Outcome: bought place in the orange/red area and started working from home instead :)

Limitations: 1) target address is fixed, new target (e.g. new job location) needs a whole new map. But central stockholm is pretty small and walkable so this works pretty well if your office is central. 2) Interpolation between known points/addresses uses no kind of path finding. It assumes you can walk e.g. 200m in a straight line from an address to the closest bus stop. That might not be what you want to do if it e.g. means crossing water...

parent alkonaut 9 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton