Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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?

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". –  Vitaly Mar 15 '12 at 10:32
2  
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

1 Answer 1

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

 
discard

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.