query school elements using Overpass Turbo

المشرف العام

Administrator
طاقم الإدارة
I know how to query OpenStreetMap using Overpass Turbo for all points/polygons from with "school" string in their name

( node["name"~"^.*school.*$", i]({{bbox}}); way["name"~"^.*school.*$", i]({{bbox}}););

I'm looking for the correct way to query point/polygon elements that are

  1. name=* but neither tagged as amenity=school and building=school tags; and
  2. elements tagged as building=school but without a parent polygon that are tagged as amenity=school (to mark the school grounds)
I expect to see a list of nodes or ways that are tagged as building=school, but are not inside a closed way tagged as amenity=school. The purpose of the query is for Q&A of school-related elements in our region.



أكثر...
 
أعلى