This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Stop “add” from linking to last point

2

I often edit by alternating between "s" and "a" (select/add). When I switch back to add, often a line is drawn to the previous point. I guess this might be because I didn't finish the previous way using a double click (?). Is there a way of setting up JOSM so that once you switch away from "a", previous ways will not be linked to when switching back to "a"?

Many thanks!

asked 25 May '17, 14:44

bjohas's gravatar image

bjohas
567711
accept rate: 0%


2 Answers:

4

Here are a few keyboard-centric solutions (I don't like double-clicking or clicking away: too much dexterity required :p).

Right after switching back to add mode you can :

  • Hit Escape to unselect all before clicking
  • Use Shift+Click to start a new way as if nothing was currently selected
  • Use Alt+Click to start a new way connected to the currently-selected way/node

answered 26 May '17, 15:50

Vincent%20de%20Phily's gravatar image

Vincent de P... ♦
17.3k18152249
accept rate: 19%

Ah - nice! That's very helpful! I think I can get into the habit of holding down shift!

(26 May '17, 15:55) bjohas

1

Why not just double click to finish drawing the feature because otherwise it will stay unfinished. Also, the reason it continues is when you switch to the selection mode, the feature you were drawing stay selected. Just click else where and then switch back, it will not continue anymore.

answered 25 May '17, 18:35

mmahmud's gravatar image

mmahmud
63861125
accept rate: 3%

Thanks! So I guess I am looking for an option that would "de-select all" as soon as you switch to "select". Yes, I realise that my editing is a bit sloppy, but I often look around whether to extend a feature or create a new one, and so by the time I decide the other object may have moved off. (This is in sparsely mapped areas.) I guess I could try to get into the habit of pressing escape before I continue editing.

(25 May '17, 20:11) bjohas

Source code available on GitHub .