Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Housenumbers containing a dash are not found #5272

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments
Closed

Housenumbers containing a dash are not found #5272

openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments

Comments

@openstreetmap-trac
Copy link

Reporter: richardbrinkman
[Submitted to the original trac issue database at 1.35am, Monday, 2nd February 2015]

A housenumber in OSM may contain letters, dashes or other characters (source: [http://wiki.openstreetmap.org/wiki/Key:addr:housenumber]). However Nominatim cannot always find address nodes containing a dash.

It will not find "Goedestraat 41-BS, Utrecht", although this node does exist: http://www.openstreetmap.org/node/2679526109

It seems like it cannot find such addresses if the part after the dash are letters; if it contains another number it will find the address. For example "S.L. Louwesstraat 2-37, Enschede" correctly resolves to [http://www.openstreetmap.org/node/2744509276].

Both addresses should be treated the same way: "building# dash appartment#"

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 9.37am, Wednesday, 4th February 2015]

This is not directly related to the dash. The address is found when the query is [http://nominatim.openstreetmap.org/search.php?q=41-BS%2C+Goedestraat%2C+utrecht 41-BS, Goedestraat, Utreecht].

The searches with a search group are ordered badly. The ones with the fewest search terms should come first, they seem to be last right now.

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 10.12am, Wednesday, 4th February 2015]

Also it looks like the preference of having countries at the end of the search term does no longer work correctly. Most probably a regression from [changeset:e16fcf8/nominatim].

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 8.02pm, Wednesday, 4th February 2015]

Fixed the regression with country names which fixes the issue with this address.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant