Would be nicer if it would distinguish (just varying line thickness) between footpaths, roads, highways etc. Many European cities look messy in this view.
In the age of bloated resource hogs, I was pleasantly surprised that this rendered with no perceptible lag or stuttering, even on my phone. Impressive how everything is drawn so efficiently.
So, it's a filter on OpenStreetMap to retrieve all ways with a highway=* tag, and draw them identically?
I think a much faster and easier way to implement this would be using existing sources of vector tiles, but scaled down. You could probably even just use Mapbox GL JS, and scale the whole canvas down by a factor of 4 or something, to avoid the issue of small roads not being present at city-scale zoom levels.
I was intrigued by how many of the 3000 cities you’ve cached I had heard of. You used population size >100k as cutoff, it would be interesting to compare how many cities someone has heard of with their population size.
This would be a fun metric to rate someone’s “global orientation”.
Only recognize the cities with >1M people? Low GO score (or more charitably, high Local Focus score :-)
I'm at 10 minutes now, for a town of <15k. Render time might depend more on total area than number of lines to draw. Update: gave up after 20min. Something might be wrong with the particular city.
> To improve the performance of download, I indexed ~3,000 cities with population larger than 100,000 people and stored into a very simple protobuf format.
I was thinking that this would be a great gift, to print a set of dinner plates with every place that I know the couple lived in. Each plate a different city.
Though I'm a bit worried about paint near food, especially for custom jobs.
[+] [-] semi-extrinsic|1 year ago|reply
IMO, prettymaps is quite a bit better: https://github.com/marceloprates/prettymaps
[+] [-] noiv|1 year ago|reply
[+] [-] Liftyee|1 year ago|reply
[+] [-] unknown|1 year ago|reply
[deleted]
[+] [-] mrbluecoat|1 year ago|reply
[+] [-] Defenestresque|1 year ago|reply
Talk about a true hacker mindset. Great bloody job!
[+] [-] hiatus|1 year ago|reply
[+] [-] stevage|1 year ago|reply
I think a much faster and easier way to implement this would be using existing sources of vector tiles, but scaled down. You could probably even just use Mapbox GL JS, and scale the whole canvas down by a factor of 4 or something, to avoid the issue of small roads not being present at city-scale zoom levels.
[+] [-] thih9|1 year ago|reply
[+] [-] matsemann|1 year ago|reply
[+] [-] walski|1 year ago|reply
[+] [-] walski|1 year ago|reply
[+] [-] pmg101|1 year ago|reply
[+] [-] JSR_FDED|1 year ago|reply
This would be a fun metric to rate someone’s “global orientation”.
Only recognize the cities with >1M people? Low GO score (or more charitably, high Local Focus score :-)
[+] [-] rplnt|1 year ago|reply
[+] [-] crabmusket|1 year ago|reply
[+] [-] lippihom|1 year ago|reply
[+] [-] anvaka|1 year ago|reply
[+] [-] rl_for_energy|1 year ago|reply
[+] [-] latkin|1 year ago|reply
[+] [-] remram|1 year ago|reply
I probably have no chance, living in NYC.
[+] [-] sandworm101|1 year ago|reply
[+] [-] NavinF|1 year ago|reply
[+] [-] peppertree|1 year ago|reply
[+] [-] dudeinjapan|1 year ago|reply
[+] [-] Amorymeltzer|1 year ago|reply
The option to print on a mug with one link is pretty neat! Might actually do that...
[+] [-] HellsMaddy|1 year ago|reply
> To improve the performance of download, I indexed ~3,000 cities with population larger than 100,000 people and stored into a very simple protobuf format.
[0] https://github.com/anvaka/city-roads
[+] [-] robinduckett|1 year ago|reply
[+] [-] okasaki|1 year ago|reply
[+] [-] dotancohen|1 year ago|reply
Though I'm a bit worried about paint near food, especially for custom jobs.
[+] [-] tekno45|1 year ago|reply
But i love the slack in the dragging around the map.
[+] [-] elbac|1 year ago|reply
[+] [-] kayvulpe|1 year ago|reply