Changes between Version 13 and Version 45 of Help/Action/Delete
- Timestamp:
- (multiple changes)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Action/Delete
v13 v45 1 1 [[TranslatedPages]] 2 = Delete = 2 [[PageOutline(2-10,Table of Contents)]] 3 3 4 ''Keyboard shortcut:'' D 4 = Delete mode = 5 [[JOSMImage(mapmode/delete,48,link=,middle,margin-right=20)]] ''Shortcut key:'' **`Ctrl+Delete` ([wikitr:/Help/ExpertMode expert mode] only)** — is one of the [wikitr:/Help/Menu/Mode#Workingmode working modes] 5 6 6 Allows the user to delete nodes and other 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 The user can click on an object, which get deleted if possible. 10 == Usage == 11 0. Clear the Selection by **`[Esc]`** or [[JOSMImage(unselectall)]] [wikitr:/Help/Action/UnselectAll Unselect All]. 9 12 10 * If a node is not part of a way then the node getsdeleted.13 Otherwise the Selection and **all referring objects** to it get deleted by entering this mode. 11 14 12 * If a node is part of a way then the node gets deleted. Then if the node was at the end of a way the way gets shortened. If the node was in the middle of the way then the way is changed so it runs between the existing points. 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 * if you click a way then the way, and any associated nodes not used by anything else, gets deleted. 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 When 'Alt' is held when using this tool the way and its' associated unused nodes are deleted.30 ⏩ The cursor changes according to the affected objects. 17 31 18 When 'Shift' is held when using this tool, the segment you clicked is removed from the way, and the way split in two.19 32 20 When Ctrl is pressed when releasing the button, the objects and all its references are deleted. The exact definition of ''all its references'' is: 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: 21 38 22 * If a node is deleted, the node and all ways and areas the node is part of are deleted as well. 39 [[Image(confirm-delete-from-relations.png,link=)]] 23 40 24 * If a way isdeleted, only the way and no nodes are 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. 25 42 26 * If an area is deleted, only the area gets deleted. 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. 27 45 28 The following key shortcuts are defined: 46 == See also == 47 * Simple [[JOSMImage(dialogs/delete)]] [wikitr:/Help/Action/EditDelete Delete] as tool 29 48 30 * If the user did not press Ctrl and the object has any references, the user is informed and nothing is deleted. 31 32 '''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'. 33 34 Back to [wiki:Help Main Help] 49 ---- 50 Back to [wikitr:/Help/EditToolbar Edit Toolbar] \\ 51 Back to [wikitr:/Help Main help]