Skip to content
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

poi search #394

Open
wants to merge 33 commits into
base: master
Choose a base branch
from
Open

poi search #394

wants to merge 33 commits into from

Conversation

karussell
Copy link
Member

@karussell karussell commented Jun 4, 2024

Can be tried here.

This PR adds one item in the autocomplete for certain "trigger phrases" like "restaurants hamburg" or just "restaurant":

image

Clicking on this item will give you a list of items on the map:

image

Which you can click, then read more information about it and use the location in the routing.

  • replace reverse geocoding request with one overpass api (instead of fetching the info for every single POI)
  • translate 'nearby'
  • arbitrary key=value queries like a=b c=d for simple OR-queries, a=b and c=d for simple AND-queries or in combination with not a=b and c!=d. Examples:
    • playground=* in hoyerswerda
    • amenity=restaurant and wheelchair=yes in berlin
    • amenity=bar and smoking=no nearby
  • cannot use alternative overpass API like https://overpass.kumi.systems as it is a lot slower (>20s instead of 1s)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant