Changes between Version 13 and Version 14 of Help/Preferences/RemoteControl
- Timestamp:
- 2013-02-12T17:19:55+01:00 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Preferences/RemoteControl
v13 v14 37 37 || `top` || R || maximum latitude || 38 38 || `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}}} || 39 || `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 || `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]. || 40 40 || `new_layer` || O || If true, downloads to a new layer || 41 41 … … 95 95 || `objects` || R || Comma separated list of object ids, e.g. "{{{n1234,n1235,w84,r958493}}}" || 96 96 || `new_layer` || O || If true, downloads to a new layer || 97 || `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]. || 97 98 98 99 ==== Example ==== … … 113 114 || `lon` || R || The longitude of the node || 114 115 || `lat` || R || The latitude of the node || 116 || `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]. || 115 117 116 118 ==== Example ==== … … 129 131 ||= **Parameter** =||= **Required/Optional** =||= **Meaning** =|| 130 132 || `way` || R || Pairs of latitude, longitude coordinates separated by semicolon. || 133 || `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]. || 131 134 132 135 ==== Example ==== … … 213 216 }}} 214 217 218 219 === Adding, changing or deleting tags === 220 Try this example: 221 [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]. 222 223 Since protocol version 1.5 224 - there is possible to use `=` character in value and all leading/trailing spaces are trimmed. 225 [http://localhost:8111/add_node?lon=13.3&lat=53.2&addtags=natural=tree|name=%20%20%20==Great%20Oak==] (creates node with natural=tree an name="==Great Oak==") 226 - if empty value is found, tag is to be deleted from objects 227 [http://localhost:8111/load_and_zoom?addtags=wikipedia:de=|maxspeed=&select=way23071688,way23076176,way23076177,&left=13.739727546842&right=13.740890970188&top=51.049987191025&bottom=51.048466954325]. 228 229 (Works also with the zoom-command) 230 231 The user must review the tags and the selection before the tags are applied to the selected objects. 232 215 233 === Other commands === 216 234 Remotecontrol allows other plugins to add additional commands. The other registers a RequestHandler class and specifies a command to be handled by this class. The command syntax has to be defined by the other plugin.
