<div dir="ltr"><div>I had the same result when I used 3.4.2, 3.5.2 and the master version. That's why I thought the problem was in data.<br></div><div>We run nominatim in container environment, so we are using this configuration (without any changes) - <a href="https://github.com/mediagis/nominatim-docker/tree/master/3.5">https://github.com/mediagis/nominatim-docker/tree/master/3.5</a></div><div>You can find local.php file here - <a href="https://github.com/mediagis/nominatim-docker/blob/master/3.5/local.php">https://github.com/mediagis/nominatim-docker/blob/master/3.5/local.php</a></div><div>That postgres and postgis packages are installed (in Dockerfile) - postgresql-server-dev-12 postgresql-12-postgis-3 postgresql-contrib postgresql-12-postgis-3-scripts \ </div><div><br></div><div>I've pulled docker image based on nominatim master version that we are using now to Docker Hub registry - <a href="https://hub.docker.com/repository/docker/bartoliniii/nominatim">https://hub.docker.com/repository/docker/bartoliniii/nominatim</a><br><br>Tu run import we run the following sequence of commands:</div><div><font color="#999999">apt-get -y update -qq<br>apt-get install -y wget<br>wget -q <a href="https://www.nominatim.org/data/wikipedia_article.sql.bin">https://www.nominatim.org/data/wikipedia_article.sql.bin</a> -O /app/src/data/wikipedia_article.sql.bin<br>wget -q <a href="https://www.nominatim.org/data/wikipedia_redirect.sql.bin">https://www.nominatim.org/data/wikipedia_redirect.sql.bin</a> -O /app/src/data/wikipedia_redirect.sql.bin<br>rm -rf /data/nominatim/postgresdata_updated2 && chmod u+x /app/init.sh <br>/app/init.sh /data-osm/osm-pbf/poland-latest.osm.pbf nominatim/postgresdata 12</font><br></div><div><br></div><div> </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">śr., 28 paź 2020 o 15:50 Sarah Hoffmann <<a href="mailto:lonvia@denofr.de">lonvia@denofr.de</a>> napisał(a):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Oct 28, 2020 at 02:51:43PM +0100, Bartosz Kwapisz wrote:<br>
> > You cannot expect the same results for your installation<br>
> > as on the nominatim.openstreetmap website. The OSM server runs<br>
> > always the latest version of Nominatim together with continuous<br>
> > data update. That means that the data you see is indexed with<br>
> > the Nominatim version that was current at the time it was last<br>
> > touched.<br>
> ><br>
> Yes of course, but I tried to use different data sources of pbf files and<br>
> the result is still the same.<br>
> Is there any way to use exactly the same data source (pbf) as is used by an<br>
> official site?<br>
> Do you know what data is used by official nominatim?<br>
<br>
You are using exactly the same data. It's all OSM. That is not the issue here.<br>
The problem is that the data was imported in a slightly different way<br>
(partially via updates) and with many different versions of the software.<br>
There is absolutely no way that you can create an installation that<br>
has exactly the same state as <a href="http://nominatim.openstreetmap.org" rel="noreferrer" target="_blank">nominatim.openstreetmap.org</a>.<br>
<br>
> > Yes I have 'Słowik' in the database with the same osm_id.<br>
> As I mentioned before - there are more villages with the same problem.<br>
> That's why I assume that there has to be a configuration/data source<br>
> problem.<br>
> <br>
> Here is a link to Słownik entry -<br>
> <a href="https://nominatim.openstreetmap.org/ui/details.html?osmtype=N&osmid=31879464&class=place" rel="noreferrer" target="_blank">https://nominatim.openstreetmap.org/ui/details.html?osmtype=N&osmid=31879464&class=place</a><br>
> And local one - <a href="https://nazwa.takeanddrive.eu/tmp/nominatim_local_slowik.png" rel="noreferrer" target="_blank">https://nazwa.takeanddrive.eu/tmp/nominatim_local_slowik.png</a><br>
<br>
I've just downloaded today's Geofabrik extract of Lodz and imported it<br>
into Nominatim using 3.5.2 and the latest master version and I get for both:<br>
<br>
"Kręta, Słowik, gmina Zgierz, Zgierz County, Łódź Voivodeship, 95-100, Poland" <br>
<br>
I have not tried 3.4.2 which you mentioned in the issue tracker.<br>
<br>
There must be something unusual with your installation. What guide did<br>
you follow to set up the database? What OS, Postgresql and Postgis version<br>
do you run? What are your special settings in settings/local.php?<br>
<br>
Sarah<br>
</blockquote></div>