Changes between Version 20 and Version 43 of Help/Action/MergeNodes

(multiple changes)
(multiple changes)
(multiple changes)


  • Help/Action/MergeNodes

    v20 v43  
    1 [[TranslatedPages]]
     1[[TranslatedPages(outdated=The example screenshots need to be retaken with bigger node render setting.)]]
    33= Tools > Merge Nodes =
     4[[PageOutline(2-10,Table of Contents)]]
    5 [[Image(source:trunk/images/mergenodes.png)]] ''Keyboard shortcut:'' **{{{M}}}**
     6[[JOSMImage(mergenodes,48,link=,middle,margin-right=20)]] ''Keyboard shortcut:'' **`M`**
    7 **Merge the currently selected nodes into one node.**
     8**Merge nodes into the oldest one.**
    9 **Note**: There is also a merge nodes function associated with the [Action/Select Select Move] tool.
     10* The order of [wikitr:/Help/Action/Select selection] matters, as the remaining target node will keep the position of the last selected one.
     11* The [wikitr:/Help/Concepts/Object#ObjectId object id] and [wikitr:/Help/Concepts/Object#ObjectHistory object history] of the oldest node with at least one parent will be preserved. If no parent object exists, the oldest node with lowest, positive id will be used (see #17866).
     12* Ways will be silently deleted if their child node number drops below two, see [#WaysToDeleteStillInUse below].
     13* All [wikitr:/Help/Concepts/Object#Tags1 tags] with only a single value and all relation memberships from all nodes will be added and the [wikitr:/Help/Action/CombineWay#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 nodes do not have in common, like Combine Ways, see [wikitr:/Help/Action/CombineWay#CombineConfirmation Combine Confirmation].
    11 [[TOC(inline)]]
    1316== Can't merge because way still in use == #WaysToDeleteStillInUse
    15 The nodes you merge may be part of [Concepts/Object#Ways ways]. If you merge them these "parent" ways may loose one or more of their nodes. In some cases the number of nodes left in these ways may drop below 2. Ways with less than 2 nodes don't make sense and JOSM tries to delete them.
     17The nodes you merge may be part of [wikitr:/Help/Concepts/Object#Ways ways]. If you merge them these parent ways may lose one or more of their nodes. In some cases the number of nodes left in these ways may drop below two. Ways with less than two nodes are invalid and JOSM tries to delete them.
    1719In some cases, though, a way to be deleted could still be in use, for instance, because a relation is referring to it. JOSM aborts merging nodes in these cases. Instead, it displays the following warning message:
    19 [[Image(warning-way-still-in-use.png)]]
    2123Click on ''Abort Merging'' to close the dialog. The selected nodes are not merged.
     26== Target position depends on last selection and advanced setting ==
     27=== Advanced Preferences ===#AdvancedPreferences
     28One of 3 modes can be set in the [[JOSMImage(preferences/advanced,link=,24,middle)]] [wikitr:/Help/Preferences/Advanced advanced preferences] with the `merge-nodes.mode` key:
     30||= **Mode setting** =||= **Description** =||
     31||  `merge-nodes.mode=0`  || default and simple: **last selected node will be used as position of resulting node**. ||
     32||  `merge-nodes.mode=1`  || to average locations of all selected nodes.
     33||  `merge-nodes.mode=2`  || weighted average where nearby nodes have lower weight than remote. ||
     35Before merge (initial state):
     37[[Image(before merge.png,800,link=)]]
     39* After merge with `merge-nodes.mode=0` (latest selected node is important):
     41 (''one of 9 positions, depending on the last node in selection'')
     43* After merge with `merge-nodes.mode=1` (without weight):
     45 [[Image(after merge-nodes.mode=1.png,800,link=)]]
     47* After merge with `merge-nodes.mode=2` (weighted average):
     49 [[Image(after merge-nodes.mode=2.png,800,link=)]]
    2352== See also ==
    24  * [Action/Select Select Move]
     53* [[JOSMImage(mapmode/move/move)]] [wikitr:/Help/Action/Select Select Move]
     54* [[JOSMImage(mapmode/improvewayaccuracy)]] [wikitr:/Help/Action/ImproveWayAccuracy Improve Way Accuracy] - over time many mappers switch to this tools instead of manually selecting-and-moving each node
     55* #6696 - patch about merge-nodes.mode
    27 Back to [Menu/Tools Tools menu][[Br]]
    28 Back to [wiki:/Help Main Help]
     58Back to [wikitr:/Help/Menu/Tools Tools menu] \\
     59Back to [wikitr:/Help Main Help]