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

For example, I have to get all atractions (or something else) in a particular country.

How can I know what tags to use with Overpass API query?
Is there any list of possible tags and their possible values?

asked 15 Nov '18, 12:58

adgeuk's gravatar image

adgeuk
16225
accept rate: 0%

edited 15 Nov '18, 12:59

1

Use taginfo.openstreetmap.org to explore tags: there are many thousands in use!

(15 Nov '18, 14:10) SK53 ♦

Overpass supports all tags that are stored in the database. Many of them (a.o. the most commonly used) can be found on the OSM Wiki. Via TagInfo you can see which tags are used, even those that are not documented.

The tag for attractions is tourism=attraction.

permanent link

answered 15 Nov '18, 14:10

escada's gravatar image

escada
19.0k16166302
accept rate: 21%

edited 15 Nov '18, 14:11

2

This is an example query for tourist attractions in Manchester, GB

(15 Nov '18, 14:13) escada
Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×483
×228
×85
×54

question asked: 15 Nov '18, 12:58

question was seen: 7,638 times

last updated: 15 Nov '18, 14:13

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