Opened 5 years ago

Closed 2 years ago

#5178 closed defect (fixed)

No search result for full address with zipcode

Reported by: tbsprs Owned by: geocoding@…
Priority: minor Milestone:
Component: nominatim Version:
Keywords: addr:postcode, address, zipcode Cc:

Description

Nominatim is not returning a result for the following address: "Bernauer Straße 6, 16321 Rüdnitz". The address of the house is added in OpenStreetMaps? [1]. When I omit the zipcode as in "Bernauer Straße 6, Rüdnitz" a search result is returned for some reason.

[1] http://nominatim.openstreetmap.org/details?osmtype=W&osmid=284062292

Change History (10)

comment:1 Changed 5 years ago by tbsprs

Summary: No search result for full addressNo search result for full address with zipcode

comment:2 Changed 5 years ago by Sarah Hoffmann

There is a known issue where postcodes that are tagged on buildings and pois are not updated in the search index. They are only shown in the displayed address.

comment:3 in reply to:  2 Changed 5 years ago by tbsprs

@lonvia Can you please link the known issue here?

comment:4 Changed 5 years ago by Sarah Hoffmann

There is no specific issue to link to. The overall issue is that updates of post codes are currently not supported. It's one of the three big TODOs for Nominatim development.

comment:5 Changed 5 years ago by tbsprs

Nominatim does also not return a search result for the following addresses:

I added the specific addresses to houses in these villages. After a day they appeared on OSM. Is this because the search index for buildings is not updated? What can I do about it?

Last edited 5 years ago by tbsprs (previous) (diff)

comment:6 Changed 5 years ago by Sarah Hoffmann

Please, don't reuse bug reports. If you find new problems open new bug reports. Also, link to the expected results, it makes it easier to follow.

This has nothing to do with the index update (which normally is only a few minutes behind the OSM database), they are both data problems.

Nannebach 9 is not a street address, it's a numbered house in a village, so use addr:place=Nannebach instead of addr:street.

The Möthlower Hauptstrasse goes through two villages. Nominatim can only pick one of them (which is a known problem). In this specific case, it looks very much like the street changes its name on the village boundary, so the OSM way has to be split there anyway, which fixes the issue here.

Last edited 5 years ago by Sarah Hoffmann (previous) (diff)

comment:7 Changed 5 years ago by tbsprs

I started with a new ticket but I thought this would be the right way. Next time I will do so. Sorry.

I added addr:place to the house in Nannenbach. I hope this is correct.

Can you please describe how to split the street or point me to an online resource which describes it? I never did that (OSM editing noob).

comment:8 Changed 5 years ago by Sarah Hoffmann

You should remove addr:street for the Nannenbach address.

For splitting: you can find a 'split line' function (the scissors) in ID when you click on a point on an existing way.

comment:9 Changed 5 years ago by tbsprs

@lonvia That looks very promising. I made the edits and now the search results appear. Thank you for your very helpful support! I guess the ticket can be closed now (once again) - I am not sure if this is my job?

Last edited 5 years ago by tbsprs (previous) (diff)

comment:10 Changed 2 years ago by Sarah Hoffmann

Resolution: fixed
Status: newclosed

This has been fixed a long while ago. See #2497 for details.

Note: See TracTickets for help on using tickets.