[[TranslatedPages]] [[PageOutline(2-10,Table of Contents)]] = Delete mode = [[JOSMImage(mapmode/delete,48,link=,middle,margin-right=20)]] ''Shortcut key:'' **`Ctrl+Delete` ([ExpertMode expert mode] only)** — is one of the [wikitr:/Help/EditToolbar working modes] Delete [[JOSMImage(data/node)]] [wikitr:/Help/Concepts/Object#Nodes nodes], [wikitr:/Help/Concepts/Object#Segment segments], [[JOSMImage(data/way)]] [wikitr:/Help/Concepts/Object#Ways ways] and [[JOSMImage(data/relation)]] [wikitr:/Help/Concepts/Object#Relations relations] by a single mouse click. All possibly affected [wikitr:/Help/Concepts/Object objects] are highlighted in the [wikitr:/Help/MapView Map View]. == Usage == 0. Clear the Selection by **`[Esc]`** or [[JOSMImage(unselectall)]] [wikitr:/Help/Action/UnselectAll 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 [wikitr:/Help/Menu/Mode#Workingmode Mode menu] or via the [wikitr:/Help/EditToolbar Edit toolbar]. \\ The cursor changes. 1. 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. {{{#!comment the anchor is a help topic }}} === Deleting objects being members of relations === #DeleteFromRelations If you delete an [wikitr:/Help/Concepts/Object object] which is part of a [wikitr:/Help/Concepts/Object#Relations relation] the object has to be removed from the relation. JOSM doesn't silently do so. Rather, the following confirmation dialog is displayed: [[Image(confirm-delete-from-relations.png,link=)]] 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 == * Simple [[JOSMImage(dialogs/delete)]] [wikitr:/Help/Action/EditDelete Delete] as tool ---- Back to [wikitr:/Help/EditToolbar Edit Toolbar] \\ Back to [wikitr:/Help Main help]