I was trying to create some JOSM presets and ended up writing a script to create the XML file for presets. This script (jPresetGen.sh) takes an input text file and based on the input data it creates a JOSM preset XML file.
At present the script supports key/value pairs, lists with multiple selection and drop downs. The script and sample data file can be downloaded from https://github.com/primejyothi/JOSMPresetBuilder
Discussion
Comment from bastik on 25 July 2014 at 09:28
Impressive bash scripting… :)
Comment from primej on 25 July 2014 at 10:30
Thank you @bastik :)