-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing address results in autocomplete api #155
Comments
From my experience it's very uncommon for users to search for only a street with a postcode. I think a nice solution here would be to de-prioritise This might require a new 'solver' similar to |
I think that may exist other problem |
Thanks for the bug report @pcampospaulo, the fix has been merged but will require also merging pelias/api#1581 before it is available. |
Unfortunately the parser new commit alone will not fix this issue in The house number In order to resolve the issue you can either add the missing house number to OpenStreetMap (which can be time consuming when adding them one-by-one) or find a new official source of addresses and submit it to the OpenAddresses project. |
Thanks for the fast response and parser fix. To fix issues like this I tried to import CSV data, but autocomplete was not working: id,source,layer,name,housenumber,street,postcode,lat,lon With this example the autocomplete works for "Rua Conselheiro Costa Aroso 539" but not for the other addresses. |
Agh I see, the contracted form The reason this is happening is that we don't have a synonym between the expanded/contracted form of that street prefix (ie. The reason for this is that single letter synonyms are a huge performance killer, if someone in the USA typed 'R' then Pelias would match on every Most authoritative address providers give the street suffix in its expanded form, I wonder if we can update the OpenAddresses import script to use a different column or whether the authority only provides contracted forms of the word? |
Describe the bug
The autocomplete api is not returning the expected address result
Steps to Reproduce
Autocomplete request:
https://pelias.github.io/compare/#/v1/autocomplete?layers=address%2Cstreet&focus.point.lat=41.201522&focus.point.lon=-8.6124324&text=rua+godinho+de+faria+1200
Returns
0) Rua Godinho de Faria, São Mamede de Infesta, PO, Portugal
1) Rua Godinho de Faria 255, São Mamede de Infesta, PO, Portugal
2) Rua Godinho de Faria (Antiga EN 14) 451, São Mamede de Infesta, PO, Portugal
But search returns the correct result (https://pelias.github.io/compare/#/v1/search?layers=address%2Cstreet&focus.point.lat=41.201522&focus.point.lon=-8.6124324&text=rua+godinho+de+faria+1200)
0) Rua Godinho de Faria 1200, São Mamede de Infesta, PO, Portugal)
Expected behavior
Using same street with different house number works as expected
https://pelias.github.io/compare/#/v1/autocomplete?layers=address%2Cstreet&focus.point.lat=41.201522&focus.point.lon=-8.6124324&text=rua+godinho+de+faria+255
Result:
0) Rua Godinho de Faria 255, São Mamede de Infesta, PO, Portugal
Additional information
I noticed this behaviour also with my addresses from CSV imports, some addresses working very well and others not working.
The text was updated successfully, but these errors were encountered: