Template:JOSMLoadXAPI

From OpenStreetMap Wiki
Jump to navigation Jump to search

This template builds a link to the plugin JOSM/Plugins/RemoteControl for loading type elements of tag tag in the bbox bbox using an XAPI request. The text text is displayed.

parameters

1 or type
default : *, the type of the elements : node, way, relation.
tag
required, the tag of the elements on an string form key=value : tunnel=yes, shop=*, *=telecomunication
3 or bbox
required, the bbox of the search zone, you can use the {{pBbox}} template
4 or text
the displayed text

Examples

  • Bus stops of Besançon : {{JOSMLoadXAPI|node|tag=highway=bus_stop|bbox={{pBbox|Besançon}}|text=Bus stops of Besançon}}

{{{text}}}