[Geocoding] Different result in local nominatim instance and official instance

Sarah Hoffmann lonvia at denofr.de
Wed Oct 28 14:50:01 UTC 2020


On Wed, Oct 28, 2020 at 02:51:43PM +0100, Bartosz Kwapisz wrote:
> > You cannot expect the same results for your installation
> > as on the nominatim.openstreetmap website. The OSM server runs
> > always the latest version of Nominatim together with continuous
> > data update. That means that the data you see is indexed with
> > the Nominatim version that was current at the time it was last
> > touched.
> >
> Yes of course, but I tried to use different data sources of pbf files and
> the result is still the same.
> Is there any way to use exactly the same data source (pbf) as is used by an
> official site?
> Do you know what data is used by official nominatim?

You are using exactly the same data. It's all OSM. That is not the issue here.
The problem is that the data was imported in a slightly different way
(partially via updates) and with many different versions of the software.
There is absolutely no way that you can create an installation that
has exactly the same state as nominatim.openstreetmap.org.

> > Yes I have 'Słowik' in the database with the same osm_id.
> As I mentioned before - there are more villages with the same problem.
> That's why I assume that there has to be a configuration/data source
> problem.
> 
> Here is a link to Słownik entry -
> https://nominatim.openstreetmap.org/ui/details.html?osmtype=N&osmid=31879464&class=place
> And local one - https://nazwa.takeanddrive.eu/tmp/nominatim_local_slowik.png

I've just downloaded today's Geofabrik extract of Lodz and imported it
into Nominatim using 3.5.2 and the latest master version and I get for both:

"Kręta, Słowik, gmina Zgierz, Zgierz County, Łódź Voivodeship, 95-100, Poland" 

I have not tried 3.4.2 which you mentioned in the issue tracker.

There must be something unusual with your installation. What guide did
you follow to set up the database? What OS, Postgresql and Postgis version
do you run? What are your special settings in settings/local.php?

Sarah



More information about the Geocoding mailing list