NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi I don't get how I can tell Overpass Turbo that he shall search within more than one country.

Using the wizard for germany only I got this.

I tried different thinks but I couldn't figure it out. In the documentation I couldn't find how` to do it, too.

asked 10 Jul '14, 00:51

Hedaja's gravatar image

accept rate: 0%

edited 16 Feb '19, 09:05

aseerel4c26's gravatar image

aseerel4c26 ♦

You can't do this with the built-in query wizard in overpass turbo. But you can combine different areas if you manually tweak the Overpass query:

<!-- fetch area “germany” to search in -->
<id-query {{nominatimArea:germany}} into="area"/>

In your query, this defines the area to search in. Here it is "germany".

Using the <union> statement you can combine multiple such areas into one. (Note that the final result of the union has to be named "area" for the later <area-query>s to work.)

<union into="area">
  <id-query {{nominatimArea:germany}} />
  <id-query {{nominatimArea:austria}} />
  <id-query {{nominatimArea:switzerland}} />

Here is a working example:

permanent link

answered 10 Jul '14, 09:18

tyr_asd's gravatar image

accept rate: 64%


Very nice! If not done yet, will try to add that feature to OSM Wiki.

(10 Jul '14, 19:53) stephan75

Try this query: this uses the bounding box of the visual area, instead of the fixed area defined by id-query {{nominatimArea:germany and }} into="area"

in your query

permanent link

answered 10 Jul '14, 06:56

escada's gravatar image

accept rate: 21%


thanks for you answer. But this isn't useful in this case because I wanted to count the number of charging_stations within Germany,Switzerland and Austria. Using bbox means I would get chargingstations in parts of the Czech Republic and other surrounding countries.

(10 Jul '14, 11:44) Hedaja

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 10 Jul '14, 00:51

question was seen: 10,134 times

last updated: 16 Feb '19, 09:05

NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum