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, Potlatch2, iD, JOSM, history)
{{OverpassWay|Ludwigskirche|icon=a|query=area[name="Saarland"];way(area)[name="Ludwigskirche"]}} Area Ludwigskirche (XML, Potlatch2, iD, JOSM, history)
{{OverpassWay|Ludwigskirche|icon=w|query=area[name="Saarland"];way(area)[name="Ludwigskirche"]}} Way Ludwigskirche (XML, Potlatch2, iD, JOSM, history)
{{OverpassWay|Ludwigskirche|icon=c|query=area[name="Saarland"];way(area)[name="Ludwigskirche"]}} Closed way Ludwigskirche (XML, Potlatch2, iD, JOSM, history)

See also