This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Local Nominatim Server Less Accurate Than OpenStreetMaps API?

0

My local server doesn't return results for an address as simple as "Dalgety Bay, GB", whereas the OpenStreetMaps API is able to pick that up. It can read "Dalgety Bay, UK", however. I've imported the entire planet data, tuned the database, employed all the strategies from the Installation Guide. Any guidance here would be appreciated.

asked 19 Sep '20, 22:57

rirhun's gravatar image

rirhun
26559
accept rate: 0%

Not resolved. But ignored for now.

(21 Sep '20, 17:52) rirhun

One Answer:

1

GB is one of the country codes. They are normally added to the word list together with all the other default country names when running: ./utils/setup.php --create-country-names

Normally the command is run as part of the import process. However, given that you restarted the indexing process, you probably accidentally skipped it. Just rerun the command. There is no harm in running it multiple times on the database.

answered 22 Sep '20, 20:09

lonvia's gravatar image

lonvia
6.2k25789
accept rate: 40%

Source code available on GitHub .