[[TranslatedPages]] = Tools > Combine Way = [[PageOutline(2-10,Table of Contents)]] [[Image(source:/trunk/images/combineway.svg,32,middle)]] ''Keyboard shortcut:'' '''{{{C}}}''' '''Combine several selected ways in one.''' * The order of selection matters, as the remaining way will keep the [wikitr:/Help/Concepts/Object#ObjectId object id] and [wikitr:/Help/Concepts/Object#ObjectHistory object history] of the first selected way with positive id. * The ways need to be connected to each other in their end nodes and need to form one line otherwise JOSM will show a info warning and refuses the action: [[Image(josm_refuse_combine_warning_screenshot.png)]] * Usually, all [wikitr:/Help/Concepts/Object#Tags1 tags] with only a single value and all relation memberships from all ways will be added and the [#TagsMembershipsConflictDialog Tags/Memberships Conflict Dialog] will open if manual decisions are needed. In normal user mode it will additionally warn before adding any tag or membership the ways do not have in common. == Combine Confirmation ==#CombineConfirmation **Note**: Following warnings are not presented in [wikitr:/Help/ExpertMode Expert Mode]. === Tag ===#CombineConfirmationTag If there is any difference in [wikitr:/Help/Concepts/Object#Tags tags] or conflicting tag combinations, JOSM presents following warning and ask for confirmation: [[Image(josm_combine_confirmation_tag_screenshot.png)]] === Relation ===#CombineConfirmationRelation If there is any difference in relation membership or role, JOSM presents following warning and ask for confirmation: [[Image(josm_combine_confirmation_relation_screenshot.png)]] == Tags/Memberships Conflict Dialog ==#TagsMembershipsConflictDialog If there is any conflicting tag value, membership or role where JOSM cannot find a solution, the Tags/Memberships Conflict Dialog will open up in order to solve the conflict manually. [[Image(josm_TagsMembership_conflict_dialog_screenshot.png)]] The dialog is divided into two parts where the upper part is for tags and the lower part is for memberships and roles. === Tags ===#TagsConflictDialog [[Image(josm_TagsMembership_conflict_all_screenshot.png,right,margin=15)]] ==== Filter ==== On top there are two check boxes to filter the tags: * **''Show tags with conflict only''** is checked by default to only show the tags not in common. Unchecking will reveal all tags. * **''Show tags with multiple values only''** shows only the tags with conflicts in values ==== Background Color ==== Additionally the background color indicates the conflicts: **white** - common tag (no conflict) \\ **green** - single value conflict \\ **red** - multiple values conflict ==== Value Column ==== With the drop down menus in the value column you can solve the conflicts and remove tags. The options are: * all single values of the different objects * ''**none**'' - the tag will be removed * ''**all**'' - all values are used for a key, separated by a semicolon If the key is representing a quantity like `capacity=*` or `step_count=*` there is one more option: * ''**sum**'' - sums up all numerical values of the selected objects === Memberships and Roles ===#MembershipsConflictDialog [[Image(josm_TagsMembership_conflict_membership_screenshot.png,right,margin=15)]] ==== Memberships ==== With the two columns on the far right, **''Keep''** and **''Remove''**, the decision on the membership can be made. ==== Background Color ==== The background colors are: **grey** - delete membership, remove object from relation \\ **green** - keep membership \\ **red** - undecided, needs to be set manually ==== Roles ==== Roles can be changed by editing the entry in the role column or with the **''Role''** text box beneath the membership list. ==== Tag modified relations ==== On the bottom line are a check box **''Tag modified relation with''** and a text box for **''Key''** and **''Value''** in order to add a tag to all modified relations by checking the box and entering a key-value combination. == See also == * [[Image(source:/trunk/images/splitway.png,middle)]] [wikitr:/Help/Action/SplitWay Split Way] * [[Image(source:/trunk/images/joinareas.svg,middle)]] [wikitr:/Help/Action/JoinAreas Join Areas] ---- Back to [wikitr:/Help/Menu/Tools Menu Tools][[Br]] Back to [wikitr:/Help Main Help]