Changes between Version 97 and Version 116 of Help/Action/Select
- Timestamp:
- (multiple changes)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Action/Select
v97 v116 1 1 [[TranslatedPages]] 2 3 = Select, Move, Scale and Rotate Objects =4 5 2 [[PageOutline(2-10,Table of Contents)]] 6 3 7 [[JOSMImage(mapmode/move/move,link=,48,middle,margin-right=20)]] ''Keyboard shortcut:'' '''{{{S}}}''' (Press `S` twice for [[JOSMImage(mapmode/rope)]] [wikitr:/Help/Action/LassoMode Lasso selection mode]) — is one of the [wikitr:/Help/EditToolbar working modes] 4 = Select mode = 5 6 [[JOSMImage(mapmode/move/move,link=,48,middle,margin-right=20)]] ''Keyboard shortcut:'' **`S`** (press `S` again to toggle between [[JOSMImage(mapmode/rope)]] [wikitr:/Help/Action/LassoMode Lasso mode] and this Select mode) — is one of the [wikitr:/Help/Menu/Mode#Workingmode working modes] 7 8 **[#Selecttool Select], [#Move move], [#Scale scale] and [#Rotate rotate] [wikitr:/Help/Concepts/Object objects].** \\ 9 Despite its name this mode provides some actions. \\ 10 The only difference between Select mode and [[JOSMImage(mapmode/rope)]] [wikitr:/Help/Action/LassoMode Lasso mode] is the area selection mode. All other selection modes and actions are identical. 8 11 9 12 == Select mode == #Selecttool 10 11 13 This mode is to change the selection of [wikitr:/Help/Concepts/Object objects] on the map. 12 14 … … 16 18 17 19 === Select the single object === #Selectsingle 18 The cursor changes depending on the object. In the table below, the first icon is for a [[JOSMImage(data/node)]] node and the second for a [[JOSMImage(data/way)]] way 19 ||= Name =||= Activation steps =||= Cursor =||= Description =|| 20 || **Select** single object || `Left mouse click` || [[JOSMImage(cursor/modifier/select_node)]] \\ [[JOSMImage(cursor/modifier/select_way)]] || Select a node or way under mouse cursor. More precisely, ''previously selected object(s)'' will be **replaced** with new object and displayed in [wikitr:/Help/Dialog/SelectionList selection list]. || 21 || **Unselect** single object || `Ctrl` plus \\ `Left mouse click` || [[JOSMImage(cursor/modifier/select_node_remove)]] \\ [[JOSMImage(cursor/modifier/select_way_remove)]] || A way or node will be removed from the selection. || 22 || **Select surrounding** || `Double left mouse click` || ''default'' || Select the surrounding object ([wikitr:/Help/Concepts/Object#Areas area] or [wikitr:/Help/Concepts/Object#Relations multipolygon]). 20 The cursor changes depending on the object. In the table below, the icon on the top is the default, the icon(s) in the middle for a [[JOSMImage(data/node)]] node and the icon(s) on the bottom for a [[JOSMImage(data/way)]] way. 21 ||= **Name** =||= **Activation steps** =||= **Cursor** =||= **Description** =|| 22 || **Select** || **`Left mouse click`** || [[JOSMImage(cursor/modifier/selection)]] \\ [[JOSMImage(cursor/modifier/select_node)]] \\ [[JOSMImage(cursor/modifier/select_way)]] || Select a node or way under mouse cursor. More precisely, ''previously selected object(s)'' will be **replaced** with new object and displayed in [wikitr:/Help/Dialog/SelectionList selection list]. || 23 || **Add** || **`Shift + Left mouse click`** || [[JOSMImage(cursor/modifier/select_add)]] \\ [[JOSMImage(cursor/modifier/select_node_add)]] \\ [[JOSMImage(cursor/modifier/select_way_add)]] || Add a node or way under mouse cursor to the selection. || 24 || **Toggle** || **`Ctrl + Left mouse click`** (Windows/Linux) \\ **`Cmd + Left mouse click`** (Mac) || [[JOSMImage(cursor/modifier/select_remove)]] \\ [[JOSMImage(cursor/modifier/select_node_add)]] [[JOSMImage(cursor/modifier/select_node_remove)]] \\ [[JOSMImage(cursor/modifier/select_way_add)]] [[JOSMImage(cursor/modifier/select_way_remove)]] || The selection of a node or way will be **toggled**. More precisely, previously unselected object will be added to the selection and previously selected object will be removed from the selection. || 25 || **Select surrounding** || **`Double left mouse click`** || ''default'' || Select the surrounding object ([[JOSMImage(data/closedway)]] [wikitr:/Help/Concepts/Object#Areas area] or [[JOSMImage(data/multipolygon)]] [wikitr:/Help/Concepts/Object#Relations multipolygon]). \\ \\ Can be used in combination with `Shift` or `Ctrl` but `Ctrl` only removes the surrounding object from the selection in this use case. || 23 26 24 {{{#!comment25 ==== Single left mouse click is used to select an object ====26 Cursor: with node [[JOSMImage(cursor/modifier/select_node)]]; with way [[JOSMImage(cursor/modifier/select_way)]]27 27 28 Activation steps: {{{Left mouse click}}} 29 30 Action: Select a node or way under mouse cursor. 31 32 More precisely, ''previously selected object(s)'' will be **replaced** with new object and displayed in [wikitr:/Help/Dialog/SelectionList selection list]. 33 34 ==== Unselecting an object ==== 35 Cursor: with node [[JOSMImage(cursor/modifier/select_node_remove)]]; with way [[JOSMImage(cursor/modifier/select_way_remove)]] 36 37 Activation steps: hold {{{Ctrl}}} when using {{{Left mouse button}}} 38 39 Action: a way or node will be removed from the selection. 40 }}} 41 42 ==== Cycle in dense or overlapping objects with pop-up ==== 28 ==== Cycle in dense or overlapping objects ==== 43 29 Cursor: none 44 30 45 31 Activation steps: 46 * {{{Middle mouse click}}}to cycle objects with small pop-up47 * {{{Left mouse click}}}while holding the{{{Alt}}} (or {{{AltGr}}}) key to cycle through nearby objects'''without showing a pop-up window'''32 * `Middle mouse click` to cycle objects with small pop-up (see also some information about middle click on [wikitr:/Shortcuts#MacOS Mac OS]). 33 * `Left mouse click` while holding the `Alt` (or `AltGr`) key to cycle through nearby objects **without showing a pop-up window**. 48 34 49 35 This is useful when: 50 36 51 37 * certain way which **shares common nodes** with one or more other ways 52 * multiple '''objects overlap'''53 * multiple '''objects very close to each other'''38 * multiple **objects overlap** 39 * multiple **objects very close to each other** 54 40 * selecting between multiple nodes if they appear as single node (multiple dots appear as one) 55 41 56 Action: it will show a pop-up window of nearby objects and to cycle through them. To make this type of selection the default, and thus not require the use of the **{{{Alt}}}** key, change the [wikitr:/Help/Preferences/Advanced advanced preference] {{{selectaction.cycles.multiple.matches}}} to true. Holding {{{Ctrl}}} afterwards to directly select an object. 57 58 {{{#!comment 59 ==== Double click selects surrounding ==== 60 Cursor: none 61 62 Activation steps: {{{Double left mouse click}}} 63 64 Action: select the surrounding object ([wikitr:/Help/Concepts/Object#Areas area] or [wikitr:/Help/Concepts/Object#Relations multipolygon]). 65 }}} 66 42 Action: it will show a pop-up window of nearby objects and to cycle through them. To make this type of selection the default, and thus not require the use of the **`Alt`** key, change the [wikitr:/Help/Preferences/Advanced advanced preference] `selectaction.cycles.multiple.matches` to true. Holding `Ctrl` (Windows/Linux) or `Cmd` (Mac) afterwards to directly select an object. 67 43 68 44 === Selection rectangle === #Selectrectangle 45 69 46 ==== Select multiple objects using selection rectangle ==== 70 47 Cursor: [[JOSMImage(cursor/modifier/selection)]] 71 48 72 Activation steps: hold and drag the {{{Left mouse button}}}around objects49 Activation steps: hold and drag the `Left mouse button` around objects 73 50 74 51 Actions: 75 * Release the {{{Left mouse button}}}- to select all [wikitr:/Help/Concepts/Object objects] within the rectangle, more precisely:52 * Release the `Left mouse button` - to select all [wikitr:/Help/Concepts/Object objects] within the rectangle, more precisely: 76 53 * all nodes within the rectangle and 77 54 * any ways which are **entirely within the rectangle** will be selected 78 55 * ''previously selected object(s)'' will be **replaced with new object(s)** and displayed in [wikitr:/Help/Dialog/SelectionList selection list panel] 79 * Hold the {{{Right mouse button}}}when releasing the left mouse button - cancel the selection rectangle56 * Hold the `Right mouse button` when releasing the left mouse button - cancel the selection rectangle 80 57 81 58 ==== Hold right mouse to move rectangle ==== … … 84 61 Pay attention that in order to select elements, you should release right mouse button first, then left mouse button. 85 62 86 ==== Modifiers ==== 87 When the mouse button is released and either **`Alt`**, **`Shift`** or **`C trl`** is held, action will change:63 ==== Modifiers ==== #Modifiers 64 When the mouse button is released and either **`Alt`**, **`Shift`**, **`Ctrl`** or **`Cmd`** is held, action will change: 88 65 89 ||= Name =||= Key =||= Cursor =||=Description =||90 || ** Select** || **`Alt`** || ''default'' || In addition to the normal behavior, select all ways that have at least one node within selection rectangle ||66 ||= **Name** =||= **Key** =||= **Cursor** =||= **Description** =|| 67 || **Extended way selection** || **`Alt`** || ''default'' || In addition to the normal behavior, select all ways that have at least one node within selection rectangle || 91 68 || **Add** || **`Shift`** || [[JOSMImage(cursor/modifier/select_add)]] || The [wikitr:/Help/Concepts/Object objects] are added to the current selection || 92 || ** Remove** || **`Ctrl`** || [[JOSMImage(cursor/modifier/select_remove)]] || Remove all [wikitr:/Help/Concepts/Object objects] in current rectangle from selection (if there were any); \\''nothing is added to the current selection''||69 || **Unselect** || **`Ctrl`** (Windows/Linux) or **`Cmd`** (Mac) || [[JOSMImage(cursor/modifier/select_remove)]] || Remove all [wikitr:/Help/Concepts/Object objects] in current rectangle from selection (if there were any). \\Nothing is added to the current selection. || 93 70 94 {{{#!comment95 ====== Combination of modifiers ======96 }}}97 71 * `Alt` can be combined with `Shift` 98 * `Alt` can't be combined with `Ctrl` - as this is used for the **scale** command described [#Scale below] 99 * `Ctrl` combined with `Shift` makes no sense 72 * `Alt` can't be combined with `Ctrl` or `Cmd` - as this is used for the **scale** command described [#Scale below] 73 * `Ctrl` or `Cmd` combined with `Shift` makes no sense 100 74 101 {{{#!comment 102 ====== Alt modifier ====== 103 Cursor: none 104 105 Activation steps: {{{Alt}}} 106 107 Actions: in addition to the normal behavior, select all ways that have at least one node within selection rectangle 108 109 ====== Shift modifier ====== 110 Cursor: [[JOSMImage(cursor/modifier/select_add)]] 111 112 Activation steps: {{{Shift}}} 113 114 Actions: the [wikitr:/Help/Concepts/Object objects] are added to the current selection 115 116 ====== Ctrl modifier ====== 117 Cursor: [[JOSMImage(cursor/modifier/select_remove)]] 118 119 Activation steps: {{{Ctrl}}} 120 121 Actions: remove all [wikitr:/Help/Concepts/Object objects] in current rectangle from selection (if there were any); nothing is added to the current selection. 122 }}} 75 === Unselect all === 76 You can unselect all by: 77 * `Esc` key **or** 78 * `Left mouse click` into empty map area **or** 79 * [wikitr:/Help/Action/UnselectAll Selection > Unselect All] 123 80 124 81 == Move == #Move … … 129 86 [[JOSMImage(mapmode/improvewayaccuracy)]] [wikitr:/Help/Action/ImproveWayAccuracy Improve Way Accuracy] - over time many mappers switch to this tools instead of manually selecting-and-moving each node 130 87 88 === Aligned move of selection === 89 If the last-added way in the selection consists of exactly two nodes, then the whole move can be aligned to its direction by pressing and holding `Ctrl` (Windows/Linux) or `Cmd` (Mac) while dragging. 90 91 After mousebutton-down you can toggle `Ctrl` (resp. `Cmd`) arbitrarily often to switch between free and aligned move. The constrain offers four directions defined by the last-selected way (move within its direction, against it, and 90° rotations of these; vaguely comparable to the cardinal directions of a compass). To end an aligned move, it is recommended to release the mouse button before keyboard modifier key. 92 131 93 === Drag a Midpoint creates New Node === 132 94 Activation steps: ''clicking and dragging'' a yellow cross in the middle of a segment; at any point in time, there N mid points to drag where N is number of segments. … … 134 96 Action: will insert a new node at the location of the cross 135 97 136 137 98 == Merge nodes == #Mergenodes 138 99 Cursor: [[JOSMImage(cursor/modifier/joinnode)]] 139 100 140 Activation steps: hold down {{{Ctrl}}}and drag one selected node onto an unselected one101 Activation steps: hold down `Ctrl` (Windows/Linux) or `Cmd` (Mac) and drag one selected node onto an unselected one 141 102 142 103 Action: merge selected nodes with another; internally it will simply use [wikitr:/Help/Action/MergeNodes Merge Nodes] - please read more details there. 143 144 104 145 105 == Rotate == #Rotate 146 106 Cursor: [[JOSMImage(cursor/rotate)]] 147 107 148 Activation steps: {{{Shift+Ctrl}}} + {{{Left mouse button}}}and moving mouse up and down108 Activation steps: `Shift + Ctrl + left mouse button` (Windows/Linux) or `Shift + Cmd + left mouse button` (Mac) and moving mouse up and down 149 109 150 110 Action: rotate selected nodes and ways around their geometrical center. 151 111 112 The rotation angle is displayed in the [wikitr:/Help/StatusBar Status Bar]. 113 152 114 Rotation at defined angles is possible via the [osmwiki:JOSM/Plugins/ShapeTools ShapeTools Plugin]. 153 154 115 155 116 == Scale == #Scale 156 117 Cursor: [[JOSMImage(cursor/scale)]] 157 118 158 Activation steps: {{{Ctrl+Alt}}} + {{{Left mouse button}}}and moving mouse up and down119 Activation steps: `Ctrl + Alt + left mouse button` (Windows/Linux) or `Cmd + Alt + left mouse button` (Mac) and moving mouse up and down 159 120 160 Action: 161 121 Action: 162 122 * scale selected nodes and ways around their geometrical center. Proportions will be kept. 163 123 * if used only on 2 nodes, it will move them from or to their mid point (depending on mouse move) 164 124 125 The scaling factor is displayed in the [wikitr:/Help/StatusBar Status Bar]. 165 126 166 127 == Advanced details ==#Advanceddetails 167 Whether a mouse action is considered a selection or a move depends on some settings, to prevent objects from being moved when a simple selection was intended; this is particularly important on devices such as tablets that are touch sensitive or use a stylus. If the pointer is moved between pressing and releasing the left mouse button, the object will only be moved if the pointer moved more than 5 pixels or was held down for more than 0.2 seconds, otherwise the object will simply be selected. These two settings can be changed with the [wikitr:/Help/Preferences/Advanced advanced preferences] {{{edit.initial-move-threshold}}} (pixels) and {{{edit.initial-move-delay}}} (milliseconds). 168 128 Whether a mouse action is considered a selection or a move depends on some settings, to prevent objects from being moved when a simple selection was intended; this is particularly important on devices such as tablets that are touch sensitive or use a stylus. 129 If the pointer is moved between pressing and releasing the left mouse button, the object will only be moved if the pointer moved more than 5 pixels or was held down for more than 0.2 seconds, otherwise the object will simply be selected. 130 These two settings can be changed with the [wikitr:/Help/Preferences/Advanced advanced preferences] `edit.initial-move-threshold` (pixels) and `edit.initial-move-delay` (milliseconds). 169 131 170 132 == See also == 171 * [wikitr:/Shortcuts#Altkey] - if {{{Alt}}} doesn't work 172 * [wikitr:/Help/Action/UnselectAll Unselect all] {{{Escape}}} 133 * [wikitr:/Shortcuts#Altkey] - if `Alt` doesn't work 173 134 * [wikitr:/Help/Plugin/UtilsPlugin2 UtilsPlugin2] contains additional selection functionality 174 135 175 136 ---- 176 Back to [wikitr:/Help/ EditToolbar Edit Toolbar] \\137 Back to [wikitr:/Help/Menu/Mode Mode menu] \\ 177 138 Back to [wikitr:/Help Main Help]
