Id: Disconnect entire landuse areas from lines

Created on 19 Aug 2017  路  10Comments  路  Source: openstreetmap/iD

It would be nice to have a possibility to detach an entire line by for example pressing d shotcut.

operation

Most helpful comment

I did this! You can now disconnect entire individual lines or areas at once. The operation is prevented if not enough of the way is visible or if the way is a member of a relation connected to another member by one of the nodes.

disconnect area demo

All 10 comments

I agree, I want this sometimes too.. good suggestion 馃憤

This seems to be a quite unsafe operation. Someone might want to disconnect a highway from landuses, which I see as the main usecase, and miss to repair the highway connections. In addition the operation needs be prevented due to breaking relations in many cases.

How about an operation cutting a surrounding around the selected ways out of the selected areas?

This seems to be a quite unsafe operation. Someone might want to disconnect a highway from landuses, which I see as the main usecase, and miss to repair the highway connections. In addition the operation needs be prevented due to breaking relations in many cases.

Can you provide a screenshot of an example case? I'm having a hard time imagining a situation where disconnecting a landuse from a road would break a relation.

How about an operation cutting a surrounding around the selected ways out of the selected areas?

Polygonal operations (add, subtract, etc) are coming, probably not soon though.

@bhousel

I'm having a hard time imagining a situation where disconnecting a landuse from a road would break a relation.

It depends on how the operation works.

  • If the operation disconnects a single selected way from everything else:

    • With the highway being selected it disconnects the way from the next highway ways, which breaks for example any route relations on the highway, and in addition the highway connectivity.

    • With a way, which isn't closed, of a landuse multipolygon being selected, it breaks the multipolygon.

  • If it disconnects two selected ways:
    Assume we have:
    -A residential area multipolygon consisting of ways A, B, and D
    -An industial area multipolygon consisting of ways A and E
    -A motorway B
    -A tertiary road C which is partially coincident with way E
    -A bus rote using ways B and C
    disconnect lines
    What happens if the user disconnects ways E (landuse) and C (highway) in view of the central node
    originally used by all features? How can the editor split this node?
    Not to break the residential area requires A and B to share the same node.
    Not to break the bus route requires B and C to share the same node.
    Not to break the industrial area requires A and E to share the same node.
    As a result C and E still need to share the same node, and can't be disconnected without breaking a relation.

Thanks for the examples @slhh .. It makes sense - I wasn't thinking of multipolygons formed of several connected ways.

I guess we will need to disable the operation in cases where the disconnect would break a relation. The existing disconnect action already does this.

I did this! You can now disconnect entire individual lines or areas at once. The operation is prevented if not enough of the way is visible or if the way is a member of a relation connected to another member by one of the nodes.

disconnect area demo

Very nice! Thank you @quincylvania

This is so awesome @quincylvania 馃憦
I've wanted this for a while....

Nice! I must admit some trepidation because of personally preferring landuse areas to join up with line features in many instances. But the example you鈥檝e given of disconnecting a parking lot area is a good one: lots of parking lots in my area were long ago joined to nearby buildings or roadways but now need to be detached in order to properly map sidewalks and curbs. I鈥檒l be using this feature a lot.

Great, can't wait to usw this function in iD.
Many many thanks! @quincylvania

Was this page helpful?
0 / 5 - 0 ratings