-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Search: Query wizard like overpass searches #715
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thank you @Dlurak for making quick work on this! 😍 At higher zoom levels, it's difficult to to see the displayed results. I suppose this isn't directly related to this new feature, but more on how results are displayed on screen. Perhaps, at higher zoom levels, the centroids of the features can be displayed as pins (or cluster of pins), and when zoomed in, it can be displayed as what the feature is. I recall there's an option to return just centroids from Overpass, but maybe not always desirable when polygons are expected. |
Wooow! Well done. 👏 |
That's exactly what the issue #710 is about |
Description
In #708 @govvin asked this:
About the overpass search option.
This lead to the idea of a overpass turbo query wizard like search.
This pull request introduces a limited version of that. Currently it only supports these:
and
to combine multiple thingsor
to combine multiple thingskey=value
for the actual key comparison, it is build in a way that other operators like!=
are relatively easy to add()
to group things combined viaand
/or
Example searches
(amenity=cafe or amenity=restaurant) and internet_access=yes
museum=art and fee=no
amenity=restaurant and diet:vegetarian=yes
ToDo
*
token to match anything