Overpass turbo/Templates
Jump to navigation
Jump to search
Overpass API · Language reference · Language guide · Technical terms · Areas · Query examples · Sparse Editing · Permanent ID · FAQ · more · Web site
Servers status · Versions · Development · Technical design · Installation · XAPI compatibility layer · Public transport sketch lines · Applications · Source code and issuesOverpass turbo · Wizard · Overpass turbo shortcuts · MapCSS stylesheets · Export to GeoJSON · more · Development · Source code and issues · Web siteOverpass Ultra · Examples · Overpass Ultra extensions · MapLibre stylesheets · URL Params · more · Source code and issues · Web site
Servers status · Versions · Development · Technical design · Installation · XAPI compatibility layer · Public transport sketch lines · Applications · Source code and issuesOverpass turbo · Wizard · Overpass turbo shortcuts · MapCSS stylesheets · Export to GeoJSON · more · Development · Source code and issues · Web siteOverpass Ultra · Examples · Overpass Ultra extensions · MapLibre stylesheets · URL Params · more · Source code and issues · Web site
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.
template | parameters | description | example |
---|---|---|---|
key |
|
looks for nodes, ways and relations with the given key. | |
key-type |
|
looks for nodes, ways or relations with the given key. | |
key-value |
|
looks for nodes, ways and relations with the given key/value combination. | |
key-value-type |
|
looks for nodes, ways or relations with the given key/value combination. | |
type-id |
|
looks for a node, way or relation with the given id. |