7 | | '''Join areas that overlapping each other.''' |
| 7 | '''Joins areas that overlap each other.''' |
| 8 | |
| 9 | This action merges overlapping [wikitr:/Help/Concepts/Object#Areas areas] together and forms a bigger target area with the common outline. |
| 10 | Areas ''overlap'' if they have an intersection or if they touch at two nodes. |
| 11 | |
| 12 | * The area selected first gives its [wikitr:/Help/Concepts/Object#ObjectHistory object history] and [wikitr:/Help/Concepts/Object#ObjectId id] to the target area. |
| 13 | So the order of selection matters. |
| 14 | * All [wikitr:/Help/Concepts/Object#Tags1 tags] from all selected areas will be added to the target area. |
| 15 | If different values for one key exist, then the user must decide which value should remain. |
| 16 | So the [wikitr:/Help/Action/CombineWay#TagsMembershipsConflictDialog Tags/Memberships Conflict Dialog] will open. |
| 17 | It may also appear for relation membership issues. |
| 18 | * The additional [wikitr:/Help/Action/CombineWay#CombineConfirmation Combine Confirmation] dialog informs if not all the areas have all the same tags or memberships. |
| 19 | It appears in [wikitr:/Help/ExpertMode#Standardview standard view] only. |
| 20 | * If an area has no overlap with another one in the Selection, then it is not joined. |
| 21 | But it gets all tags like the target area and becomes ''modified'' by this. |
| 22 | * Additionally selected nodes do not matter. |
| 23 | * If areas are surrounded by the others and have no intersection with any of them, then the result of this action will be a [wikitr:/Help/Concepts/Object#typemultipolygon multipolygon]. |
| 24 | |
| 25 | [[Image(buildings-joinoverlappingareas.gif,link=)]] \\ |
| 26 | The animation above shows first the creation of two areas with the [osmwiki:JOSM/Plugins/BuildingsTools Building_tools] plugin, then one of them being [wikitr:/Help/Action/Duplicate duplicated] and [wikitr:/Help/Action/Select selected + moved] and finally the Join Areas action to all three areas then selected. |
| 27 | |
| 28 | |
| 29 | === Notifications === #Notifications |
| 30 | If the selection does not fit Join overlapping Areas needs, then these notification messages will be presented: |
| 31 | * No overlapping areas in the Selection. [[Image(josm_join_areas_message_no_intersection.png,link=,right,margin-left=20)]]\\ |
| 32 | `No intersection found. Nothing was changed.`\\ \\ \\ |
| 33 | * An open way is in the Selection. [[Image(josm_join_areas_message_unclosed.png,link=,right,margin-left=20)]] \\ `One of the selected ways is not closed and therefore cannot be joined.` |
| 34 | |
| 35 | No action is performed in these cases. |
| 36 | |
| 37 | |
| 38 | === See also === #Seealso |
| 39 | * [[JOSMImage(combineway,middle)]] [wikitr:/Help/Action/CombineWay Combine Way] |
| 40 | * [[JOSMImage(multipoly_create,middle)]] [wikitr:/Help/Action/CreateMultipolygon Create Multipolygon] |