Changes between Version 89 and Version 116 of Help/Action/Select
- Timestamp:
- (multiple changes)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Action/Select
v89 v116 1 1 [[TranslatedPages]] 2 [[PageOutline(2-10,Table of Contents)]] 2 3 3 [[PageOutline(2-3,Table of Contents)]] 4 = Select mode = 4 5 5 = Select, Move, Scale and Rotate Objects = 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] 6 7 7 [[Image(source:trunk/images/mapmode/move/move.png,nolink,middle)]] ''Keyboard shortcut:'' **{{{S}}}** (Press `S` twice for [[Image(source:trunk/images/mapmode/rope.png,20,nolink,middle)]] [wiki:Help/Action/LassoMode Lasso selection mode]) — is one of the [wiki:Help/EditToolbar working modes] 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 13 This mode is to change the selection of [wikitr:/Help/Concepts/Object objects] on the map. 10 14 11 This mode is to change the selection of [Concepts/Object objects] on the map. 12 13 The selected objects are drawn in a different style (red colour by default); depending on [Help/Preferences/Display display preferences] and the [Help/Dialog/MapPaint active styles]. 15 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 16 15 17 The cursor icon will also change depending on the selection mode. 16 18 17 === Select the single object === 18 ==== Single left mouse click is used to select an object ==== 19 === Select the single object === #Selectsingle 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. || 19 26 20 Cursor: with node [[Image(source:trunk/images/cursor/modifier/select_node.svg,nolink,middle)]]; with way [[Image(source:trunk/images/cursor/modifier/select_way.svg,nolink,middle)]]21 27 22 Activation steps: {{{Left mouse click}}} 23 24 Action: Select a node or way under mouse cursor. 25 26 More precisely, ''previously selected object(s)'' will be '''replaced''' with new object and displayed [Help/Dialog/SelectionList in Selection window]. 27 28 ==== Unselecting an object ==== 29 30 Cursor: with node [[Image(source:trunk/images/cursor/modifier/select_node_remove.svg,nolink,middle)]]; with way [[Image(source:trunk/images/cursor/modifier/select_way_remove.svg,nolink,middle)]] 31 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'' 35 36 ==== Cycle in dense or overlapping objects with pop-up ==== 37 28 ==== Cycle in dense or overlapping objects ==== 38 29 Cursor: none 39 30 40 31 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'''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**. 43 34 44 35 This is useful when: 45 36 46 37 * certain way which **shares common nodes** with one or more other ways 47 * multiple '''objects overlap'''48 * multiple '''objects very close to each other'''38 * multiple **objects overlap** 39 * multiple **objects very close to each other** 49 40 * selecting between multiple nodes if they appear as single node (multiple dots appear as one) 50 41 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 [Help/Preferences/Advanced advanced preference]{{{selectaction.cycles.multiple.matches}}} to true.Holding{{{Ctrl}}}afterwards to directly select an object.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. 52 43 53 === = Double click selects surrounding ====44 === Selection rectangle === #Selectrectangle 54 45 55 Cursor: none 46 ==== Select multiple objects using selection rectangle ==== 47 Cursor: [[JOSMImage(cursor/modifier/selection)]] 56 48 57 Activation steps: {{{Double mouse click}}} 58 59 Action: select the surrounding object ([Help/Concepts/Object#Area area] or [Help/Concepts/Object#Relations multipolygon]). 60 61 === Selection rectangle === 62 ==== Select multiple objects using selection rectangle ==== 63 64 Cursor: [[Image(source:trunk/images/cursor/modifier/selection.svg,nolink,middle)]] 65 66 Activation steps: hold and drag the {{{Left mouse button}}} around objects 49 Activation steps: hold and drag the `Left mouse button` around objects 67 50 68 51 Actions: 69 * Release the {{{Left mouse button}}}- to select all [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: 70 53 * 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[Help/Dialog/SelectionListin Selectionwindow]73 * Hold the {{{Right mouse button}}}when releasing the left mouse button - cancel the selection rectangle54 * any ways which are **entirely within the rectangle** will be selected 55 * ''previously selected object(s)'' will be **replaced with new object(s)** and displayed in [wikitr:/Help/Dialog/SelectionList selection list panel] 56 * Hold the `Right mouse button` when releasing the left mouse button - cancel the selection rectangle 74 57 75 58 ==== Hold right mouse to move rectangle ==== 76 77 59 You can move defined rectangle as many times as you want: simply hold right mouse button and move mouse cursor around. 78 60 79 61 Pay attention that in order to select elements, you should release right mouse button first, then left mouse button. 80 62 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.63 ==== Modifiers ==== #Modifiers 64 When the mouse button is released and either **`Alt`**, **`Shift`**, **`Ctrl`** or **`Cmd`** is held, action will change: 83 65 84 ====== 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 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 || 68 || **Add** || **`Shift`** || [[JOSMImage(cursor/modifier/select_add)]] || The [wikitr:/Help/Concepts/Object objects] are 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. || 87 70 88 ====== Alt modifier ====== 71 * `Alt` can be combined with `Shift` 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 89 74 90 Cursor: none 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] 91 80 92 Activation steps: {{{Alt}}} 93 94 Actions: in addition to the normal behaviour, select all ways that have at least one node within selection rectangle 95 96 ====== Shift modifier ====== 97 98 Cursor: [[Image(source:trunk/images/cursor/modifier/select_add.svg,nolink,middle)]] 99 100 Activation steps: {{{Shift}}} 101 102 Actions: the [Concepts/Object objects] are added to the current selection 103 104 ====== Ctrl modifier ====== 105 106 Cursor: [[Image(source:trunk/images/cursor/modifier/select_remove.svg,nolink,middle)]] 107 108 Activation steps: 109 110 Actions: remove all [Concepts/Object objects] in current rectangle from selected objects (if there were any); nothing is added to the current selection. 111 112 == Move == 113 81 == Move == #Move 114 82 You can move the whole selection by moving the pointer close to a selected object, click and drag the pointer. 115 83 116 84 Moving is also possible with **`Shift + Arrow keys`**. 117 85 118 [[Image(source:trunk/images/mapmode/improvewayaccuracy.png,16,nolink,middle)]] [Action/ImproveWayAccuracy Improve Way Accuracy] - over time many mappers switch to this tools instead of manually selecting-and-moving each node 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 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. 119 92 120 93 === Drag a Midpoint creates New Node === 121 122 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. 123 95 124 96 Action: will insert a new node at the location of the cross 125 97 126 == Merge nodes == 98 == Merge nodes == #Mergenodes 99 Cursor: [[JOSMImage(cursor/modifier/joinnode)]] 127 100 128 Cursor: [[Image(source:trunk/images/cursor/modifier/joinnode.png,nolink,middle)]] 101 Activation steps: hold down `Ctrl` (Windows/Linux) or `Cmd` (Mac) and drag one selected node onto an unselected one 129 102 130 Acti vation steps: hold down {{{Ctrl}}} and drag one selected nodeonto an unselected one103 Action: merge selected nodes with another; internally it will simply use [wikitr:/Help/Action/MergeNodes Merge Nodes] - please read more details there. 131 104 132 Action: merge selected nodes with another; internally it will simply use [Help/Action/MergeNodes Merge tool] - please read more details here. 105 == Rotate == #Rotate 106 Cursor: [[JOSMImage(cursor/rotate)]] 133 107 134 == Rotate ==#Rotate 108 Activation steps: `Shift + Ctrl + left mouse button` (Windows/Linux) or `Shift + Cmd + left mouse button` (Mac) and moving mouse up and down 135 109 136 Cursor: [[Image(source:trunk/images/cursor/rotate.png,nolink,middle)]] 110 Action: rotate selected nodes and ways around their geometrical center. 137 111 138 Activation steps: {{{Shift+Ctrl}}} + {{{Left mouse button}}} and moving mouse up and down 139 140 Action: rotate selected nodes and ways around their geometrical centre. 112 The rotation angle is displayed in the [wikitr:/Help/StatusBar Status Bar]. 141 113 142 114 Rotation at defined angles is possible via the [osmwiki:JOSM/Plugins/ShapeTools ShapeTools Plugin]. 143 115 144 == Scale ==#Scale 116 == Scale == #Scale 117 Cursor: [[JOSMImage(cursor/scale)]] 145 118 146 Cursor: [[Image(source:trunk/images/cursor/scale.png,nolink,middle)]] 119 Activation steps: `Ctrl + Alt + left mouse button` (Windows/Linux) or `Cmd + Alt + left mouse button` (Mac) and moving mouse up and down 147 120 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. 121 Action: 122 * scale selected nodes and ways around their geometrical center. Proportions will be kept. 153 123 * if used only on 2 nodes, it will move them from or to their mid point (depending on mouse move) 154 124 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 [Help/Preferences/Advanced advanced preferences] {{{edit.initial-move-threshold}}} (pixels) and {{{edit.initial-move-delay}}} (milliseconds). 125 The scaling factor is displayed in the [wikitr:/Help/StatusBar Status Bar]. 126 127 == Advanced details ==#Advanceddetails 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). 157 131 158 132 == See also == 159 * [[Shortcuts#Altkey]] - if {{{Alt}}} doesn't work 160 * [Action/UnselectAll Unselect all] {{{Escape}}} 161 * [wiki:Help/Plugin/UtilsPlugin2 UtilsPlugin2] contains additional selection functionality 133 * [wikitr:/Shortcuts#Altkey] - if `Alt` doesn't work 134 * [wikitr:/Help/Plugin/UtilsPlugin2 UtilsPlugin2] contains additional selection functionality 162 135 163 136 ---- 164 Back to [ EditToolbar Edit Toolbar][[BR]]165 Back to [wiki:/Help Main Help] 137 Back to [wikitr:/Help/Menu/Mode Mode menu] \\ 138 Back to [wikitr:/Help Main Help]
