Beginner question: query themeparks in a region?

I’m a osm beginner, but after searching and reading it’s still not clear to me how to do this, so therefor this posting.

I have seen from the overview of features (http://wiki.openstreetmap.org/wiki/Map_Features#Tourism) several items useful for my website have been tagged already; such as theme parks. So the data is already in osm, however i cannot seem to find how i can query for all the theme parks within a certain region (like within a country).

Is such forward geo query possible?

Paul

overpass-turbo.eu can help you.

Zoom the map to the area of interest und execute the following request

[out:xml][timeout:25];
// gather results
(
  // query part for: “tourism=theme_park”
  node["tourism"="theme_park"]({{bbox}});
  way["tourism"="theme_park"]({{bbox}});
  relation["tourism"="theme_park"]({{bbox}});
);
// print results
out meta;
>;
out meta qt;

Then press Export

And if you really need a whole country, you should add a search area:

[out:xml];
// fetch area “Belgium” to search in
{{geocodeArea:Belgium}}->.searchArea;
// gather results
(
  // query part for: “tourism=theme_park”
  node["tourism"="theme_park"](area.searchArea);
  way["tourism"="theme_park"](area.searchArea);
  relation["tourism"="theme_park"](area.searchArea);
);
// print results
out meta;
>;
out meta qt;

Of course you should change the country to your country of interest.
Be aware that searching whole countries can take a large amount of time, so I removed the [timeout:25].

Removing the timeout in the query does not remove the timeout altogether, it would just default to 180 seconds.

I didn’t know that, but I never needed that much time either!