[GIS] Different searching results in local Nominatim and openstreetmap.org

geocodingnominatimopenstreetmap

I've just installed Nominatim using this guide. I've successfully import fresh osm.bz2 file with data for Saint-Petersburg, Russia into my postgresql database.

Nominatim search script works, but it shows another results, than openstreetmap.org and unfortunately can't find addresses with house numbers. For example, I try to find "60, Невский проспект". Openstreetmap.org works fine and finds a needful house, but local Nominatim finds only street with the same address, without house number.

So, what is the matter of such behaviour and how to aim the same search results as openstreetmap.org? Any ideas?

Best Answer

It says here that the adress is calculate using a combination of admin boundaries, is_in tags and place features. For building level features addresses are calculated using the address of the most suitable street.

Also it says here that nominatim does not process addr:* tags on buildings.

The main OSM site also uses geonames database in searching, so it may have different results.

Related Question