Template:OverpassRelation/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

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

Examples

wiki code produces
{{OverpassRelation|L 101|query=area[name="Saarland"];relation(area)[type=route][route=road][ref="L 101"]}} relation L 101 (iD, JOSM, Potlatch2, history, analyze, manage, XML, GPX)
{{OverpassRelation|L 101|state=OK|query=area[name="Saarland"];relation(area)[type=route][route=road][ref="L 101"]}} relation L 101 (iD, JOSM, Potlatch2, history, analyze, manage, XML, GPX)
{{OverpassRelation|L 101|state=complete|query=area[name="Saarland"];relation(area)[type=route][route=road][ref="L 101"]}} relation L 101 (iD, JOSM, Potlatch2, history, analyze, manage, XML, GPX)
{{OverpassRelation|L 101|state=partial|query=area[name="Saarland"];relation(area)[type=route][route=road][ref="L 101"]}} relation L 101 (iD, JOSM, Potlatch2, history, analyze, manage, XML, GPX)
{{OverpassRelation|L 101|state=FIXME|query=area[name="Saarland"];relation(area)[type=route][route=road][ref="L 101"]}} relation L 101 (iD, JOSM, Potlatch2, history, analyze, manage, XML, GPX)
{{OverpassRelation|L 101|FIXME=1|query=area[name="Saarland"];relation(area)[type=route][route=road][ref="L 101"]}} relation L 101 (iD, JOSM, Potlatch2, history, analyze, manage, XML, GPX)
{{OverpassRelation|L 101|FIXME=everything|query=area[name="Saarland"];relation(area)[type=route][route=road][ref="L 101"]}} relation L 101 (iD, JOSM, Potlatch2, history, analyze, manage, XML, GPX)
{{OverpassRelation|L 101|tools=josm|query=area[name="Saarland"];relation(area)[type=route][route=road][ref="L 101"]}} relation L 101 (JOSM)
{{OverpassRelation|L 101|tools=no|query=area[name="Saarland"];relation(area)[type=route][route=road][ref="L 101"]}} relation L 101
{{OverpassRelation|L 101|tools=short|query=area[name="Saarland"];relation(area)[type=route][route=road][ref="L 101"]}} L 101 (i j p h a m x g)
{{OverpassRelation|L 101|tools=mini|query=area[name="Saarland"];relation(area)[type=route][route=road][ref="L 101"]}} L 101
{{OverpassRelation|Linie 507|bbox=7.1,49.2,7.2,49.3|query=relation[ref="507"][route=bus]}} relation Linie 507 (iD, JOSM, Potlatch2, history, analyze, manage, XML, GPX)

See also