Overpass query example

Campsites in a country

Find campsites with their facilities. Example: Norway.

Campsites are tagged tourism=camp_site, mostly as an area. Facility tags include tents, caravans, power_supply and fee.

The query

[out:json][timeout:60];
area["ISO3166-1"="NO"][admin_level=2]->.no;
nwr["tourism"="camp_site"](area.no);
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. out center; turns campsite areas into one point each.
  2. Large countries take longer: Norway takes several seconds.

Variations

  • Motorhome stopovers: tourism=caravan_site.
  • Free camping: add ["fee"="no"].

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 →