Modify

Opened 17 years ago

Last modified 10 years ago

#794 new enhancement

Adjacent areas

Reported by: davalv@… Owned by: team
Priority: minor Milestone:
Component: Core Version: latest
Keywords: Cc:

Description (last modified by skyper)

I propose a new functionality.

Suppose that we have 2 overlapping areas (partially or totally), for example landuse=residential the first and landuse=forest the second.
Suppose that I have created a very large residential area and then I want to insert within a forest area.
I am lazy, I don't want to change the residential area. So i draw the forest area on it.
But it is not correct. I should draw them so that they are not overlapping.

So I select the residential area, then the forest area and press a "magic button": the border of the residential area that was affected by the overlap now shares the same nodes of the forest one.

Steps of the new functionality:

  • identify which parts of the residential perimeter intersect forest area and deletes them
  • connect each orphan residential node to the nearest one of forest perimeter
  • recreate the missing residential perimeter following the forest perimeter and using the same nodes


Attachments (0)

Change History (4)

comment:1 by skyper, 13 years ago

Description: modified (diff)
Owner: changed from framm to team

comment:2 by mdk, 11 years ago

The "ContourMerge" plug-in provides this functionality.

For the above case do the following:

  • Mark the two points where forest and residential are crossing each other with active ConturMege tool (if they don't have nodes at these crossings, add them before)
  • Both nodes are now marked with a yellow cross
  • Grab the way segment you want merge to an other contour. In this case the residential outline overlapped by the forest.
  • Drop the way segment on the outer way segment to merge with. In this case the forest outline inside the residential.

ContourMerge helps selecting the source and destination by highlighting the affected way segments in red.

It is not exactly the "magic" function described above, but I don't think we will find good rules to automatically choose which way segment should be merged with which other segment just by selecting the two ways. Also the "matching" of nodes is not longer a problem: The merged way replaces all nodes between the selected nodes with the nodes of the segment dropped on. Only the merged way will be modified.

ContourMerge solves the described kind of problems in a very easy way. Mark two nodes and Drag & Drop a way segment.

comment:3 by mdk, 10 years ago

Does it make sense to keep this issue open?

There is an existing implementation and nobody (including the author) is interested in this ticket.

comment:4 by akks, 10 years ago

This would be a nice feature, in the same group as Join areas (core), Split area (Utilsplugin2) and ContourMerge-like plugins.

Nobody touched it only because it will be a real pain for multipolygonal areas (with closed ways, tags on lines etc.)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to davalv@….
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.