-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overpass vs. Nominatim - different results #714
Comments
The OSM API indicates that the relation with ID 305138 seems to lack the
EDIT: As I see it, Nominatim might have automatically added the missing OSM tags from 'Linked Places'.
|
Yes, Nominatim tries to link up administrative boundaries to an appropriate place node and then mixes in the name tags from the place into the response. The linking is somewhat involved. If you want to do it in Overpass, the best strategy is to look for a node with a place tag and the same wikidata tag. No idea if that is possible with OverpassQL. You can also use Nominatim's lookup endpoint to retrieve the extended information given an OSM relation ID. Use |
If you're lucky and the place node is a relation member, the query is pretty fast:
Checking all place/wikidata nodes is much slower:
Since Overpass returns the original OSM objects, you need to merge relation / node tags locally in a post-processing step. |
Hello,
I’ve noticed that when I use this Overpass query (here’s the link: overpass turbo), which relates to tags for the country of Oman, it seems to return a complete list of tags.
[out:json];
relation(305138);
out tags;
However, when I perform a similar query on Nominatim, I get many more tags.
Nominatim Demo
For instance, it appears to be missing what seems like a key tag, “official_name:en” which is present on Nominatim but not on Overpass.
The text was updated successfully, but these errors were encountered: