Live data from Hacker News

City Roads – Draw all roads in a city at once

anvaka.github.io

141–145 of 145 posts

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

#141

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...

You should be able to enter counties - it may take a bit longer to download all the roads, sometimes it may take a while to download though and timeout...

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

#143
post #138

Really great idea and nicely made! Congratulations! I'm considering making a poster out of it, with our home town. I think my wife would love to have it. Seeing it on the wall would probably make us less home-sick. How complicated would it be to add the option of highlighting one or two streets? Something like, make the street line thicker or change its color.

Thank you! I've added a way to export maps to SVG file, which can be edited by an SVG editor, those editors also usually support adjusting thickness and changing colors of the roads. Would this work?

I was thinking about it. I saw, after I commented that you added an SVG export, but did not have time play with it. I'll definitely have a look. Thank you!

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

#144
post #71
post #45

I see an empty page when I enter my city (after it downloads it, I disabled uBlock but that didn't change anything) :(

Interesting! What's the city name?

Well, any city actually. I tried Warsaw, Berlin, New York.

I tried disabling ublock but with no changes.

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

#145
post #21

Neat, but this does not seem to be all roads, it seems to be everything tagged highway=*. Specifically, non-motorized walking/biking paths and mountain bike trails (highway=path) are rendered. Ref: https://anvaka.github.io/city-roads/?q=Marquette%2C%20MI&are...

In my case, I noticed many driveways were rendered when I did my town.

Yep! That's because those too are highways.

See this for reference: https://wiki.openstreetmap.org/wiki/Key:highway

I believe a driveway would be highway=service.

Post reply on HN