Changes between Version 13 and Version 45 of Help/Action/Delete


Ignore:
Timestamp:
(multiple changes)
Author:
(multiple changes)
Comment:
(multiple changes)

Legend:

Unmodified
Added
Removed
Modified
  • Help/Action/Delete

    v13 v45  
    11[[TranslatedPages]]
    2 = Delete =
     2[[PageOutline(2-10,Table of Contents)]]
    33
    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]
    56
    6 Allows the user to delete nodes and other objects.
     7Delete [[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.
     8All possibly affected [wikitr:/Help/Concepts/Object objects] are highlighted in the [wikitr:/Help/MapView Map View].
    79
    8 The user can click on an object, which get deleted if possible.
     10== Usage ==
     110. Clear the Selection by **`[Esc]`** or [[JOSMImage(unselectall)]] [wikitr:/Help/Action/UnselectAll Unselect All].
    912
    10  * If a node is not part of a way then the node gets deleted.
     13 Otherwise the Selection and **all referring objects** to it get deleted by entering this mode.
    1114
    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.
     151. 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.
     171. Click on nodes, way segments and  ways to delete them.
    1318
    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.
    1529
    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.
    1731
    18 When 'Shift' is held when using this tool, the segment you clicked is removed from the way, and the way split in two.
    1932
    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
     34the anchor is a help topic
     35}}}
     36=== Deleting objects being members of relations === #DeleteFromRelations
     37If 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:
    2138
    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=)]]
    2340
    24   * If a way is deleted, only the way and no nodes are deleted.
     41The 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.
    2542
    26  * If an area is deleted, only the area gets deleted.
     43Click **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.
     44Click **OK** if you agree with removing the objects from the displayed relations.
    2745
    28 The following key shortcuts are defined:
     46== See also ==
     47* Simple [[JOSMImage(dialogs/delete)]] [wikitr:/Help/Action/EditDelete Delete] as tool
    2948
    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----
     50Back to [wikitr:/Help/EditToolbar Edit Toolbar] \\
     51Back to [wikitr:/Help Main help]