Need help with a particular Overpass query

Hello,

Just a simple request to build a particular overpass query.

The desired result is to find all elements of a particular type, for example amenity=school.

a) if the school is an area (area amenity=school), the outer area (or areas) is wanted (way or relation).
b) if there are school buildings (building=school, amenity=school + building=*) OUTSIDE an amenity=school area, the area of those buildings are wanted.
c) if there are school nodes OUTSIDE any of the above areas those nodes are wanted.

Pls halp :sob:

5 posts - 2 participants

Read full topic


Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/need-help-with-a-particular-overpass-query/106479