Overpass query example

Places of worship

Find churches, mosques, synagogues and temples, with religion and denomination. Example: Kraków.

All places of worship share amenity=place_of_worship. religion and denomination tell them apart.

The query

[out:json][timeout:60];
area["name"="Kraków"]["admin_level"="8"]->.a;
nwr["amenity"="place_of_worship"](area.a);
out center;

Run it

Running the query…

Live result from overpass.ch, cached for up to 12 hours. Map data © OpenStreetMap contributors (ODbL).

How it works

  1. The city boundary of Kraków has admin_level 8.
  2. Read religion (christian, jewish, muslim, …) from the tags.

Variations

  • Only one religion: add ["religion"="jewish"].

Run it from your code

curl https://api.overpass.ch/v1/YOUR_API_KEY/interpreter \
  --data-urlencode 'data@query.overpassql'

Save the query as query.overpassql. It works the same in Overpass Turbo, QGIS and JOSM.

More examples

All examples →