13 | | How the split way tool works is dependent on what is selected. |
14 | | |
15 | | == 1. One or more NODES (and, optionally, also one way) selected: == |
16 | | |
17 | | Way is split at the selected node(s) into contiguous ways. If you select just one node then the way will be split into two ways, if you select two nodes, the way will be split into three ways, etc. If the original contained one or more parts that were not reachable from any of the nodes, they form an extra new way. If there is no existing node at the point where you want to split the way, then you can first add a node using the [wiki:/Help/Action/AddNode node insert] tool. |
| 17 | === Detailed example === |
| 18 | If you select just one node then the way will be split into two ways. \\ |
| 19 | If you select two nodes, the way will be split into three ways, etc.. \\ |
| 20 | If the original contained one or more parts that were not reachable from any of the nodes, they form an extra new way. \\ |
| 21 | If there is no existing node at the point where you want to split the way, then you can first add a node using the [wikitr:/Help/Action/Draw Draw node mode]. |
27 | | 2 2 |
28 | | | | |
29 | | 1---A---3 becomes three ways: 1---A and A and A---3 |
30 | | }}} |
31 | | This function will result in at least two ways, unless the selected node is at the end of the way AND the way is contiguous, which will lead to an error message. |
| 31 | `There is more than one way using the node you selected. Please, select the way also.` |
| 32 | |
| 33 | \\ [[Image(josm_split_way_message_same_way.png,link=,right,margin-left=10)]] |
| 34 | * all selected nodes are not part of the same way: \\ |
| 35 | ''**or**'' |
| 36 | * the selected way does not contain all selected nodes: |
| 37 | |
| 38 | `The selected nodes do not share the same way` |
| 39 | |
| 40 | [[Image(josm_split_way_message_cannot_node.png,link=,right,margin-left=10)]] |
| 41 | * all selected nodes are only end nodes: |
| 42 | |
| 43 | `The way cannot be split at the selected nodes (Hint: Select nodes in the middle of the way.)` |
| 44 | |
| 45 | \\ [[Image(josm_split_way_message_circular.png,link=,right,margin-left=10)]] |
| 46 | * only one node of a closed way is selected: |
| 47 | |
| 48 | `You must select two or more nodes to split a circular way.` |
| 49 | |
| 50 | |
| 51 | == Using old object id ==#Usingoldobjectid |
| 52 | [[Image(id_reuse.png,link=,right,margin-left=100,margin-right=100)]] |
| 53 | Since r8886 when splitting a way, JOSM will use the existing id of the way for the longest new segment (longest means with the most nodes). This way the longest part will keep the object history and it is easier to understand, if someone just splits a short part of a long way. If [wikitr:/Help/ExpertMode expert mode] is enabled, a popup appears where you can choose, which segment should use the old object id. The selected segment is additionally highlighted in Mapview by default the longest segment is already selected in this window. |
| 54 | |
| 55 | == Advanced Preferences ==#AdvancedPreferences |
| 56 | ||= Property =||= Default =||= Explanation =|| |
| 57 | || **`message.way.split.segment-selection-dialog`** || `true` || Set to `false` will not display the reuse id dialog anymore. The `Do not show again …` options in the dialog may set it to `false`. || |