Opened 7 years ago

Closed 7 years ago

#4811 closed defect (invalid)

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

Reported by: Francescu Garoby Owned by: geocoding@…
Priority: minor Milestone:
Component: nominatim Version:
Keywords: Cc:


If I search "rue Eugène 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.

Change History (1)

comment:1 Changed 7 years ago by Sarah Hoffmann

Resolution: invalid
Status: newclosed

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 Caen to the arrondissement instead of the city, which is why it prioritized the county. I've just added a wikipedia tag to the city relation and now the order of streets appears as expected.

Note: See TracTickets for help on using tickets.