// this is a test[out:json][timeout:25];(way[building=yes]({{bbox}});way[building=apartments]({{bbox}});way[building=semidetached_house]({{bbox}});way[building=house]({{bbox}});way[building=detached]({{bbox}}););outgeom;{{style:*[building=yes],*[building=apartments],*[building=semidetached_house]{color:red;fill-color:red;fill-opacity:.4;}*[building=detached]{color:brown;fill-color:brown;fill-opacity:.4;}*[building=house]{fill-color:green;fill-opacity:.4;}*[building=house][house=detached]{color:green;}}}
Town boundary relations that have an "admin_centre" element
try it yourself in overpass-turbo
[out:json][timeout:60];area[admin_level=4]["name"="California"]->.area1;outbody;relation["type"="boundary"]["boundary"="administrative"]["admin_level"="8"](area.area1)->.alltowns;rel.alltowns(if:count_by_role("admin_centre")>0)->.sometowns;// print results.alltownsoutcount;.sometownsoutcount;//.sometowns out geom;
Power poles and towers in Rockwall County
try it yourself in overpass-turbo
[out:json][timeout:60];area[admin_level=6]["name"="Rockwall County"]->.area1;outbody;node["power"="pole"](area.area1)->.poles;node["power"="tower"](area.area1)->.towers;// print results.polesoutcount;.towersoutcount;//.sometowns out geom;