Overpass turbo/Templates

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages — Overpass turbo/Templates
Afrikaans Alemannisch aragonés asturianu azərbaycanca Bahasa Indonesia Bahasa Melayu Bân-lâm-gú Basa Jawa Baso Minangkabau bosanski brezhoneg català čeština dansk Deutsch eesti English español Esperanto estremeñu euskara français Frysk Gaeilge Gàidhlig galego Hausa hrvatski Igbo interlingua Interlingue isiXhosa isiZulu íslenska italiano Kiswahili Kreyòl ayisyen kréyòl gwadloupéyen Kurdî latviešu Lëtzebuergesch lietuvių magyar Malagasy Malti Nederlands Nedersaksies norsk bokmål norsk nynorsk occitan Oromoo oʻzbekcha/ўзбекча Plattdüütsch polski português português do Brasil română shqip slovenčina slovenščina Soomaaliga suomi svenska Tiếng Việt Türkçe Vahcuengh vèneto Wolof Yorùbá Zazaki српски / srpski беларуская български қазақша македонски монгол русский тоҷикӣ українська Ελληνικά Հայերեն ქართული नेपाली मराठी हिन्दी অসমীয়া বাংলা ਪੰਜਾਬੀ ગુજરાતી ଓଡ଼ିଆ தமிழ் తెలుగు ಕನ್ನಡ മലയാളം සිංහල ไทย မြန်မာဘာသာ ລາວ ភាសាខ្មែរ ⵜⴰⵎⴰⵣⵉⵖⵜ አማርኛ 한국어 日本語 中文(简体)‎ 吴语 粵語 中文(繁體)‎ ייִדיש עברית اردو العربية پښتو سنڌي فارسی ދިވެހިބަސް
overpass turbo comes with a set of predefined templates, which you can use instead of the complete ("share") permalink for simple use cases.

Each template has a name and a set of parameters (as defined below). You create a link to a template by using the URL-parameter template. For example:

 http://overpass-turbo.eu/?template=key-value&key=amenity&value=parking

Note that the values for the template-parameters have to be provided as URL-encoded strings.

list of overpass turbo templates
template parameters description example
key
  • key
looks for nodes, ways and relations with the given key.
try it yourself in overpass-turbo
key-type
  • key
  • type
looks for nodes, ways or relations with the given key.
try it yourself in overpass-turbo
key-value
  • key
  • value
looks for nodes, ways and relations with the given key/value combination.
try it yourself in overpass-turbo
key-value-type
  • key
  • value
  • type
looks for nodes, ways or relations with the given key/value combination.
try it yourself in overpass-turbo
type-id
  • type
  • id
looks for a node, way or relation with the given id.
try it yourself in overpass-turbo