Template:OverpassRelation

From OpenStreetMap Wiki
Jump to: navigation, search
[Edit] [Octicons-sync.svgpurge] Template-info.svg Template documentation

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 (XML, Potlatch2, iD, JOSM, history, analyze, manage, gpx)
{{OverpassRelation|L 101|state=OK|query=area[name="Saarland"];relation(area)[type=route][route=road][ref="L 101"]}} Relation L 101 (XML, Potlatch2, iD, JOSM, history, analyze, manage, gpx)
{{OverpassRelation|L 101|state=complete|query=area[name="Saarland"];relation(area)[type=route][route=road][ref="L 101"]}} Relation L 101 (XML, Potlatch2, iD, JOSM, history, analyze, manage, gpx)
{{OverpassRelation|L 101|state=partial|query=area[name="Saarland"];relation(area)[type=route][route=road][ref="L 101"]}} Relation L 101 (XML, Potlatch2, iD, JOSM, history, analyze, manage, gpx)
{{OverpassRelation|L 101|state=FIXME|query=area[name="Saarland"];relation(area)[type=route][route=road][ref="L 101"]}} Relation L 101 (XML, Potlatch2, iD, JOSM, history, analyze, manage, gpx)
{{OverpassRelation|L 101|FIXME=1|query=area[name="Saarland"];relation(area)[type=route][route=road][ref="L 101"]}} Relation L 101 (XML, Potlatch2, iD, JOSM, history, analyze, manage, gpx)
{{OverpassRelation|L 101|FIXME=everything|query=area[name="Saarland"];relation(area)[type=route][route=road][ref="L 101"]}} Relation L 101 (XML, Potlatch2, iD, JOSM, history, analyze, manage, 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 (x p i j h a m r)
{{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 (XML, Potlatch2, iD, JOSM, history, analyze, manage, gpx)

See also