Template:OverpassWay/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

This template can be used for inserting permanent links to ways and areas. It uses the Overpass API to generate the links.

Usage

  • icon=whatever {{Icon}} accepts
  • query=the Overpass query
  • tools=the tools to display
  • state=the state as shown below

Examples

wiki code produces
{{OverpassWay|Ludwigskirche|query=area[name="Saarland"];way(area)[name="Ludwigskirche"]}} way Ludwigskirche (iD, JOSM, Potlatch2, history, XML)
{{OverpassWay|Ludwigskirche|query=area[name="Saarland"];way(area)[name="Ludwigskirche"]|tools=josm}} way Ludwigskirche (JOSM)
{{OverpassWay|Ludwigskirche|query=area[name="Saarland"];way(area)[name="Ludwigskirche"]|tools=no}} way Ludwigskirche
{{OverpassWay|Ludwigskirche|query=area[name="Saarland"];way(area)[name="Ludwigskirche"]|tools=mini}} Ludwigskirche
{{OverpassWay|Ludwigskirche|query=area[name="Saarland"];way(area)[name="Ludwigskirche"]|tools=short} Ludwigskirche (i j p h x)
{{OverpassWay|Ludwigskirche|icon=a|query=area[name="Saarland"];way(area)[name="Ludwigskirche"]}} area Ludwigskirche (iD, JOSM, Potlatch2, history, XML)
{{OverpassWay|Ludwigskirche|icon=w|query=area[name="Saarland"];way(area)[name="Ludwigskirche"]}} way Ludwigskirche (iD, JOSM, Potlatch2, history, XML)
{{OverpassWay|Ludwigskirche|icon=c|query=area[name="Saarland"];way(area)[name="Ludwigskirche"]}} closed way Ludwigskirche (iD, JOSM, Potlatch2, history, XML)

See also