Overpass 'buildings' without area


I have an overpass call —all buildings— but it comes with area.b. The first feature is the actual area I’m focusing on.

// --when areas have duplicate names given the world has a limited amount of uniquely named places
(area[name='Western Cape'] ->.b;
    // -- target area ~ can be way or relation
    way(area.b)[name='Cape Peninsula University of Technology (Bellville Campus)'];
    map_to_area -> .a;
        // I want all buildings
        // and relation type=multipolygon ~ to removed courtyards from buildings
out body;
out skel qt;

How do I call for building but not return the actual area please?

4 posts - 2 participants

Read full topic

Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/overpass-buildings-without-area/8222