Why not ask your question on the new OpenStreetMap Community Forum?

For a local installation of the OSM and Nominatim databases, is there a way to get the OSM IDs of the individual address fields returned by a Nominatim query?

For example, when two queries return the same city name, is there a way to determine whether or not this is in fact the same city, rather than two cities with the same name?

An SQL select statement or a short "how to do this in SQL" would be very much appreciated. Thanks.

asked 24 Apr '17, 20:41

maxmeier12's gravatar image

accept rate: 0%

edited 10 Jan '18, 19:48

aseerel4c26's gravatar image

aseerel4c26 ♦

details.php from nominatim seems to have code doing this:


(The "Address" section lists several Paris entries mapping to different OSM objects)

(24 Apr '17, 21:26) maxerickson
Be the first one to answer this question!
toggle preview

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](http://url.com/ "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: 24 Apr '17, 20:41

question was seen: 2,995 times

last updated: 10 Jan '18, 19:48

powered by OSQA