I’m looking for an efficient way to add lots of crossings ( http://wiki.openstreetmap.org/wiki/Tag:highway%3Dcrossing ) based on aerial imagery in JOSM. The best I could come up with was to copy a node with highway=crossing, paste it near a highway=… where it belongs and merge it into the way by pressing J.
However, I cannot comfortably/blindly reach Ctrl-V and J on the keyboard and looking therefore for an alternative. Do you have any suggestions?
I also thought about writing a plugin which would only consider ways with highway=… (maybe without highway=path, etc.), project an auxiliary line to the nearest such street and would insert a node with highway=crossing when clicking the mouse. I assume the plugin could be made customizable for other things (nodes) laying on ways but nothing else came to my mind spontaneously.
@orklah: Thank you for your advice. The English name is “Presets”. I added it to my toolbar. I also created a shortcut (Shift-Ctrl-X was still free). (Creating the shortcut was a bit tricky: Right-click on the icon on the toolbar → Edit shortcut → Disable “Use default” → Disable “Disable” → Choose Key “X” → Tick “Shift” and “Ctrl”)
So the workflow is now: Select the draw nodes menu (A) (only once) → Double click on a road to create a new node → Press Shift-Ctrl-X → Press Enter.
That is probably now a bit faster. I’d still be interested in a single-click solution though… (@orklah: I mean no disrespect. )
Still not single-click (I think there is no such way yet), but a press of enter less: Propably the last object you selected (besides untagged ones) is a highway=crossing. If that’s the case create/select the new node and press [Shift]+[R].
To remove the necessity of having it last selected: I heard that there is some way to use copy-pasting to only copy the tags, but don’t know how as I don’t need it.
@rayquaza: Shift-R works nicely (it requires the utilsplugin2).
@Polyglot: I added the file using F12 → Map settings → Tagging presets. That did work.
I didn’t know the ‘n’ command, I find it better than using ‘j’ for this use case.
The function to add nodes at intersecting ways is: Shift-I This might come in handy one day.
I think for the moment I will stick with one of the following (already quite fast) workflows:
Double click on way → Shift-R (using utilsplugin2)
Double click on way → Shift-Ctrl-X (custom preset)
Press Ctrl+C to copy the object. Then select another object, and use Ctrl+Shift+V to paste the tags onto it.
You can repeat this as many times as you want, ie select more objects and paste the same tags onto them.