Opened 5 years ago

Last modified 5 years ago

#4619 new defect

Wrong street name for house number in AssociatedStreet relation

Reported by: g.idema@… Owned by: geocoding@…
Priority: minor Milestone: Wishlist
Component: nominatim Version:
Keywords: Cc:

Description

When I search for "Reinier Roeststraat 6, Leusden" I get 2 results.
The first result is the one I'm looking for. The second is a different house with house number 6 in the nearby "Kees van Burgstedenstraat" street.
Strangely enough the second result is being reported as "Reinier Roeststraat 6" in stead of "Kees van Burgstedenstraat 6", even though it is in an associatedstreet relation with name "Kees van Burgstedenstraat".

Change History (6)

comment:1 Changed 5 years ago by lonvia

This is an issue with the update process that did not update the house's address after you added the missing street member to the associatedStreet relation. The address will get corrected the next time the house is reindexed (e.g. because it is changed).

A proper mechanism for propagating associatedStreet updates would be nice but I'm not sure it can be done as long as the associatedStreet relations are only saved in the slim tables.

comment:2 Changed 5 years ago by g.idema@…

Thanks for quick response. I'll change the house and see what happens to the search results.

comment:3 follow-up: Changed 5 years ago by lonvia

Working around Nominatim bugs this way might get you into trouble with your fellow mappers. I've invalidated the area now. Street should be correct for the houses around Reinier Roeststraat.

comment:4 in reply to: ↑ 3 Changed 5 years ago by g.idema@…

Replying to lonvia:

Working around Nominatim bugs this way might get you into trouble with your fellow mappers. I've invalidated the area now. Street should be correct for the houses around Reinier Roeststraat.

Thanks for invalidating this area. The street is correct now.
Is there a way to prevent this in the future? Do you recommend adding addr:street tags as well? Were working on a procedure for semi-automatically importing (mostly updating) buildings using data from a government provided database. We're using .osm files in Josm to accomplish this.

Gertjan Idema

comment:5 Changed 5 years ago by lonvia

Nominatim would be perfectly happy if you added only addr:street tags and got rid of the associatedStreet relations. The relations mostly don't carry any additional information and are a bit of a pain to handle. addr:street is much better supported.

I don't recommend adding both, chances are good that your data will sooner or later be inconsistent.

comment:6 Changed 5 years ago by lonvia

  • Summary changed from Alternate search result in Nominatim reports wrong streetname. to Wrong street name for house number in AssociatedStreet relation

see also #4810

Note: See TracTickets for help on using tickets.