[[TranslatedPages]] [[PageOutline(2-10,Table of Contents)]] = Delete mode = [[JOSMImage(mapmode/delete,bottom)]] ''Shortcut key:'' **`Ctrl+Delete` ([ExpertMode expert mode] only)** Delete nodes, segments, ways and relations by a single mouse click. All possibly affected objects are highlighted in the Map View. == Usage == 0. Clear the Selection by **`[Esc]`** or [[JOSMImage(unselectall,middle)]] [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 or via the [wikitr:/Help/EditToolbar#Workingmode 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 os 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 [wikitr:/Help/Concepts/Object 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)]] 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,20,middle)]] [wikitr:/Help/Action/EditDelete Delete] as tool ---- Back to [wikitr:/Help/EditToolbar Edit Toolbar]\\ Back to [wikitr:/Help Main help]