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

Display pin instead of area #2309

Closed
CharliePlett opened this issue Dec 1, 2024 · 4 comments
Closed

Display pin instead of area #2309

CharliePlett opened this issue Dec 1, 2024 · 4 comments

Comments

@CharliePlett
Copy link

I have a uMap that is querying live data from OSM, but when it retrieves an area, like a building instead of a node, then it only displays the building. That makes it very hard to see from low zoom levels. And it is also inconsistent when I'm querying churches, sometimes returning building outlines and other times the pins.

I was thinking maybe you could have like a checkbox in each layer to toggle displaying areas as pins.

Maybe there is a feature like this somewhere? Maybe i could just modify my query? This is my current query https://overpass-api.de/api/interpreter?data=[out:json];nwr[denomination=mennonite][amenity=place_of_worship]({south},{west},{north},{east});out geom;

@yohanboniface
Copy link
Member

out center instead of out geom should do the trick, see https://wiki.openstreetmap.org/wiki/Overpass_API/Language_Guide#Geometry_attribute_(center,_center) for caveats.

@clwacker
Copy link

Thanks for the tip. It works fine.

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Jan 20, 2025
Copy link

github-actions bot commented Feb 4, 2025

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as completed Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants