osm-search / Nominatim

Open Source search based on OpenStreetMap data
https://nominatim.org
GNU General Public License v3.0
3.21k stars 716 forks source link

Return administrative relation for London, not ceremonial #3140

Closed RedAuburn closed 1 year ago

RedAuburn commented 1 year ago

What did you search for?

https://nominatim.openstreetmap.org/ui/search.html?q=london

What result did you get?

Greater London (ceremonial bounds not including the City of London) https://www.openstreetmap.org/relation/65606 image

What result did you expect?

Greater London (administrative bounds including City of London) https://www.openstreetmap.org/relation/175342 image

Further details

related overpass turbo issue: https://github.com/tyrasd/overpass-turbo/issues/631

mtmail commented 1 year ago

I'd see that as duplicate or comment on https://github.com/osm-search/Nominatim/issues/2911 where a different discussion is linked. There wouldn't be a change for one city, it would need to be country-wide setting.

lonvia commented 1 year ago

Sorry, but this is an unsolvable data problem. Everything in the OSM data tells Nominatim that relation 65606 is meant when searching for 'London'. It has the place=city tag, the link to the London wikipedia page and the exact name you were searching for. Short of adding extra handling precisely for those two relations, there is nothing to be done on the Nominatim side to fix the problem.

You need to get in touch with the British community and have a discussion with them what 'London' means and if the tagging can be changed to conventionally include the City of London under that term.