[josm-dev] Multi-Select Preset

Frederik Ramm frederik at remote.org
Tue Dec 21 00:30:49 GMT 2010


JOSM devs,

    I have had a client asking me to add a new type of preset user 
interface control for them, one where you can select multiple values 
from a list and this then ends up in a tag with a comma-separated list. 
Like so:

<multiselect key="colour" text="Colour" values="red,blue,green,yellow" 
default="" delete_if_empty="true" />

The user can then e.g. select "red" and "yellow" which creates the tag 
"colour=red,yellow".

The client would be ok with building this into JOSM proper. I am unsure 
- of course I'll happily contribute the code but in OSM we don't really 
want to encourage comma- (or semicolon-) separated tag values. So maybe 
with the new multiselect, people would start doing bad things?

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"



More information about the josm-dev mailing list