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

Sarah Hoffmann lonvia at denofr.de
Thu Oct 29 11:06:48 UTC 2020


On Wed, Oct 28, 2020 at 04:21:52PM +0100, Bartosz Kwapisz wrote:
> 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.
> We run nominatim in container environment, so we are using this
> configuration (without any changes) -
> https://github.com/mediagis/nominatim-docker/tree/master/3.5
> You can find local.php file here -
> https://github.com/mediagis/nominatim-docker/blob/master/3.5/local.php
> That postgres and postgis packages are installed (in Dockerfile) -
> postgresql-server-dev-12 postgresql-12-postgis-3 postgresql-contrib
> postgresql-12-postgis-3-scripts \

This doesn't look very unusual. The only thing I could think off is
that you might accidentaly be using the wrong database due to the
fact how the import works. But I'm sure you have checked that.

> I've pulled docker image based on nominatim master version that we are
> using now to Docker Hub registry -
> https://hub.docker.com/repository/docker/bartoliniii/nominatim
> 
> Tu run import we run the following sequence of commands:
> apt-get -y update -qq
> apt-get install -y wget
> wget -q https://www.nominatim.org/data/wikipedia_article.sql.bin -O
> /app/src/data/wikipedia_article.sql.bin
> wget -q https://www.nominatim.org/data/wikipedia_redirect.sql.bin -O
> /app/src/data/wikipedia_redirect.sql.bin
> rm -rf /data/nominatim/postgresdata_updated2 && chmod u+x /app/init.sh
> /app/init.sh /data-osm/osm-pbf/poland-latest.osm.pbf nominatim/postgresdata
> 12

These are the wrong wikipedia files for a 3.5+ version. See
https://nominatim.org/release-docs/latest/admin/Import/#wikipediawikidata-rankings

But that's just a note on the side. The wikipedia rankings have no
influence whatsoever on the formation of the address.

I honestly don't have any further ideas where your villages might
have gotten lost.

Sarah



More information about the Geocoding mailing list