wiki:Help/Action/Delete

Delete mode

source:trunk/resources/images/mapmode/delete.svg Shortcut key: Ctrl+Delete (expert mode only) — is one of the working modes

Delete source:trunk/resources/images/data/node.svg nodes, segments, source:trunk/resources/images/data/way.svg ways and source:trunk/resources/images/data/relation.svg relations by a single mouse click. All possibly affected objects are highlighted in the Map View.

Usage

  1. Clear the Selection by [Esc] or source:trunk/resources/images/unselectall.svg Unselect All.

Otherwise the Selection and all referring objects to it get deleted by entering this mode.

  1. Enter the Delete mode by shortcut key, via the Mode menu or via the Edit toolbar.
    The cursor changes.
  2. Click on nodes, way segments and ways to delete them.

Modifiers

  • Shift to remove only a way segment.
    The remaining parts of the way are split apart.
  • Alt to spare the nodes of a way.
    These nodes will remain even when they are unused.
  • Ctrl to additionally delete all objects which reference the selected object without further warning, relations included.
    The definition of reference is:
    • a node references all ways it is connected to
    • an object references all relations it is member of
    • a simple way which is not a member of a relation has no references.

⏩ The cursor changes according to the affected objects.

Deleting objects being members of relations

If you delete an object which is part of a relation the object has to be removed from the relation. JOSM doesn't silently do so. Rather, the following confirmation dialog is displayed:

The entries in the displayed list indicate from which relations (second column in the table) the object (or the objects, if you delete more than one object) have to be removed.

Click Cancel if you don't want to remove the objects from these relations. In this case, JOSM doesn't delete the objects either, the operation is aborted. Click OK if you agree with removing the objects from the displayed relations.

See also


Back to Edit Toolbar
Back to Main help

Last modified 5 weeks ago Last modified on 2020-08-25T17:05:43+02:00

Attachments (1)

Download all attachments as: .zip