Changes between Version 94 and Version 106 of Help/Action/Select
- Timestamp:
- (multiple changes)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Action/Select
v94 v106 1 1 [[TranslatedPages]] 2 [[PageOutline(2-10,Table of Contents)]] 2 3 3 4 = Select, Move, Scale and Rotate Objects = 4 5 5 [[PageOutline(2-10,Table of Contents)]] 6 7 [[JOSMImage(mapmode/move/move,middle)]] ''Keyboard shortcut:'' **{{{S}}}** (Press `S` twice for [[JOSMImage(mapmode/rope,20,middle)]] [wikitr:/Help/Action/LassoMode Lasso selection mode]) — is one of the [wikitr:/Help/EditToolbar working modes] 6 [[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] 8 7 9 8 == Select mode == #Selecttool 10 11 9 This mode is to change the selection of [wikitr:/Help/Concepts/Object objects] on the map. 12 10 13 The selected objects are drawn in a different style (red color by default); depending on [wikitr:/Help/Preferences/Display preferences] and the [wikitr:/Help/Dialog/MapPaint active styles]. They are listed in the [wikitr:/Help/Dialog/SelectionList Selection window].11 The selected objects are drawn in a different style (red color by default); depending on [wikitr:/Help/Preferences/Display preferences] and the [wikitr:/Help/Dialog/MapPaint active styles]. They are listed in the [wikitr:/Help/Dialog/SelectionList selection list]. 14 12 15 13 The cursor icon will also change depending on the selection mode. 16 14 17 15 === Select the single object === #Selectsingle 16 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 17 ||= **Name** =||= **Activation steps** =||= **Cursor** =||= **Description** =|| 18 || **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]. || 19 || **Unselect** single object || `Ctrl` (Windows/Linux) or `Cmd` (Mac) 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. || 20 || **Select surrounding** || `Double left mouse click` || ''default'' || Select the surrounding object ([wikitr:/Help/Concepts/Object#Areas area] or [wikitr:/Help/Concepts/Object#Relations multipolygon]). 21 22 {{{#!comment 18 23 ==== Single left mouse click is used to select an object ==== 24 Cursor: with node [[JOSMImage(cursor/modifier/select_node)]]; with way [[JOSMImage(cursor/modifier/select_way)]] 19 25 20 Cursor: with node [[JOSMImage(cursor/modifier/select_node,middle)]]; with way [[JOSMImage(cursor/modifier/select_way,middle)]] 21 22 Activation steps: {{{Left mouse click}}} 26 Activation steps: `Left mouse click` 23 27 24 28 Action: Select a node or way under mouse cursor. 25 29 26 More precisely, ''previously selected object(s)'' will be '''replaced''' with new object and displayed [wikitr:/Help/Dialog/SelectionList in Selection window].30 More precisely, ''previously selected object(s)'' will be **replaced** with new object and displayed in [wikitr:/Help/Dialog/SelectionList selection list]. 27 31 28 32 ==== Unselecting an object ==== 33 Cursor: with node [[JOSMImage(cursor/modifier/select_node_remove)]]; with way [[JOSMImage(cursor/modifier/select_way_remove)]] 29 34 30 Cursor: with node [[JOSMImage(cursor/modifier/select_node_remove,middle)]]; with way [[JOSMImage(cursor/modifier/select_way_remove,middle)]] 35 Activation steps: hold `Ctrl` (Windows/Linux) or `Cmd` (Mac) when using `Left mouse button` 31 36 32 Activation steps: hold {{{Ctrl}}} when using {{{Left mouse button}}}[[BR(Formerly the Alt key was described as activator. That came in with version 37)]] 33 34 Action: a way or node will be removed from the ''currently selected objects'' 37 Action: a way or node will be removed from the selection. 38 }}} 35 39 36 40 ==== Cycle in dense or overlapping objects with pop-up ==== 37 38 41 Cursor: none 39 42 40 43 Activation steps: 41 * {{{Middle mouse click}}} to cycle objects with small pop-up42 * {{{Left mouse click}}} while holding the {{{Alt}}} (or {{{AltGr}}}) key to cycle through nearby objects '''without showing a pop-up window'''44 * `Middle mouse click` to cycle objects with small pop-up (see also some information about middle click on [wikitr:/Shortcuts#MacOS Mac OS]. 45 * `Left mouse click` while holding the `Alt` (or `AltGr`) key to cycle through nearby objects **without showing a pop-up window**. 43 46 44 47 This is useful when: 45 48 46 49 * certain way which **shares common nodes** with one or more other ways 47 * multiple '''objects overlap'''48 * multiple '''objects very close to each other'''50 * multiple **objects overlap** 51 * multiple **objects very close to each other** 49 52 * selecting between multiple nodes if they appear as single node (multiple dots appear as one) 50 53 51 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.54 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. 52 55 56 {{{#!comment 53 57 ==== Double click selects surrounding ==== 54 55 58 Cursor: none 56 59 57 Activation steps: {{{Double mouse click}}}60 Activation steps: `Double left mouse click` 58 61 59 Action: select the surrounding object ([wikitr:/Help/Concepts/Object#Area area] or [wikitr:/Help/Concepts/Object#Relations multipolygon]). 62 Action: select the surrounding object ([wikitr:/Help/Concepts/Object#Areas area] or [wikitr:/Help/Concepts/Object#Relations multipolygon]). 63 }}} 64 60 65 61 66 === Selection rectangle === #Selectrectangle 62 67 ==== Select multiple objects using selection rectangle ==== 68 Cursor: [[JOSMImage(cursor/modifier/selection)]] 63 69 64 Cursor: [[JOSMImage(cursor/modifier/selection,middle)]] 65 66 Activation steps: hold and drag the {{{Left mouse button}}} around objects 70 Activation steps: hold and drag the `Left mouse button` around objects 67 71 68 72 Actions: 69 * Release the {{{Left mouse button}}}- to select all [wikitr:/Help/Concepts/Object objects] within the rectangle, more precisely:73 * Release the `Left mouse button` - to select all [wikitr:/Help/Concepts/Object objects] within the rectangle, more precisely: 70 74 * all nodes within the rectangle and 71 * any ways which are '''entirely within the rectangle'''will be selected72 * ''previously selected object s'' will be '''replaced with new object(s)''' and displayed [wikitr:/Help/Dialog/SelectionList in Selection window]73 * Hold the {{{Right mouse button}}}when releasing the left mouse button - cancel the selection rectangle75 * any ways which are **entirely within the rectangle** will be selected 76 * ''previously selected object(s)'' will be **replaced with new object(s)** and displayed in [wikitr:/Help/Dialog/SelectionList selection list panel] 77 * Hold the `Right mouse button` when releasing the left mouse button - cancel the selection rectangle 74 78 75 79 ==== Hold right mouse to move rectangle ==== 76 77 80 You can move defined rectangle as many times as you want: simply hold right mouse button and move mouse cursor around. 78 81 79 82 Pay attention that in order to select elements, you should release right mouse button first, then left mouse button. 80 83 81 ==== Modifiers ==== 82 When the mouse button is released and either ** {{{Alt}}}**, **{{{Shift}}}** or **{{{Ctrl}}}** is held, action will changed; 3 paragraphs below cover it in detail.84 ==== Modifiers ==== #Modifiers 85 When the mouse button is released and either **`Alt`**, **`Shift`**, **`Ctrl`** or **`Cmd`** is held, action will change: 83 86 87 ||= **Name** =||= **Key** =||= **Cursor** =||= **Description** =|| 88 || **Select** || **`Alt`** || ''default'' || In addition to the normal behavior, select all ways that have at least one node within selection rectangle || 89 || **Add** || **`Shift`** || [[JOSMImage(cursor/modifier/select_add)]] || The [wikitr:/Help/Concepts/Object objects] are added to the current selection || 90 || **Remove** || **`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'' || 91 92 {{{#!comment 84 93 ====== Combination of modifiers ====== 85 * {{{Alt}}} can be combined with {{{Shift}}} 86 * {{{Alt}}} can't be combined with {{{Ctrl}}} - as this is used for the **[#Scale scale]** command 94 }}} 95 * `Alt` can be combined with `Shift` 96 * `Alt` can't be combined with `Ctrl` or `Cmd` - as this is used for the **scale** command described [#Scale below] 97 * `Ctrl` or `Cmd` combined with `Shift` makes no sense 87 98 99 {{{#!comment 88 100 ====== Alt modifier ====== 89 90 101 Cursor: none 91 102 92 Activation steps: {{{Alt}}}103 Activation steps: `Alt` 93 104 94 Actions: in addition to the normal behavio ur, select all ways that have at least one node within selection rectangle105 Actions: in addition to the normal behavior, select all ways that have at least one node within selection rectangle 95 106 96 107 ====== Shift modifier ====== 108 Cursor: [[JOSMImage(cursor/modifier/select_add)]] 97 109 98 Cursor: [[JOSMImage(cursor/modifier/select_add,middle)]] 99 100 Activation steps: {{{Shift}}} 110 Activation steps: `Shift` 101 111 102 112 Actions: the [wikitr:/Help/Concepts/Object objects] are added to the current selection 103 113 104 ====== Ctrl modifier ====== 114 ====== Ctrl/Cmd modifier ====== 115 Cursor: [[JOSMImage(cursor/modifier/select_remove)]] 105 116 106 Cursor: [[JOSMImage(cursor/modifier/select_remove,middle)]] 117 Activation steps: `Ctrl` (Windows/Linux) or `Cmd` (Mac) 107 118 108 Activation steps: 109 110 Actions: remove all [wikitr:/Help/Concepts/Object objects] in current rectangle from selected objects (if there were any); nothing is added to the current selection. 119 Actions: remove all [wikitr:/Help/Concepts/Object objects] in current rectangle from selection (if there were any); nothing is added to the current selection. 120 }}} 111 121 112 122 == Move == #Move 113 114 123 You can move the whole selection by moving the pointer close to a selected object, click and drag the pointer. 115 124 116 125 Moving is also possible with **`Shift + Arrow keys`**. 117 126 118 [[JOSMImage(mapmode/improvewayaccuracy,16,middle)]] [wikitr:/Help/Action/ImproveWayAccuracy Improve Way Accuracy] - over time many mappers switch to this tools instead of manually selecting-and-moving each node 127 [[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 128 129 === Aligned move of selection === 130 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. 131 132 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. 119 133 120 134 === Drag a Midpoint creates New Node === 121 122 135 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. 123 136 124 137 Action: will insert a new node at the location of the cross 125 138 139 126 140 == Merge nodes == #Mergenodes 141 Cursor: [[JOSMImage(cursor/modifier/joinnode)]] 127 142 128 Cursor: [[JOSMImage(cursor/modifier/joinnode,middle)]] 129 130 Activation steps: hold down {{{Ctrl}}} and drag one selected node onto an unselected one 143 Activation steps: hold down `Ctrl` (Windows/Linux) or `Cmd` (Mac) and drag one selected node onto an unselected one 131 144 132 145 Action: merge selected nodes with another; internally it will simply use [wikitr:/Help/Action/MergeNodes Merge Nodes] - please read more details there. 133 146 134 147 == Rotate == #Rotate 148 Cursor: [[JOSMImage(cursor/rotate)]] 135 149 136 Cursor: [[JOSMImage(cursor/rotate,middle)]] 150 Activation steps: `Shift` + `Ctrl` (Windows/Linux) or `Cmd` (Mac) + `Left mouse button` and moving mouse up and down 137 151 138 Acti vation steps: {{{Shift+Ctrl}}} + {{{Left mouse button}}} and moving mouse up and down152 Action: rotate selected nodes and ways around their geometrical center. 139 153 140 Action: rotate selected nodes and ways around their geometrical centre.154 The rotation angle is displayed in the [wikitr:/Help/StatusBar Status Bar]. 141 155 142 156 Rotation at defined angles is possible via the [osmwiki:JOSM/Plugins/ShapeTools ShapeTools Plugin]. 143 157 144 158 == Scale == #Scale 159 Cursor: [[JOSMImage(cursor/scale)]] 145 160 146 Cursor: [[JOSMImage(cursor/scale,middle)]] 161 Activation steps: `Ctrl` (Windows/Linux) or `Cmd` (Mac) + `Alt` + `Left mouse button` and moving mouse up and down 147 162 148 Activation steps: {{{Ctrl+Alt}}} + {{{Left mouse button}}} and moving mouse up and down 149 150 Action: 151 152 * scale selected nodes and ways around their geometrical centre. Proportions will be kept. 163 Action: 164 * scale selected nodes and ways around their geometrical center. Proportions will be kept. 153 165 * if used only on 2 nodes, it will move them from or to their mid point (depending on mouse move) 154 166 155 == Advanced details == 156 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). 167 The scaling factor is displayed in the [wikitr:/Help/StatusBar Status Bar]. 168 169 == Advanced details ==#Advanceddetails 170 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). 157 171 158 172 == See also == 159 * [wikitr:/Shortcuts#Altkey] - if {{{Alt}}}doesn't work160 * [wikitr:/Help/Action/UnselectAll Unselect all] {{{Escape}}}173 * [wikitr:/Shortcuts#Altkey] - if `Alt` doesn't work 174 * [wikitr:/Help/Action/UnselectAll Unselect all] `Escape` 161 175 * [wikitr:/Help/Plugin/UtilsPlugin2 UtilsPlugin2] contains additional selection functionality 162 176 163 177 ---- 164 Back to [wikitr:/Help/ EditToolbar Edit Toolbar][[BR]]178 Back to [wikitr:/Help/Menu/Mode Mode menu] \\ 165 179 Back to [wikitr:/Help Main Help]