-
Notifications
You must be signed in to change notification settings - Fork 293
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
Feature Request: Return Addresses with House Numbers #869
Comments
The actual results are relevant to the query. Why do you think is " Kopernikova 7, Praha" more precise than " Kopernikova, Praha" when somebody was searching only for the street name? |
@mtmail My application provides a list of address suggestions for the searched streets. In this case, its complicated for me to use photon. If there is a function search as type, then why there is not config for suggesting all results (street + house numbers)? |
Such a feature is not possible with the current API because it has only a single search endpoint for searching and suggestions. Returning an address, when only a street name was typed in, would simply be wrong for most search use cases. Something like this is more likely to happen when we get a real "suggestion" endpoint in a future v2 API. But even then it would be rather restricted. There are dozens of streets named Kopernikova and hundreds of address points. Returning all of them would not be very meaningful. So, housenumbers might be suggested, when the input is down to 'Kopernikova, Praha' but not in the general case of only having the street name. That said, API v2 is far away in the future. It really sounds like you are not really looking for a geocoder (as in "searching") but for a gazetteer. You need a database that gives you a list of streets for a given city, then housenumbers for a given city/street combination etc. That is an interesting application but out of scope for Photon, I'm afraid. |
I would like to request a feature enhancement. Specifically, I need the API to return addresses that include house numbers. This functionality is essential for my application, as it requires precise address information.
I have reviewed the Photon documentation and found that filtering results by OpenStreetMap tags and values is possible using the osm_tag parameter. However, the current option not meet my needs.
Providing addresses with house numbers would significantly enhance the utility of the Photon API for applications requiring detailed address information.
Data on enter: "Kopernikova"
localhost:2322/api?q=Kopernikova
actual result:
Kopernikova, Teplice
Kopernikova, Příbram
Kopernikova, Praha
etc..
expected result:
Kopernikova 19, Český Těšín
Kopernikova 8, Hlohovec
Kopernikova 7, Praha
etc..
I appreciate your consideration of this request and look forward to your response.
The text was updated successfully, but these errors were encountered: