Overpass turbo/Templates

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages — Overpass turbo/Templates
· English · français
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