Changes between Version 20 and Version 21 of Help/Action/SplitWay


Ignore:
Timestamp:
2020-02-04T01:54:39+01:00 (6 years ago)
Author:
skyper
Comment:

added notification; clean up of description

Legend:

Unmodified
Added
Removed
Modified
  • Help/Action/SplitWay

    v20 v21  
    22
    33= Tools > Split Way =
     4[[PageOutline(2-10,Table of Contents)]]
    45
    5 [[Image(source:/trunk/images/splitway.png)]] ''Keyboard shortcut:'' '''{{{P}}}'''
     6[[Image(source:/trunk/images/splitway.png,middle)]] ''Keyboard shortcut:'' '''{{{P}}}'''
    67
    78'''Split a way at the selected nodes.'''
    89
    9 If a node is only part of one way then you just need to select the node before you use the 'Split Way' tool.  If the node is shared by two or more ways then you need to select both the node '''and''' the way which you want to split.
     10The way is split at the selected nodes into contiguous ways and which all will be select afterwards.
     11* If all nodes are only part of one way then you just need to select the nodes before you use Split Way.
     12* If all nodes are shared by two or more ways then you need to select both the nodes **''and''** the way which you want to split.
     13* To split a [wikitr:/Help/Concepts/Object#ClosedWays closed way] at least two nodes need to be selected.
    1014
    11 All nodes must be part of the same way. If a way is also selected, that way must contain all selected nodes.
     15Split Way will result in at least two ways, otherwise a notification message ([#Notifications see below]) will be presented.
    1216
    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 [wikitr:/Help/Action/Draw Draw node mode].
     17=== Detailed example ===
     18If 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 [wikitr:/Help/Action/Draw Draw node mode].
    1819
    1920[[Image(SplitWay_illustration.svg)]]
    2021
    21 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.
     22=== Notifications === #Notifications
     23If the selection does not fit Split Way needs, following notification messages will be presented, if:
     24* all selected nodes are shared nodes of multiple ways
     25 
     26[[Image(josm_split_way_message_multiple_ways.png)]]
     27
     28* all selected nodes are not part of the same way ''**or**''
     29* the selected way does not contain all selected nodes
     30
     31[[Image(josm_split_way_message_same_way.png)]]
     32
     33* all selected nodes are only end nodes
     34
     35[[Image(josm_split_way_message_cannot_node.png)]]
     36
     37* only one node of a closed way is selected
     38
     39[[Image(josm_split_way_message_circular.png)]]
    2240
    2341
    24 == Using old object id ==
    25 
    26 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. By default the longest segment is already selected in this window.
    27 
     42== Using old object id == #UsingOldId
     43Since 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.
    2844[[Image(id_reuse.png)]]
    2945
    30 === Advanced Preferences ===
     46== Advanced Preferences ==
    3147||= Property =||= Default =||= Explanation =||
    3248|| {{{message.way.split.segment-selection-dialog}}} || || Set to {{{true}}}, to display the reuse id dialog again if you once selected "Do not show again". ||
    3349
    3450== See also ==
    35 
    3651 * [[Image(source:/trunk/images/combineway.svg,middle)]] [wikitr:/Help/Action/CombineWay Combine Way]
    3752