openstreetmap / trac-tickets

Archived Trac Tickets
1 stars 1 forks source link

Ontario Die is in many search results. #4595

Open openstreetmap-trac opened 3 years ago

openstreetmap-trac commented 3 years ago

Reporter: rw__ [Submitted to the original trac issue database at 12.00pm, Wednesday, 26th September 2012]

search results for many places in Ontario would return as something like

POI "is in Oxford County, Ontario Die, Ontario, Canada"

Where all is correct but for the Ontario Die portion. Ontario Die is a small POI in Waterloo Ontario, and would rarely be expected as a point of reference or nearby landmark.

the old Ontario Die way[1] has been replaced and the anomaly in search results appears to be gone.

reported with thanks to user andrewpmk

[1] http://www.openstreetmap.org/browse/way/156419723

openstreetmap-trac commented 3 years ago

Author: lonvia [Added to the original trac issue at 8.05pm, Wednesday, 26th September 2012]

The culprit is the is_in tag. All those objects that end up in Ontario Die have 'Ontario' in their is_in tag. Nominatim happens to match up the wrong 'Ontario' because a partial match is sufficient for is_in.