Replies: 2 comments 1 reply
-
The HTML output is easier to read:
I'm not sure I understand the second question. When a relation and a node represent the same place then Nominatim merges the together internally. For example city of Rabat is https://www.openstreetmap.org/relation/2799215 and https://www.openstreetmap.org/node/299120862 Here Nominatim created https://nominatim.openstreetmap.org/ui/details.html?osmtype=R&osmid=2799215&class=boundary which has tags from both. It has the
|
Beta Was this translation helpful? Give feedback.
-
Thank you, I send priv msg to author of this change: https://www.openstreetmap.org/relation/2799211/history Now, lets come back to second question: Let's phrase the question differently, more generally: I intend to periodically query Nominatim for various places, including the cities/states/countries associated with them. This will result in many requests, so I am considering setting up my own server. Here's the question: do you see a possibility to automatically detect and correct errors similar to the one mentioned above on the fly, so as to obtain, despite the error, the city of Rabat for the above-mentioned hotel? If this possibility requires code modification, that's fine with me. |
Beta Was this translation helpful? Give feedback.
-
Hello, I have question: why in this query, for hotel in Rabat, city is marked as isaddress=false for city relation ?
API link: https://nominatim.openstreetmap.org/details.php?osmtype=N&osmid=2430191199&class=tourism&addressdetails=1&hierarchy=0&group_hierarchy=1&format=json
Nominatim link: https://nominatim.openstreetmap.org/ui/details.html?osmtype=N&osmid=2430191199&class=tourism
Is it bug ?
Second question, can I somehow get in this query https://nominatim.openstreetmap.org/details.php?osmtype=N&osmid=2430191199&class=tourism&addressdetails=1&hierarchy=0&group_hierarchy=1&format=json
not only chain of relation but also connected to relation places ?
Beta Was this translation helpful? Give feedback.
All reactions