Changes between Version 35 and Version 43 of Help/Action/Delete
- Timestamp:
- (multiple changes)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Action/Delete
v35 v43 1 1 [[TranslatedPages]] 2 [[PageOutline ]]2 [[PageOutline(2-10,Table of Contents)]] 3 3 4 [[Image(source:trunk/images/mapmode/delete.png)]] ''Keyboard shortcut:'' '''{{{Ctrl}}} + {{{Delete}}}''' 4 = Delete mode = 5 [[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] 5 6 6 '''Allows the user to delete nodes and other [Concepts/Object objects].''' 7 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. 8 All possibly affected [wikitr:/Help/Concepts/Object objects] are highlighted in the [wikitr:/Help/MapView Map View]. 7 9 8 == Delete mode == 10 == Usage == 11 0. Clear the Selection by **`[Esc]`** or [[JOSMImage(unselectall)]] [wikitr:/Help/Action/UnselectAll Unselect All]. 9 12 10 === Alt modifier === 13 Otherwise the Selection and **all referring objects** to it get deleted by entering this mode. 11 14 12 {{{Ctrl}}} + {{{Delete}}}, when '''{{{Alt}}}''' is held when using this tool the way and its' associated unused nodes are deleted. 15 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]. \\ 16 The cursor changes. 17 1. Click on nodes, way segments and ways to delete them. 13 18 14 === Shift modifier === 19 === Modifiers === 20 * `Shift` to remove only a way segment. \\ 21 The remaining parts of the way are split apart. 22 * `Alt` to spare the nodes of a way. \\ 23 These nodes will remain even when they are unused. 24 * `Ctrl` to additionally delete all objects which reference the selected object **without further warning**, relations included. \\ 25 The definition of ''reference'' is: 26 * a node references all ways it is connected to 27 * an object references all relations it is member of 28 * a simple way which is not a member of a relation has no references. 15 29 16 {{{Ctrl}}} + {{{Delete}}}, when '''{{{Shift}}}''' is held when using this tool, the segment you clicked is removed from the way, and the way split into two.30 ⏩ The cursor changes according to the affected objects. 17 31 18 === Ctrl modifier ===19 32 20 {{{Ctrl}}} + {{{Delete}}}, when '''{{{Ctrl}}}''' is pressed when releasing the button, the [Concepts/Object objects] and all its references are deleted. The exact definition of ''all its references'' is: 21 * If a node is deleted, the node and all ways and areas the node is part of are deleted as well. 22 * If a way is deleted, only the way and no nodes are deleted. 23 * If an area is deleted, only the area gets deleted. 33 {{{#!comment 34 the anchor is a help topic 35 }}} 36 === Deleting objects being members of relations === #DeleteFromRelations 37 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: 24 38 25 The following key shortcuts are defined: 26 * If the user did not press '''{{{Ctrl}}}''' and the object has any references, the user is informed and nothing is deleted. 39 [[Image(confirm-delete-from-relations.png,link=)]] 27 40 28 == Deleting objects being part of relations == #DeleteFromRelations 41 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. 29 42 30 If you delete an [Concepts/Object object] which is part of a [Concepts/Object#Relations relation] the [Concepts/Object object] has to be removed from the [Concepts/Object#Relations relation]. JOSM doesn't silently do so. Rather, the following confirmation dialog is displayed: 31 32 [[Image(confirm-delete-from-relations.png)]] 33 34 The entries in the displayed list indicate from which [Concepts/Object#Relations relations] (second column in the table) the [Concepts/Object object] (or the objects, if you delete more than one object) have to be removed. 35 36 Click '''Cancel''' if you don't want to remove the [Concepts/Object objects] from these [Concepts/Object#Relations relations]. In this case, JOSM doesn't delete the [Concepts/Object objects] either, the operation is aborted. 37 Click '''OK''' if you agree with removing the [Concepts/Object objects] from the displayed [Concepts/Object#Relations relations]. 43 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. 44 Click **OK** if you agree with removing the objects from the displayed relations. 38 45 39 46 == See also == 40 41 * [[Image(source:trunk/images/dialogs/delete.svg,20)]] [wiki:/Help/Action/EditDelete Delete tool], {{{Delete}}} - simpler variant of this mode 42 * [Concepts/Object Objects] 43 * [EditToolbar Edit Toolbar] 44 * [[Shortcuts#Altkey]] - shortcuts utilizing {{{Alt}}} key may be inaccessible at some platforms, more details here 47 * Simple [[JOSMImage(dialogs/delete)]] [wikitr:/Help/Action/EditDelete Delete] as tool 45 48 46 49 ---- 47 Back to [wiki:/Help Main Help] 50 Back to [wikitr:/Help/EditToolbar Edit Toolbar] \\ 51 Back to [wikitr:/Help Main help]