Modify

Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#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 simon04, 7 years ago

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?

comment:2 by !i!, 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 simon04, 7 years ago

Resolution: worksforme
Status: newclosed
Last edited 7 years ago by simon04 (previous) (diff)

comment:4 by !i!, 7 years ago

But how can I append tags without changing the zoom / viewport?

comment:5 by simon04, 7 years ago

Try it. The zoom bbox is not applied if objects are selected and zoom_mode!=download.

comment:6 by anonymous, 6 years ago

Works fine, thanks for the hint!

Here is my progress https://github.com/Matthias84/speech2josm

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.