-
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
Possible to filter result types #119
Comments
yes that's possible and on our todo list. however not high priority at the moment. but do we really index post boxes? can you give an example url, this would be a bug then. |
Ok, feel free to close this issue if it's already on your todo list. |
duplicate of #68 |
@christophlingg sorry to comment on a closed issue but wasn't sure it was worth re-opening it. |
our index contains basically everything that can be found in nominatim. searching for bus stops is a reasonable use case for me. would you expect something different? |
@amnesia7 have you tried the tag filters? https://github.com/komoot/photon/blob/master/README.md#filter-results-bhy-tags-and-values For the query you posted, you could modify like this to exclude bus stops: Does this help? |
@christophlingg yes, I can understand there may be a need to be able to search for so that's not an issue for me. I was just caught out by it when I couldn't find bus stops in the openstreetmap tags list but I've just had another look and realised that it is actually the value for the highway key rather than a key in its own right. |
Is it possible (or could it be possible) to include a list of types to the search api so that it only returns establishments and addresses (as an example) since at the moment it brings back everything (including post boxes and tram stops for example)?
The text was updated successfully, but these errors were encountered: