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 aseerel4c26 ♦ |
details.php from nominatim seems to have code doing this:
http://nominatim.openstreetmap.org/details.php?place_id=158768940
(The "Address" section lists several Paris entries mapping to different OSM objects)