Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

admin_level 7 and 8 not prioritized when they have the same name #4811

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

Comments

@openstreetmap-trac
Copy link

Reporter: windu2b
[Submitted to the original trac issue database at 11.22am, Saturday, 16th March 2013]

If I search "[http://www.openstreetmap.org/?query=rue+Eug%C3%A8ne+boudin,+Caen rue Eugne Boudin, Caen]", first and second results are streets with the same name in other cities that Caen. The good result appears in third position.
In fact, first, second and third results designate 3 cities (admin_level=8) in the same "french county" (admin_level=7), and the good city and the county have the same name : "Caen", but not the same admin_level (8 or 7), but Nominatim cares.

Nominatim should prioritize by the city name before the county name.

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 11.03pm, Monday, 18th March 2013]

If two places have the same name, Nominatim normally uses Wikipedia to figure out which place is more important. You can help it out by explicitly adding a wikipedia tag to boundary relations.

In the case of Caen, it wrongly assigned the Wikipedia page of [http://en.wikipedia.org/wiki/Caen Caen] to the arrondissement instead of the city, which is why it prioritized the county. I've just [http://www.openstreetmap.org/browse/changeset/15414468 added a wikipedia tag] to the city relation and now the order of streets appears as expected.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant