Changes between Version 25 and Version 43 of Help/Action/Delete
- Timestamp:
- (multiple changes)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Action/Delete
v25 v43 1 1 [[TranslatedPages]] 2 [[PageOutline(2-10,Table of Contents)]] 2 3 3 = Edit > 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] 4 6 5 [[Image(source:trunk/images/dialogs/delete.png)]] ''Keyboard shortcut:'' '''{{{Ctrl+Del}}}''' 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]. 6 9 7 '''Allows the user to delete nodes and other [Concepts/Object objects].''' 10 == Usage == 11 0. Clear the Selection by **`[Esc]`** or [[JOSMImage(unselectall)]] [wikitr:/Help/Action/UnselectAll Unselect All]. 8 12 9 [[TOC(inline)]] 13 Otherwise the Selection and **all referring objects** to it get deleted by entering this mode. 10 14 11 == Deleting objects == 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. 12 18 13 The user can click on an [Concepts/Object object], which gets deleted if possible. 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. 14 29 15 * If a node is not part of a way then the node gets deleted. 16 * If a node is part of a way then the node gets deleted. 17 * If the node was at the end of a way, the way gets shortened. 18 * If the node was in the middle of the way, the way is changed that it runs between the remaining nodes. 19 * If the user clicks on a way then the way and any associated nodes not used by anything else, get deleted. 30 ⏩ The cursor changes according to the affected objects. 20 31 21 When '''{{{Alt}}}''' is held when using this tool the way and its' associated unused nodes are deleted.22 32 23 When '''{{{Shift}}}''' is held when using this tool, the segment you clicked is removed from the way, and the way split into two. 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 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: 26 * If a node is deleted, the node and all ways and areas the node is part of are deleted as well. 27 * If a way is deleted, only the way and no nodes are deleted. 28 * If an area is deleted, only the area gets deleted. 39 [[Image(confirm-delete-from-relations.png,link=)]] 29 40 30 The following key shortcuts are defined: 31 * If the user did not press '''{{{Ctrl}}}''' and the object has any references, the user is informed and nothing is deleted. 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. 32 42 33 '''Note:''' in some Linux desktop environment (e.g. KDE) the Alt-click event is captured to perform actions like dragging the window across the screen. To reclaim this combination to Josm you have to open the Control Center, click on Desktop, Window Behaviour, Actions and change the modifier key to something different than '''{{{Alt}}}'''. 34 35 == Deleting objects being part of relations == #DeleteFromRelations 36 37 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: 38 39 [[Image(confirm-delete-from-relations.png)]] 40 41 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. 42 43 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. 44 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. 45 45 46 46 == See also == 47 48 * [Concepts/Object Objects] 49 * [EditToolbar Edit Toolbar] 47 * Simple [[JOSMImage(dialogs/delete)]] [wikitr:/Help/Action/EditDelete Delete] as tool 50 48 51 49 ---- 52 Back to [wiki:/Help Main Help] 50 Back to [wikitr:/Help/EditToolbar Edit Toolbar] \\ 51 Back to [wikitr:/Help Main help]