Live data from Hacker News

City Roads – Draw all roads in a city at once

anvaka.github.io

101–110 of 145 posts

Re: City Roads – Draw all roads in a city at once

#101
That's an impressive work! It runs smoothly even for large cities.

I guess you cannot really fix it because it probably comes from the data you are using, but for Tokyo the default zoom is broken because a bunch of unrelated places is also displayed.

Do you think you could also include the railroads/subways? I think here it is a more relevant way of finding your path in the city rather than the roads and the result could be quite interesting.

Re: City Roads – Draw all roads in a city at once

#102
post #20

Hey there, I'm the author of the tool! Just wanted to thank you for the comments, feedback and shares! I 'm very happy! PS: If you liked that project you may find my other stuff interesting: https://twitter.com/search?q=from%3Aanvaka%20min_retweets%3A... - it's just a hobby but I love it :D

What are the copyright terms on these maps? What if someone wanted to use these on custom t-shirts and posters to sell?

Re: City Roads – Draw all roads in a city at once

#103
post #20

Hey there, I'm the author of the tool! Just wanted to thank you for the comments, feedback and shares! I 'm very happy! PS: If you liked that project you may find my other stuff interesting: https://twitter.com/search?q=from%3Aanvaka%20min_retweets%3A... - it's just a hobby but I love it :D

This tool has some insanely good performance -- kudos! What did you build it on?

Thank you!

The rendering is done with WebGL. I wrote a silly 2d renderer to learn more about the platform, and never documented it. Thought it would not be very useful.

Ended up using it in a lot of tiny projects, but didn't have chance to document it yet. Here it is https://github.com/anvaka/w-gl

Re: City Roads – Draw all roads in a city at once

#104
post #102
post #20

Hey there, I'm the author of the tool! Just wanted to thank you for the comments, feedback and shares! I 'm very happy! PS: If you liked that project you may find my other stuff interesting: https://twitter.com/search?q=from%3Aanvaka%20min_retweets%3A... - it's just a hobby but I love it :D

What are the copyright terms on these maps? What if someone wanted to use these on custom t-shirts and posters to sell?

The OSM data license would still apply here, meaning you must attribute them [0].

As for the visuals of this map, chances are the MIT license for the repository applies to it as well [1] [not a lawyer].

0: https://wiki.openstreetmap.org/wiki/Legal_FAQ#3a._I_would_li...

1: https://github.com/anvaka/city-roads/blob/master/LICENSE

Re: City Roads – Draw all roads in a city at once

#105
post #20

Hey there, I'm the author of the tool! Just wanted to thank you for the comments, feedback and shares! I 'm very happy! PS: If you liked that project you may find my other stuff interesting: https://twitter.com/search?q=from%3Aanvaka%20min_retweets%3A... - it's just a hobby but I love it :D

Would love to see a version that renders train/street car tracks

Re: City Roads – Draw all roads in a city at once

#106
post #89
post #20

Hey there, I'm the author of the tool! Just wanted to thank you for the comments, feedback and shares! I 'm very happy! PS: If you liked that project you may find my other stuff interesting: https://twitter.com/search?q=from%3Aanvaka%20min_retweets%3A... - it's just a hobby but I love it :D

Would you happen to support Canberra, Australia? Or is there a way to request a city if it's not listed?

I found this bug too!

Re: City Roads – Draw all roads in a city at once

#107
post #20

Hey there, I'm the author of the tool! Just wanted to thank you for the comments, feedback and shares! I 'm very happy! PS: If you liked that project you may find my other stuff interesting: https://twitter.com/search?q=from%3Aanvaka%20min_retweets%3A... - it's just a hobby but I love it :D

It's interesting to note the size of the download for a city. Guess it's related to the complexity of the road network, not necessarily the number of roads. Interesting to think about the "entropy" of a city's network and compare between cities. For instance, Sydney AU is 25Mb, but NYC is only 11Mb. Even tho population of NYC is ~e x Sydney.

Re: City Roads – Draw all roads in a city at once

#108
post #101

That's an impressive work! It runs smoothly even for large cities. I guess you cannot really fix it because it probably comes from the data you are using, but for Tokyo the default zoom is broken because a bunch of unrelated places is also displayed. Do you think you could also include the railroads/subways? I think here it is a more relevant way of finding your path in the city rather than the roads and the result c…

My first instinction was to look at Tokyo as well, it's impressive to see.

Re: City Roads – Draw all roads in a city at once

#110
Looks great - one observation, when I enter Kansas City I have to choose MO or KS. It would be great to be able to select a county or metro area.

I wonder if something similar was used to create the laser cut wood maps you can find on Etsy[0].

[0] https://www.etsy.com/listing/605571478/kansas-city-wooden-ma...

Post reply on HN