Changes between Version 24 and Version 25 of Help/RemoteControlCommands


Ignore:
Timestamp:
2021-12-15T16:56:42+01:00 (3 years ago)
Author:
taylor.smock
Comment:

Add a compilation table of plugin remote control commands (Reverter, MapWithAI, Mapillary)

Legend:

Unmodified
Added
Removed
Modified
  • Help/RemoteControlCommands

    v24 v25  
    316316Remotecontrol 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.
    317317
    318 Reverter plugin since version 27091 makes use of this feature.
    319 
     318==== Reverter ====
     319Reverter plugin since version 27091 makes use of this feature. See [source:osm/applications/editors/josm/plugins/reverter/src/reverter/RevertChangesetHandler.java RevertChangesetHandler.java].
     320
     321==== Mapillary ====
     322See [https://github.com/JOSM/Mapillary/blob/master/src/main/java/org/openstreetmap/josm/plugins/mapillary/io/remotecontrol/MapillaryRemoteControl.java MapillaryRemoteControl.java].
     323Either `sequence` or `photo` must be specified, but not both. Since the remote control class was written for multiple imagery sources, the id for either `sequence` or `photo` ''must'' be prefixed with `Mapillary/`.
     324
     325==== Compilation of plugin remote control commands ====
     326||= Plugin =||= **Command** =||= **Parameter** =||= **Required/ \\ Optional** =||= **Meaning** =||
     327|| Reverter || `revert_changeset` ||  ||  || Base command to revert a changeset ||
     328|| || || `id` ||  R  || The changeset id to use (should match regex `[0-9]+`) ||
     329|| MapWithAI || `mapwithai` || || || Base command to download MapWithAI data ||
     330|| || || `max_obj` ||  O  || Set the maximum number of objects the user can add per action from the MapWithAI layer. Should match regex `[0-9]+`. ||
     331|| || || `switch_layer` ||  O  || Use if you want to force users to automatically switch layers when they add data to OSM. Takes `true`/`false`. ||
     332|| || || `bbox` ||  O  || The bbox to download (`lat,lon,lat,lon` -- assumes the bbox will not cross meridian) ||
     333|| || || `crop_bbox` ||  O  || Crop downloaded MapWithAI data (roads only) to this bbox. Tasking managers may also generate a well-known layer. ||
     334|| || || `url` ||  O  || The URL to use instead of the built-in data sources. Useful for imports (please make certain you went through the import process). ||
     335|| || || `source` ||  O  || The source to use when uploading to OSM (changeset source) ||
     336|| Mapillary || `photo` || || || Base command to download a Mapillary photo (may be extended to other imagery sources in the future) ||
     337|| || || `photo` ||  R/O  || The id of the image to show and download. Either this or `sequence` must be specified. ||
     338|| || || `sequence` ||  R/O  || The id of the sequence to show and download. First image is shown in image viewer. ||
    320339----
    321340Back to [wikitr:/Help/Preferences/RemoteControl Remote control preferences] \\