Overpass-turbo: How to find amenity inside amenity

I’ve tried to find amenity=school mapped inside of another amenity=school. The container might be a closed way or relation, the inside one might be a node, way or relation.
If overlapping areas get returned it would also be OK.

I have read the documentation but couldn’t build a working query. Maybe someone has done this already and could help me out? Thanks!

5 posts - 5 participants

Read full topic

Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/overpass-turbo-how-to-find-amenity-inside-amenity/108366