-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
leisure=dance is not found by name #29
Comments
That is so odd, the API returns results: https://photon.komoot.io/api/?q=tanzkind&lat=52.3879&lon=13.0582&location_bias_scale=20 https://photon.komoot.io/api/?q=tanzkind I think the results displayed aren't for "tanzkind" but these of "tanz" or "tanzk" - could be some kind of throttling, or these results just arrived last and are displayed. Debouncing the input would help - and would be good for the server https://stackoverflow.com/questions/34955109/throttle-onquerytextchange-in-searchview |
This is really strange. I just tried to workaround a throttling. For that i copy&pasted the whole word in the input field and just hit spacebar after this. But even this does not show the result. |
That is so much more interesting that it looked like... I created an apk which logs the URLs sent, responses received etc. The exact URL for your query is: When I open that URL with Firefox, the JSON contains one result: the dance school you're looking for. When I do:
it returns 15 results, the ones you're seeing. The same when I do:
which is how the Android request is most likely visible. I have to think about it and see in Komoot documentation if maybe I'm doing something wrong. But it looks like they just don't like to be used by 3rd party programs (fair enough - I'm not going to work around if they do) |
This is fixed, version 1.28 should be on F-Droid soon. I hope you haven't skipped too many dance lessons because of this. Thanks for reporting. |
[x ] I have checked that my search works in Photon, which Acastus uses as a search backend
My search for the word
Tanzkind
does work in photon, but i cannot find this POI https://www.openstreetmap.org/node/5923759887 with Acastus. Does it support searching for dance schools?The text was updated successfully, but these errors were encountered: