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).
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].