Changes between Version 7 and Version 8 of Help/Preferences/RemoteControl


Ignore:
Timestamp:
Jan 23, 2012 7:40:35 PM (16 months ago)
Author:
bastiK
Comment:

more doc

Legend:

Unmodified
Added
Removed
Modified
  • Help/Preferences/RemoteControl

    v7 v8  
    1 [[TranslatedPages(outdated=This page is missing explaination. Please\, help to improve this wiki.)]] 
    21 
    32= Preferences > Remote Control = 
     
    3837|| `select` || O || comma-separated list of objects that should be selected. Object specifiers are combinations of the words "way", "node", or "relation", and the numerical object id. Example: {{{select=way38473,node12399,node54646}}} || 
    3938|| `addtags` || O || Optional parameter to add tags. The key and value is separated by "=" and multiple tags can be separated by a Pipe "|". Try this one for [http://localhost:8111/load_and_zoom?addtags=wikipedia:de=Wei%C3%9Fe_Gasse|maxspeed=5&select=way23071688,way23076176,way23076177,&left=13.739727546842&right=13.740890970188&top=51.049987191025&bottom=51.048466954325 example]. Works also with the zoom-command. The user must review the tags and the selection before the tags are applied to the selected objects. || 
     39|| `new_layer` || O || If true, downloads to a new layer || 
    4040 
    4141==== Example ==== 
     
    9696 
    9797[http://localhost:8111/load_object?new_layer=true&objects=w106159509] 
     98 
     99=== {{{add_node}}} === 
     100 
     101Instructs JOSM to create a new node at the given coordinates. 
     102 
     103**Note**: This action requires the permission ''Create new objects'' which is disabled by default. 
     104 
     105{{{ 
     106GET /add_node?lon=...&lat=... 
     107}}} 
     108where 
     109||= '''Parameter''' =||= '''Required/Optional''' =||= '''Meaning''' =|| 
     110|| `lon` || R || The longitude of the node || 
     111|| `lat` || R || The latitude of the node || 
     112 
     113==== Example ==== 
     114http://localhost:8111/add_node?lon=13.3&lat=53.2 
     115 
     116=== {{{add_way}}} === 
     117 
     118Instructs JOSM to create a new way with new way nodes at given coordinates. 
     119 
     120**Note**: This action requires the permission ''Create new objects'' which is disabled by default. 
     121 
     122{{{ 
     123GET /add_way?way=lat1,lon1;lat2,lon2;... 
     124}}} 
     125where 
     126||= '''Parameter''' =||= '''Required/Optional''' =||= '''Meaning''' =|| 
     127|| `way` || R || Pairs of latitude, longitude coordinates separated by semicolon. || 
     128 
     129==== Example ==== 
     130 
     131http://localhost:8111/add_way?way=53.2,13.3;53.3,13.3;53.3,13.2 
    98132 
    99133