Overpass Turbo : Churches and Cathedrals

If you haven’t used it before Overpass Turbo is a website that allows the user to interrogate the global OpenStreetMap database. This is excellent for identifying at scale building types particularly community building types. It uses an overpass query language that can be used to filter for specific attributes.

Overpass-turbo.eu

Filter code to identify church and cathedral

Plaintext
[out:json][timeout:25];
// Gather elements tagged as building=church or building=cathedral within the current map view
(
  node["building"="church"]({{bbox}});
  way["building"="church"]({{bbox}});
  relation["building"="church"]({{bbox}});
  node["building"="cathedral"]({{bbox}});
  way["building"="cathedral"]({{bbox}});
  relation["building"="cathedral"]({{bbox}});
);
// Output the result
out body;
>;
out skel qt;
Plaintext

Churches and cathedrals in Edinburgh for example