Template:OverpassWay/doc

From OpenStreetMap Wiki
Jump to: navigation, 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 (XML, iD, JOSM, Potlatch2, history)
{{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 (x i j p h)
{{OverpassWay|Ludwigskirche|icon=a|query=area[name="Saarland"];way(area)[name="Ludwigskirche"]}} Area Ludwigskirche (XML, iD, JOSM, Potlatch2, history)
{{OverpassWay|Ludwigskirche|icon=w|query=area[name="Saarland"];way(area)[name="Ludwigskirche"]}} Way Ludwigskirche (XML, iD, JOSM, Potlatch2, history)
{{OverpassWay|Ludwigskirche|icon=c|query=area[name="Saarland"];way(area)[name="Ludwigskirche"]}} Closed way Ludwigskirche (XML, iD, JOSM, Potlatch2, history)

See also