3 ms·
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 lis
by crazygringo 7y ago
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 https://en.wikipedia.org/wiki/New_Hartford
- anvaka 7y agoThank you! I checked here https://nominatim.openstreetmap.org/search.php?q=New+Hartford&polygon_geojson=1&viewbox= 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 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 having a city boundaries, sorry about that.
- crazygringo 7y agoAh 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?)
- DuskStar 7y agoIt's not just small cities that counties are useful for - Los Angeles (the city) is really fragmented, snaky thing while Los Angeles (the county) is actually geographically coherent.
- GordonS 7y agoI tried Inverness, but strangely it only found those in the new world, not the original in Scotland.
- KuiN 7y agoSeems to be struggling with some of the nations in the UK. I can get London (England) and Swansea (Wales) no problem, but Edinburgh, Dundee, Glasgow (Scotland) etc. don't work. Nor do Derry, Belfast etc. (Northern Irish cities).
- leoedin 7y agoThe data is coming from https://nominatim.openstreetmap.org/search?format=json https://nominatim.openstreetmap.org/search?format=json, and it appears that it doesn't do any keyword searching - so if you type "edinburgh" it only finds regions which start with edinburgh. Typing "City of edinburgh" will find the correct council region. https://anvaka.github.io/city-roads/?q=city%20of%20edinburgh&areaId=3601920901 https://anvaka.github.io/city-roads/?q=city%20of%20edinburgh...