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

Geocoding error when passing house number and country #5283

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

Geocoding error when passing house number and country #5283

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: ggrimbert[at]kimoce.com
[Submitted to the original trac issue database at 10.40pm, Sunday, 22nd February 2015]

Hi,

A bug appears when calling nominatim and passing house number and country parameters at the same time

for example :
http://nominatim.openstreetmap.org/search?format=xml&q=66%2Cavenue+kennedy+%2CMULHOUSE+&polygon=1&addressdetails=1& works

http://nominatim.openstreetmap.org/search?format=xml&q=avenue+kennedy+%2CMULHOUSE+France+&polygon=1&addressdetails=1& works

but http://nominatim.openstreetmap.org/search?format=xml&q=66%2Cavenue+kennedy+%2CMULHOUSE+France+&polygon=1&addressdetails=1& fails, either if the query string is valid

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 8.17pm, Thursday, 26th February 2015]

This is another case of difficulties in substring matching as described in #3733. Matching avenue Kennedy against the street with the full name is not favoured enough against all the other possible interpretations of the search string. Adding France in this case simply increases the number of variations to a point where the right interpretation of the search string is dropped.

Closing in favour of #3733.

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