Display pin instead of area
Closed this issue · 4 comments
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;
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.
Thanks for the tip. It works fine.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.