split ways at intersection #750

Closed
jfirebaugh opened this Issue Feb 13, 2013 · 5 comments

3 participants

@jfirebaugh
OpenStreetMap on GitHub member

Need to be able to do this. Maybe just split all the ways?

@porjo

I agree this needs doing.

Using Potlatch2 as a reference:

self-intersecting ways e.g.
Clipboard01 get split like so: Clipboard02which works quite well.

For multiple ways that intersect, Potlatch2 takes which ever way was selected last as the way which gets split. The other way(s) in the intersection don't change.

@jfirebaugh
OpenStreetMap on GitHub member

This is an area where P2's behavior of only showing vertices of the selected way pays off. Since there's no way to select the vertex to split at without first selecting a way, there is never ambiguity about which way to split. That's not true of iD currently -- it's possible to split a way without ever having the way itself selected.

@tmcw
OpenStreetMap on GitHub member

@jfirebaugh so this is blocked by merging #1075 ?

@jfirebaugh
OpenStreetMap on GitHub member

Yes

@jfirebaugh
OpenStreetMap on GitHub member

Well, actually #1075 might not provide a full solution. Based on discussion there, we may always show shared vertices, and may show vertices on mouseover, either of which would mean we can't use P2's solution.

I'm going to implement this now as splitting all ways, or if the selection includes an intersecting way, just that one.

@jfirebaugh jfirebaugh was assigned Mar 29, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment