Live data from Hacker News

City Roads – Draw all roads in a city at once

anvaka.github.io

71–80 of 145 posts

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

#72
post #66

I love how elegant it is! Unfortunately it can't seem to find most cities I try. Just one example, typing "New Hartford" only finds one in Iowa, instead of listing all of them [1]. Most other medium-sized towns I tried show no results at all. I'd also love it if there were a way to export as SVG's -- these seem like they would make amazing posters to frame. [1] https://en.wikipedia.org/wiki/New_Hartford

Thank you! I checked here https://nominatim.openstreetmap.org/search.php?q=New+Hartfor... - looks like all other `New Hartford` have type "node" in the database, which doesn't give boundaries of the cities. We are thinking about fallback here: https://github.com/anvaka/city-roads/issues/7 but what might work better in short term: try entering a county name, and then zoom in onto the place. It is not as convenient as…

Ah the counties work great! Never even would have occurred to me. And honestly, for many medium-sized towns, the county is more intuitive boundary anyways.

Since it's not clear you could search by county, may I suggest including that as a tip or something? Otherwise it gives the impression the site is broken somehow.

Or if it's possible, to find the smallest containing item that does have boundaries, whatever it is. (I don't know if OSM supports that performantly?)

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

#73
post #33

It's definitely missing a lot of roads in my city. Compare it's view to Beaverton, Oregon: https://anvaka.github.io/city-roads/?q=Beaverton%2C%20OR&are... With the Google Maps view: https://www.google.com/maps/@45.5029349,-122.8365195,13.75z It's like most of the Cedar Hills neighborhood doesn't exist. It also drew a line for a power line where there is no road.

OpenStreetMap's definition of Beaverton is quite complicated: https://www.openstreetmap.org/relation/423111 It includes several cut-outs for neighborhoods (including Cedar Hills) and other features. I'd guess that the OSM mappers were trying to represent a particular legal definition of the Beaverton city limits. How accurate it is, I wouldn't know. Perhaps in situations like this, "City Roads" might consider ignorin…

There's definitely a little bit of fuckery regarding Beaverton's borders.

My mailing address is in Beaverton, but OSM thinks it's Aloha. My zip code according to the post office is 97003, but some map software rejects it as non-existent, or forces a change to 97006.

OSM's Portland borders also definitely don't match what mailing addresses are there. I used to live in apartments off of NW 185th near US-26, which most people would call Beaverton, but my mailing address was Portland, but I was at least 4 miles from anywhere people would actually call Portland.

I wonder how common these confusing city limits are in other metro areas.

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

#74
post #37

Earlier quoted context omitted.

Do you remember the site that was submitted?

Peak map: Visualize the elevation of any area using a ridgeline chart https://news.ycombinator.com/item?id=21968874

Bonus points if you let me add UTM or Lat+Long coordinates to have marks appear for the peaks I've bagged on the peak map. Then I can buy a mug or print a poster that lists all the peaks I've bagged or intend to bag.

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

#75
I did my city. Lots of streets (that are decades old) are not on there, including the street that my house is on (which has been there since at least 1970). Other streets cut out and then pick back up a half mile or so later. What happened to the road in between those two points?

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

#76
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

Well done. If possible, can you add functionality for:

- Pre-saved color swatches to cycle through, like those at color.adobe.com/trends

- Custom cell phone cases. A bunch like casetify offer affiliate revenue.

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

#77
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

Tokyo (massive map) seems a bit buggy, and there's several distinct groups of roads loading. Awesome tool nonetheless!

It seems they're islands that are also part of Tokyo. From[1]:

> Also within the administrative boundaries of Tokyo Metropolis are two island chains in the Pacific Ocean directly south: the Izu Islands, and the Ogasawara Islands

[1] https://en.wikipedia.org/wiki/Tokyo

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

#78
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

I like the minimalism of it. That said, I'd be happy if you exposed road segment classes (I believe OSM maps have that) for styling to give main streets or highways a bolder tone.

Kudos :)

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

#79

I love how elegant it is! Unfortunately it can't seem to find most cities I try. Just one example, typing "New Hartford" only finds one in Iowa, instead of listing all of them [1]. Most other medium-sized towns I tried show no results at all. I'd also love it if there were a way to export as SVG's -- these seem like they would make amazing posters to frame. [1] https://en.wikipedia.org/wiki/New_Hartford

I tried Inverness, but strangely it only found those in the new world, not the original in Scotland.

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

#80

It's definitely missing a lot of roads in my city. Compare it's view to Beaverton, Oregon: https://anvaka.github.io/city-roads/?q=Beaverton%2C%20OR&are... With the Google Maps view: https://www.google.com/maps/@45.5029349,-122.8365195,13.75z It's like most of the Cedar Hills neighborhood doesn't exist. It also drew a line for a power line where there is no road.

The ZIP Code 97003 took effect on 2014-07-01, when the ZIP Code 97006 was split [2].

ZIP Codes are not geographical entities and don't correspond to geographical extent; rather, they are a hybrid between a discrete number of finite delivery-points and an abstract way of capturing a postal delivery route. They are often abused as geographical entities, which the Census Bureau has tried to rectify with ZCTAs [1], but it's unclear whether most informal use of ZIP Codes is haphazard, or actually conforms to ZCTAs.

However, ZIP Codes directly map to one preferred place name designated by the USPS, and zero or more acceptable alternative place names. These are usually inspired by, but don't necessarily correspond to municipalities and political units that the lots in question belong under.

For both 97003 and 97006, the USPS recommended place name is "BEAVERTON", and other acceptable names are "ALOHA" and "HILLSBORO".

Beaverton's city limits are complicated [3][4]. The city has a map of annexations as well [5]. Cedar Hill was once supposed to be annexed. A court case about the proposed annexation of the Nike HQ resulted in these plans being put on hold [6].

[1] https://www.census.gov/geo/reference/zctas.html [2] https://about.usps.com/news/state-releases/or/2014/or_2014_0... [3] https://www.beavertonoregon.gov/DocumentCenter/View/9005/Cit... [4] https://www.beavertonoregon.gov/DocumentCenter/View/5554/Bea... [5] https://www.beavertonoregon.gov/DocumentCenter/View/843/Anne... [6] https://www.oregonlive.com/oregonianextra/2006/06/appellate_...

Post reply on HN