[[TranslatedPages]] = Tools > Join overlapping Areas = [[JOSMImage(joinareas,48,middle,margin-right=20)]] ''Keyboard shortcut:'' '''{{{Shift+J}}}''' '''Joins areas that overlap each other.''' This action merges overlapping [wikitr:/Help/Concepts/Object#Areas areas] together and forms a bigger target area with the common outline. Areas ''overlap'' if they have an intersection or if they touch at two nodes. * The area selected first gives its [wikitr:/Help/Concepts/Object#ObjectHistory object history] and [wikitr:/Help/Concepts/Object#ObjectId id] to the target area. So the order of selection matters. * All [wikitr:/Help/Concepts/Object#Tags1 tags] from all selected areas will be added to the target area. If different values for one key exist, then the user must decide which value should remain. So the [wikitr:/Help/Action/CombineWay#TagsMembershipsConflictDialog Tags/Memberships Conflict Dialog] will open. It may also appear for relation membership issues. * The additional [wikitr:/Help/Action/CombineWay#CombineConfirmation Combine Confirmation] dialog informs if not all the areas have all the same tags or memberships. It appears in [wikitr:/Help/ExpertMode#Standardview standard view] only. * If an area has no overlap with another one in the Selection, then it is not joined. But it gets all tags like the target area and becomes ''modified'' by this. * Additionally selected nodes do not matter. * 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]. [[Image(buildings-joinoverlappingareas.gif,link=)]] \\ 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. === Notifications === #Notifications If the selection does not fit Join overlapping Areas needs, then these notification messages will be presented: * No overlapping areas in the Selection. [[Image(josm_join_areas_message_no_intersection.png,link=,right,margin-left=20)]]\\ `No intersection found. Nothing was changed.`\\ \\ \\ * 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.` No action is performed in these cases. === See also === #Seealso * [[JOSMImage(combineway,middle)]] [wikitr:/Help/Action/CombineWay Combine Way] * [[JOSMImage(multipoly_create,middle)]] [wikitr:/Help/Action/CreateMultipolygon Create Multipolygon] ---- Back to [wikitr:/Help/Menu/Tools Menu Tools] \\ Back to [wikitr:/Help Main Help]