[josm-dev] Address Auto-Increment
Frederik Ramm
frederik at remote.org
Fri Dec 28 01:22:53 GMT 2012
Hi,
during some import discussion, someone mentioned that he would love
JOSM to auto-increment house numbers.
I have had a go at this, and added an auto-increment option to tagging
presets in #5639. In the presets file you can now say
<text key="addr:housenumber" text="House number" match="key"
auto_increment="-2,-1,+1,+2" />
which will lead to an address entry display like this
House number: [_____________] [-2] [-1] [+1] [+2] [X]
and if the user selects one of the increment buttons, the next time they
open the preset window, it will show the last used value incremented or
decremented as selected. The "X" button cancels auto increment.
It's been a long time since I dabbled in tagging presets so I hope I
haven't broken anything. Feel free to complain if I have, or help me
make it better.
Bye
Frederik
--
Frederik Ramm ## eMail frederik at remote.org ## N49°00'09" E008°23'33"
More information about the josm-dev
mailing list