Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#4877 closed defect (fixed)

Building attached to nameless street cannot be found by address

Reported by: Dmitriy.Ovdienko@… Owned by: geocoding@…
Priority: minor Milestone:
Component: nominatim Version:
Keywords: Cc:

Description

I type "EPAM" in the search box on the osm.org and press Return button.

I expect to see: EPAM Systems, 14б, Kudriashova Street, Solomianka, Solomianskyi district, Kyiv, 01032, Ukraine

In fact search returns: EPAM Systems, 14б, Solomianka, Solomianskyi district, Kyiv, 01032, Ukraine.

"Kudriashova Street" is missed.

Also Search cannot find this building if you type "EPAM, Ukraine" or "EPAM, Kyiv"

Change History (6)

comment:1 Changed 6 years ago by Sarah Hoffmann

Summary: Search does not return street name in case of searching by building nameBuilding attached to nameless street cannot be found by address

You can fix the missing street by adding an addr:street tag to your building. See wiki for more information.

The second issue about "EPAM, Ukraine" looks like it needs fixing in Nominatim. The object doesn't have address tokens in the search index, presumably because it is attached to a nameless street. I've taken the liberty to change the title of the bug report accordingly.

comment:2 Changed 6 years ago by Dmitriy.Ovdienko@…

lonvia, thank you for reply.

This building is attached to associatedStreet relation. I believe it is bad practice to use addr:street because street name can be changed.

comment:3 Changed 6 years ago by Sarah Hoffmann

Indeed, sorry, I always miss those relations. So what happend is that Nominatim picked the one street from your associatedStreet relation that has no name, this one, and then ran into the bug described above.

Nominatim could probably do better in finding a street with a name in that relation. However, making sure that all streets in the relation are correctly named sounds like good practice, too.

If you change the street now, please be aware that there is a known issue (#4619) with updates of associatedStreet relations, so I doubt Nominatim will pick up the change correctly.

comment:4 Changed 6 years ago by Dmitriy.Ovdienko@…

Now it works!!! Great. BTW, Nominatim can take name of the relation. If it is epmty, then it should take street.

comment:5 Changed 5 years ago by Sarah Hoffmann

Resolution: fixed
Status: newclosed

Fixed in 6a1e599/nominatim.

comment:6 Changed 5 years ago by Dmitriy.Ovdienko@…

Awesome!!! Thanks.

Note: See TracTickets for help on using tickets.