Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 and unfortunately can't find addresses with house numbers. For example, I try to find "60, Невский проспект". 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 Any ideas?

share|improve this question
When you say that you import a fresh osm.bz2 file, are you saying that you downloaded it directly from the XAPI? From cloudmade? Have you tried to unzip the osm.bz2 file (or part of it) and look if the house number is correct on that street? – Délawen Mar 14 '12 at 16:59
I use Extract file from planet.osm. Info about building I see in such format: <tag k="addr:housenumber" v="60"/>. And another one problem: at the end of all addresses I see "United states of America" instead of "Russian Federation". – Vitalii Ivanov Mar 15 '12 at 10:32
You're hitting the border problem when using extracts with geocoding. You'll have to (atleast I did) modify the code and get some polygon defined around the covered area. I've had this with the benelux subset once. I believe the shape files could also help you there. – Glenn Plas Apr 16 '13 at 14:47

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.