City Roads: A tool to draw all roads in a city at once
anvaka.github.io
anvaka.github.io
IMO, prettymaps is quite a bit better: https://github.com/marceloprates/prettymaps
Talk about a true hacker mindset. Great bloody job!
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.
Pedantically, in this case, it isn't personal use either (the site is using the produced image to offer a mug for sale).
Note that this isn't necessarily an endorsement of those terms.
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 :-)
https://www.sporcle.com/games/g/populouscities
https://www.sporcle.com/games/Wrightboy05/50-biggest-cities-...
https://www.sporcle.com/games/Wrightboy05/100-biggest-cities...
https://www.sporcle.com/games/eliasostnas/top-100-most-popul...
https://www.sporcle.com/games/MapleLeaf/world200
https://www.sporcle.com/games/vanderbizzle2014/300-largest-c...
I probably have no chance, living in NYC.
> 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. The cities are stored into a cache in this github repositor
The option to print on a mug with one link is pretty neat! Might actually do that...
> 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.
Though I'm a bit worried about paint near food, especially for custom jobs.
But i love the slack in the dragging around the map.
* Footpaths and cycleways and shown as roads but railways are not
But I am a bit confused about the way it’s described. Is it unusual to see all the roads in a city drawn at once? Is the concept of ‘visualizing all the roads in a city’ one that we don’t have a name for? Is the creator from a parallel dimension where they only have tools that let you see one street at a time?
I was thinking that I would query the global database for roads and then take the nodes and their coordinates. Then I would need to convert those coordinates into points on a canvas and draw lines between them.
How would I get the boundaries of a city? Some places I've tried are just a point in osm. Is there some other data source you would use for that?
It is perhaps too much to say, but QGIS is a dead-end for GIS systems in its current form. Russians branched 2.x into something called NextGIS btw.
OSM is for data, the visualisation lib that is easiest to get right is the Leaflet. You can of course also use OpenLayers.
Most layers on this project are perhaps freely available already. If you need to map objects - QGIS is a free tool and there are plenty of segmentation algos. MMQGIS can geocode datapoints scratched from APIfy.
Btw, those who downvoted my comment must be really ignorant about the area of GIS. I find no other explainarion.
I think it was a cool visualization and fun to see. And still, 60 hours of research is more than I would put into it, so even if I technically was able to I would've never gotten around to actually do it. So nice to see something else than what I normally work with, even if it might be trivial in that domain.
Its a bias. And struggling to find truth we should try to eliminate biases, we should first learn to see dem. Downvoting a comment which points out a very apparent bias is indeed just another testament to this ignorance. It is super ignoring to also downvote comment of actual geomatics practitioner and a teacher. It is sad if not else.
The comment had zero judging whether is fair or deserved to get stupid points on some investor news site. I would love to see other aesthetic projects featured. But in all honesty - perhaps a GPT will get it right from the first time.