I just used OSM to search for the lat long: 37.724917, -121.541556 However, the full address it returned didn't have the city (Tracy) in it. How can I get the city? asked 10 Apr '15, 04:57 Franco L aseerel4c26 ♦ |
I assume this is because Tracy is mapped as a node To fix this it has to be mapped as a boundary relation. Similar questions have been asked in the past so you can search here, or maybe someone else will do it for you. (I'm too lazy to do it) answered 10 Apr '15, 06:28 escada 2
Although you should leave the node in place and include it in the boundary relation. It is helpful when someone wants to just navigate to the city if the node is place in the town centre.
(10 Apr '15, 14:25)
trigpoint
1
@Franco L: for positions closer to the city centre Tracy is returned (you can test with "Where am I?"). I guess that position is too far away from the city centre to guess that it also belongs to the city. We often have the opposite problem, that Nominatim searches for the closest town, finds a node and uses it, although a particular place does not belong to this town. E.g. reverse-geocoding-picks-up-a-distant-housing-estate . Update: not really... I found the boundary relation …
(25 Apr '15, 12:45)
aseerel4c26 ♦
|
See https://www.openstreetmap.org/relation/112385?mlat=37.724917&mlon=-121.541556 your position (marker) is outside the boundary of Tracy. answered 25 Apr '15, 12:52 aseerel4c26 ♦ 1
note: I have only added the node to the boundary relation and set outer roles and fixed the wikipedia tags – it was existing before.
(25 Apr '15, 13:02)
aseerel4c26 ♦
Thanks for the help!
(25 Apr '15, 18:40)
Franco L
|
convenience link: https://www.openstreetmap.org/search?query=37.724917%2C+-121.541556 (I assume you mean this search by "used OSM to search")