Changes between Version 1 and Version 2 of Nl:Help/RemoteControlCommands


Ignore:
Timestamp:
2016-12-07T16:56:43+01:00 (9 years ago)
Author:
DiGro
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Nl:Help/RemoteControlCommands

    v1 v2  
    1 [[TranslatedPages(revision=1,outdated=This page is missing command features.)]]
     1[[TranslatedPages(revision=3,outdated=This page is missing command features.)]]
    22
    33[[PageOutline(3-3,Opdrachten voor afstandsbediening,inline)]]
     
    105105=== {{{load_object}}} ===
    106106
    107 Instructs JOSM to download objects with a given id.
     107Geeft JOSM instructies om objecten te downloaden met opgegeven ID.
    108108{{{
    109109GET /load_object?new_layer=true|false&objects=...
    110110}}}
    111 where
    112 ||= **Parameter** =||= **Required/Optional** =||= **Meaning** =||
    113 || `objects` || R || Comma separated list of object ids, e.g. "{{{n1234,n1235,w84,r958493}}}" ||
    114 || `new_layer` || O || If '''true''', downloads to a new layer ||
    115 || `addtags` || O || Optional parameter to add tags. The key and value is separated by "=" and multiple tags can be separated by a Pipe "|". See [#addtags details]. ||
    116 || `relation_members` || O || If '''true''', downloads objects members of the relations as well. ||
    117 || `referrers` || O || If '''true''', downloads referrers of the object as well. I.e. parent relations, and for nodes, additionally, parent ways. (since r6782) ||
    118 
    119 ==== Example ====
     111waar
     112||= **Parameter** =||= **Vereist/Optioneel** =||= **Betekenis** =||
     113|| `objects` || R || Kommagescheiden lijst van ID's van objecten, bijv. "{{{n1234,n1235,w84,r958493}}}" ||
     114|| `new_layer` || O || Indien '''true''', downloadt naar een nieuwe laag ||
     115|| `addtags` || O || Optionele parameter om tags toe te voegen. De sleutel de waarde worden gescheiden door "=" en meerdere tags kunnen worden gescheiden door een pipe "|". Zie [details #addtags]. ||
     116|| `relation_members` || O || Indien '''true''', downloadt het objectleden van de relaties ook. ||
     117|| `referrers` || O || Indien '''true''' downloadt het ook de verwijzingen naar de objecten. D.i. ouder-relaties, en voor knopen, aanvullend, ouder-wegen. (sinds r6782) ||
     118
     119==== Voorbeeld ====
    120120
    121121[http://localhost:8111/load_object?new_layer=true&objects=w106159509]
     
    123123=== {{{add_node}}} ===
    124124
    125 Instructs JOSM to create a new node at the given coordinates.
    126 
    127 **Note**: This action requires the permission ''Create new objects'' which is disabled by default.
     125Geeft JOSM instructies om een nieuwe knoop te maken op de opgegeven coördinaten.
     126
     127**Opmerking**: Deze actie vereist het recht ''Nieuwe objecten maken'' is standaard uitgeschakeld.
    128128
    129129{{{
    130130GET /add_node?lon=...&lat=...
    131131}}}
    132 where
    133 ||= **Parameter** =||= **Required/Optional** =||= **Meaning** =||
     132waar
     133||= **Parameter** =||= **Vereist/Optioneel** =||= **Betekenis** =||
    134134|| `lon` || R || The longitude of the node ||
    135135|| `lat` || R || The latitude of the node ||
     
    148148GET /add_way?way=lat1,lon1;lat2,lon2;...
    149149}}}
    150 where
    151 ||= **Parameter** =||= **Required/Optional** =||= **Meaning** =||
     150waar
     151||= **Parameter** =||= **Vereist/Optioneel** =||= **Betekenis** =||
    152152|| `way` || R || Pairs of latitude, longitude coordinates separated by semicolon. ||
    153153|| `addtags` since v1.5|| O || Optional parameter to add tags. The key and value is separated by "=" and multiple tags can be separated by a Pipe "|". See [#addtags details]. ||
     
    163163GET /version[?jsonp=callback]
    164164}}}
    165 where
    166 ||= **Parameter** =||= **Required/Optional** =||= **Meaning** =||
     165waar
     166||= **Parameter** =||= **Vereist/Optioneel** =||= **Betekenis** =||
    167167|| `jsonp` || O|| Jsonp callback for older browsers not implementing ​Cross-Origin Resource Sharing (CORS) ||
    168168