NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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%20L's gravatar image

Franco L
accept rate: 0%

edited 25 Apr '15, 12:36

aseerel4c26's gravatar image

aseerel4c26 ♦

convenience link: (I assume you mean this search by "used OSM to search")

(25 Apr '15, 12:37) 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)

permanent link

answered 10 Apr '15, 06:28

escada's gravatar image

accept rate: 21%


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

@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 your position (marker) is outside the boundary of Tracy.

permanent link

answered 25 Apr '15, 12:52

aseerel4c26's gravatar image

aseerel4c26 ♦
accept rate: 18%


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

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 10 Apr '15, 04:57

question was seen: 3,631 times

last updated: 25 Apr '15, 18:40

NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum