#16901 closed enhancement (worksforme)
add tags to currently selected object
Reported by: | !i! | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core remotecontrol | Version: | latest |
Keywords: | selection, API, | Cc: |
Description
hi there, I'm working on a audio interface to let JOSM apply tags by voice keywords.
Unfortunatly the current remote API supports tagging only to create new objects or for objects to get downloaded by command: https://josm.openstreetmap.de/wiki/Help/RemoteControlCommands
But I would need a way to add tags to the current selection.
Can we change such behavior easily?
Attachments (0)
Change History (6)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
It seems that we need to introduce a new commmand, right?
I like the behavior, when you add existing tags manually to a mixed selection. A dialog comes up to show the conflicting values, that allows to set an default behavior for the whole session.
comment:3 by , 7 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Actually, this feature has been implemented in #15676: http://localhost:8111/zoom?left=8.19&right=8.20&top=48.605&bottom=48.590&select=currentselection&addtags=foo=bar
comment:5 by , 7 years ago
Try it. The zoom bbox is not applied if objects are select
ed and zoom_mode!=download
.
comment:6 by , 6 years ago
Works fine, thanks for the hint!
Here is my progress https://github.com/Matthias84/speech2josm
So basically we'd need a new command, such as
/edit_selected?addtags=...
How should JOSM behave, if one or more of the selected objects already have the specific key/tag set?