Tools > Split Way

source:trunk/resources/images/mapmode/splitway.svg Keyboard shortcut: P

Split a way at the selected nodes.

The source:trunk/resources/images/data/way.svg way is split at the selected source:trunk/resources/images/data/node.svg nodes into contiguous ways and which all will be select afterwards.

  • If all nodes are only part of one way then you just need to select the nodes before you use Split Way.
  • 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.
  • To split a source:trunk/resources/images/data/closedway.svg closed way at least two nodes need to be selected.

Split Way will result in at least two ways, otherwise a notification message (see below) will be presented.

Detailed example

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 Draw node mode.


If the selection does not fit Split Way needs, following notification messages will be presented, if:

  • all selected nodes are shared nodes of multiple ways:

There is more than one way using the node you selected. Please, select the way also.

  • all selected nodes are not part of the same way:
  • the selected way does not contain all selected nodes:

The selected nodes do not share the same way

  • all selected nodes are only end nodes:

The way cannot be split at the selected nodes (Hint: Select nodes in the middle of the way.)

  • only one node of a closed way is selected:

You must select two or more nodes to split a circular way.

Using old object id

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 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.

Advanced Preferences

Property Default Explanation
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.

See also

Back to Menu Tools
Back to Main Menu
Back to Main Help

Last modified 12 months ago Last modified on 2023-06-25T13:20:35+02:00

Attachments (7)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.