Changes between Version 25 and Version 100 of Help/Action/Select


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

Legend:

Unmodified
Added
Removed
Modified
  • Help/Action/Select

    v25 v100  
    11[[TranslatedPages]]
     2[[PageOutline(2-10,Table of Contents)]]
    23
    3 = Select, Move and Rotate Objects =
     4= Select, Move, Scale and Rotate Objects =
    45
    5 [[Image(source:trunk/images/mapmode/move/move.png)]] ''Keyboard shortcut:'' **{{{S}}}**
     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]
    67
    7 **This tool has four possible modes:**
     8== Select mode == #Selecttool
     9This mode is to change the selection of [wikitr:/Help/Concepts/Object objects] on the map.
    810
    9 [[TOC(inline)]]
     11The 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].
    1012
    11 == Select tool ==
     13The cursor icon will also change depending on the selection mode.
    1214
    13 This MapMode enables the user to make selections of different [Concepts/Object objects]. The selected objects are drawn in a different style, depending on [Help/Preferences/Display display preferences] and the [Help/Dialog/MapPaint active styles]. The cursor icon will also change depending on the selection mode.
     15=== Select the single object === #Selectsingle
     16The 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` 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]).
    1421
    15 === Selecting single objects ===
    16 **Left-click** to select the node [[Image(source:trunk/images/cursor/modifier/select_node.png)]] or way [[Image(source:trunk/images/cursor/modifier/select_way.png)]] nearest to the pointer. The node or way that would be selected is highlighted as a hint.
     22{{{#!comment
     23==== Single left mouse click is used to select an object ====
     24Cursor: with node [[JOSMImage(cursor/modifier/select_node)]]; with way [[JOSMImage(cursor/modifier/select_way)]]
    1725
    18 If multiple objects overlap or are very close to each other, there are several ways to select a specific object.
    19 * **Middle-click** to show a pop-up window of nearby objects and to cycle through them.
    20 * **Left-click** while holding the **{{{Alt}}}** (or **{{{AltGr}}}**) key to cycle through nearby objects without showing a pop-up window. 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.
     26Activation steps: `Left mouse click`
    2127
    22 Hold the **{{{Shift}}}** key while **left-clicking** to add the node [[Image(source:trunk/images/cursor/modifier/select_node_add.png)]] or way [[Image(source:trunk/images/cursor/modifier/select_way_add.png)]] to the current selection. Hold the **{{{Ctrl}}}** key while **left-clicking** to toggle the selection of the object (if the object is already selected, remove it from the selection, otherwise add it to the selection).
     28Action: Select a node or way under mouse cursor.
    2329
    24 === Selecting multiple objects ===
    25 To select all objects, press **{{{Ctrl+A}}}**.
     30More precisely, ''previously selected object(s)'' will be **replaced** with new object and displayed in [wikitr:/Help/Dialog/SelectionList selection list].
    2631
    27 **Hold and drag the left mouse button** to draw a selection rectangle [[Image(source:trunk/images/cursor/modifier/selection.png)]].
     32==== Unselecting an object ====
     33Cursor: with node [[JOSMImage(cursor/modifier/select_node_remove)]]; with way [[JOSMImage(cursor/modifier/select_way_remove)]]
    2834
    29 * **Release** the left mouse button to select all [Concepts/Object objects] within the rectangle. All nodes within the rectangle and any ways which are entirely within the rectangle will be selected.
    30 * To cancel the selection rectangle, **hold the right mouse button** when releasing the left mouse button.
     35Activation steps: hold `Ctrl` when using `Left mouse button`
    3136
    32 When the mouse button is released and either **{{{Alt}}}**, **{{{Shift}}}** or **{{{Ctrl}}}** is held, following selection is made:
     37Action: a way or node will be removed from the selection.
     38}}}
    3339
    34 * **{{{Alt}}}** : in addition to the normal behavior, select all ways that have at least one node within selection rectangle.
    35 * **{{{Shift}}}** [[Image(source:trunk/images/cursor/modifier/select_add.png)]]: the [Concepts/Object objects] are added to the current selection.
    36 * **{{{Ctrl}}}** [[Image(source:trunk/images/cursor/modifier/select_remove.png)]]: remove all [Concepts/Object objects] under the current rectangle from the active selection (if there were any). Nothing is added to the current selection.
     40==== Cycle in dense or overlapping objects with pop-up ====
     41Cursor: none
    3742
    38 **{{{Alt}}}** can be combined with **{{{Shift}}}**, but cannot be combined with **{{{Ctrl}}}**, as this is used for the **[#Scale scale]** command.
     43Activation steps:
     44* `Middle mouse click` to cycle objects with small pop-up
     45* `Left mouse click` while holding the `Alt` (or `AltGr`) key to cycle through nearby objects **without showing a pop-up window**.
    3946
    40 === Unselecting ===
    41 To unselect everything you can either click on an empty area of the screen, or press **{{{Esc}}}** on the keyboard.
     47This is useful when:
    4248
    43 If you have more than one [Concepts/Object object] selected, and just want to unselect one particular **object**, then click it with the 'Select tool' while holding down **{{{Ctrl}}}** [[Image(source:trunk/images/cursor/modifier/select_node_remove.png)]] [[Image(source:trunk/images/cursor/modifier/select_way_remove.png)]].
     49* certain way which **shares common nodes** with one or more other ways
     50* multiple **objects overlap**
     51* multiple **objects very close to each other**
     52* selecting between multiple nodes if they appear as single node (multiple dots appear as one)
    4453
    45 === Selecting particular ways ===
     54Action: 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.
    4655
    47 For help on selecting a certain way which **shares common nodes** with one or more other ways see [wiki:/HowTo here].
     56{{{#!comment
     57==== Double click selects surrounding ====
     58Cursor: none
    4859
    49 == Move ==
     60Activation steps: `Double left mouse click`
    5061
    51 You can move selected [[Image(source:trunk/images/data/node.png)]] [Concepts/Object#Nodes nodes] and [[Image(source:trunk/images/data/way.png)]] [Concepts/Object#Ways ways] in the main window, by moving the mouse cursor close to one of the selected objects and then left clicking while dragging the mouse.
    52 * If the mouse cursor is **near a node** when performing the move action, then **just this node** is moved.
    53  * If you move a node very close to another node and hold **{{{Ctrl}}}** when releasing the left mouse button the moved **node** will be merged with the other **node**.
    54 * If the mouse cursor is **near a way** when performing the move action, then **this way**, together with its associated **nodes**, is moved.
     62Action: select the surrounding object ([wikitr:/Help/Concepts/Object#Areas area] or [wikitr:/Help/Concepts/Object#Relations multipolygon]).
     63}}}
    5564
    56 === Merge nodes ===
    57 [[Image(source:trunk/images/cursor/modifier/joinnode.png,left,margin-right=20)]]
    5865
    59 You can merge selected nodes with another one by holding down **{{{Ctrl}}}** and dragging one selected node onto the unselected one.
     66=== Selection rectangle === #Selectrectangle
     67==== Select multiple objects using selection rectangle ====
     68Cursor: [[JOSMImage(cursor/modifier/selection)]]
    6069
    61 == Rotate ==
    62 [[Image(source:trunk/images/cursor/rotate.png,left,margin-right=20)]]
     70Activation steps: hold and drag the `Left mouse button` around objects
    6371
    64 You can rotate selected nodes and ways by holding down **{{{Shift+Ctrl}}}** + left mouse button and moving the cursor.
     72Actions:
     73* Release the `Left mouse button` - to select all [wikitr:/Help/Concepts/Object objects] within the rectangle, more precisely:
     74 * all nodes within the rectangle and
     75 * 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
    6578
    66 == Scale ==
    67 [[Image(source:trunk/images/cursor/scale.png,left,margin-right=20)]]
     79==== Hold right mouse to move rectangle ====
     80You can move defined rectangle as many times as you want: simply hold right mouse button and move mouse cursor around.
    6881
    69 You can scale selected nodes and ways by holding down **{{{Ctrl+Alt}}}** + left mouse button and moving the cursor.
     82Pay attention that in order to select elements, you should release right mouse button first, then left mouse button.
    7083
    71 == Cursors ==
    72 The cursor changes to indicate what action will occur:
     84==== Modifiers ====
     85When the mouse button is released and either **`Alt`**, **`Shift`** or **`Ctrl`** is held, action will change:
    7386
    74 ||=**Cursor**=||=**Action**=||
    75 ||[[Image(source:trunk/images/cursor/modifier/select_node.png)]]|| a node will be selected ||
    76 ||[[Image(source:trunk/images/cursor/modifier/select_node_add.png)]]|| a node will be added to the current selection ||
    77 ||[[Image(source:trunk/images/cursor/modifier/select_node_remove.png)]]|| a node will be removed from the current selection ||
    78 ||[[Image(source:trunk/images/cursor/modifier/select_way.png)]]|| a way will be selected ||
    79 ||[[Image(source:trunk/images/cursor/modifier/select_way_add.png)]]|| a way will be added to the current selection ||
    80 ||[[Image(source:trunk/images/cursor/modifier/select_way_remove.png)]]|| a way will be removed from the current selection ||
    81 ||[[Image(source:trunk/images/cursor/modifier/selection.png)]]|| objects within the rectangle will be selected ||
    82 ||[[Image(source:trunk/images/cursor/modifier/select_add.png)]]|| objects within the rectangle will added to the current selection ||
    83 ||[[Image(source:trunk/images/cursor/modifier/select_remove.png)]]|| objects within the rectangle will removed from the current selection ||
    84 ||[[Image(source:trunk/images/cursor/modifier/joinnode.png)]]|| the selected nodes will be merged with the node near the pointer ||
    85 ||[[Image(source:trunk/images/cursor/rotate.png)]]|| [#Rotate rotate] the selected objects ||
    86 ||[[Image(source:trunk/images/cursor/scale.png)]]|| [#Scale scale] the selected objects ||
     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`**  ||  [[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'' ||
    8791
    88 == Advanced details ==
    89 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).
     92{{{#!comment
     93====== Combination of modifiers ======
     94}}}
     95* `Alt` can be combined with `Shift`
     96* `Alt` can't be combined with `Ctrl` - as this is used for the **scale** command described [#Scale below]
     97* `Ctrl` combined with `Shift` makes no sense
     98
     99{{{#!comment
     100====== Alt modifier ======
     101Cursor: none
     102
     103Activation steps: `Alt`
     104
     105Actions: in addition to the normal behavior, select all ways that have at least one node within selection rectangle
     106
     107====== Shift modifier ======
     108Cursor: [[JOSMImage(cursor/modifier/select_add)]]
     109
     110Activation steps: `Shift`
     111
     112Actions: the [wikitr:/Help/Concepts/Object objects] are added to the current selection
     113
     114====== Ctrl modifier ======
     115Cursor: [[JOSMImage(cursor/modifier/select_remove)]]
     116
     117Activation steps: `Ctrl`
     118
     119Actions: remove all [wikitr:/Help/Concepts/Object objects] in current rectangle from selection (if there were any); nothing is added to the current selection.
     120}}}
     121
     122== Move == #Move
     123You can move the whole selection by moving the pointer close to a selected object, click and drag the pointer.
     124
     125Moving is also possible with **`Shift + Arrow keys`**.
     126
     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=== Drag a Midpoint creates New Node ===
     130Activation 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.
     131
     132Action: will insert a new node at the location of the cross
     133
     134
     135== Merge nodes == #Mergenodes
     136Cursor: [[JOSMImage(cursor/modifier/joinnode)]]
     137
     138Activation steps: hold down `Ctrl` and drag one selected node onto an unselected one
     139
     140Action: merge selected nodes with another; internally it will simply use [wikitr:/Help/Action/MergeNodes Merge Nodes] - please read more details there.
     141
     142== Rotate == #Rotate
     143Cursor: [[JOSMImage(cursor/rotate)]]
     144
     145Activation steps: `Shift+Ctrl` + `Left mouse button` and moving mouse up and down
     146
     147Action: rotate selected nodes and ways around their geometrical center.
     148
     149The rotation angle is displayed in the [Help/StatusBar Status Bar].
     150
     151Rotation at defined angles is possible via the [osmwiki:JOSM/Plugins/ShapeTools ShapeTools Plugin].
     152
     153== Scale == #Scale
     154Cursor: [[JOSMImage(cursor/scale)]]
     155
     156Activation steps: `Ctrl+Alt` + `Left mouse button` and moving mouse up and down
     157
     158Action:
     159* scale selected nodes and ways around their geometrical center. Proportions will be kept.
     160* if used only on 2 nodes, it will move them from or to their mid point (depending on mouse move)
     161
     162The scaling factor is displayed in the [Help/StatusBar Status Bar].
     163
     164== Advanced details ==#Advanceddetails
     165Whether 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).
    90166
    91167== See also ==
    92 * [wiki:Help/Plugin/UtilsPlugin2 UtilsPlugin2] contains additional selection functionality
     168* [wikitr:/Shortcuts#Altkey] - if `Alt` doesn't work
     169* [wikitr:/Help/Action/UnselectAll Unselect all] `Escape`
     170* [wikitr:/Help/Plugin/UtilsPlugin2 UtilsPlugin2] contains additional selection functionality
    93171
    94172----
    95 Back to [EditToolbar Edit Toolbar][[BR]]
    96 Back to [wiki:/Help Main Help]
     173Back to [wikitr:/Help/Menu/Mode Mode menu] \\
     174Back to [wikitr:/Help Main Help]