wiki:Help/Action/Select

Selection mode, Move and Rotate Objects

source:trunk/images/mapmode/move/move.png Keyboard shortcut: S; press S to toggle between this mode and source:trunk/images/mapmode/rope.png lasso mode — is one of the working modes

Selection mode

This mode enables the user to make selections of different objects.

The selected objects are drawn in a different style (red colour by default); depending on display preferences and the active styles.

The cursor icon will also change depending on the selection mode.

Select the single object

Single left mouse click is used to select an object

Cursor: with node source:trunk/images/cursor/modifier/select_node.png; with way source:trunk/images/cursor/modifier/select_way.png

Activation steps: Left mouse click

Action: Select a node or way under mouse cursor.

More precisely, previously selected object(s) will be replaced with new object and displayed in Selection window.

Deselecting an object(s)

Cursor: with node source:trunk/images/cursor/modifier/select_node_remove.png; with way source:trunk/images/cursor/modifier/select_way_remove.png

Activation steps: hold Alt when using Left mouse button

Action: a way or node will be removed from the currently selected objects

Cycle in dense or overlapping objects with pop-up

Cursor: none

Activation steps:

  • Middle mouse click to cycle objects with small pop-up
  • Left mouse click while holding the Alt (or AltGr) key to cycle through nearby objects without showing a pop-up window

This is useful when:

  • certain way which shares common nodes with one or more other ways
  • multiple objects overlap
  • multiple objects very close to each other
  • selecting between multiple nodes if they appear as single node (multiple dots appear as one)

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 advanced preference selectaction.cycles.multiple.matches to true. Holding Ctrl afterwards to directly select an object.

TODO: add good pictures

Double mouse click is used to select first object that surrounds a cursor

Cursor: none

Activation steps: Double mouse click

Action: select the surrounding object (area or multipolygon).

Selection rectangle

Select multiple objects using selection rectangle

Cursor: source:trunk/images/cursor/modifier/selection.png

Activation steps: hold and drag the Left mouse button around objects

Actions:

  • Release the Left mouse button - to select all objects within the rectangle, more precisely:
    • all nodes within the rectangle and
    • any ways which are entirely within the rectangle will be selected
    • previously selected objects will be replaced with new object(s) and displayed in Selection window
  • Hold the Right mouse button when releasing the left mouse button - cancel the selection rectangle

Hold right mouse to move rectangle

You can move defined rectangle as many times as you want: simply hold right mouse button and move mouse cursor around.

Pay attention that in order to select elements, you should release right mouse button first, then left mouse button.

Modifiers

When the mouse button is released and either Alt, Shift or Ctrl is held, action will changed; 3 paragraphs below cover it in detail.

Combination of modifiers
  • Alt can be combined with Shift
  • Alt can't be combined with Ctrl - as this is used for the scale command
Alt modifier

Cursor: none

Activation steps: Alt

Actions: in addition to the normal behaviour, select all ways that have at least one node within selection rectangle

Shift modifier

Cursor: source:trunk/images/cursor/modifier/select_add.png

Activation steps: Shift

Actions: the objects are added to the current selection

Ctrl modifier

Cursor: source:trunk/images/cursor/modifier/select_remove.png

Activation steps:

Actions: remove all objects in current rectangle from selected objects (if there were any); nothing is added to the current selection.

Move objects

You can move selected source:trunk/images/data/node.png nodes and source:trunk/images/data/way.png 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.

  • If the mouse cursor is near a node when performing the move action, then just this node is moved.
    • 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.
  • If the mouse cursor is near a way when performing the move action, then this way, together with its associated nodes, is moved.

Moving objects is also possible with shift + arrow keys.

  • source:trunk/images/mapmode/improvewayaccuracy.png Improve Way Accuracy - over time many mappers switch to this tools instead of manually selecting-and-moving each node

Move multiple objects at once message

You may be asked if it a was mistake. To enable/disable this message use:

message.movedManyElements in Advanced Preferences. Set to true if you want to be asked every time.

Merge nodes

Cursor: source:trunk/images/cursor/modifier/joinnode.png

Activation steps: hold down Ctrl and drag one selected node onto the unselected one

Action: merge selected nodes with another; internally it will simply use Merge tool - please read more details here.

Click and drag on segment midpoint will create a new node

Cursor: fixme

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.

Action: will insert a new node at the location of the cross

On illustration below shown twice: you cannot create node simply by clicking a midpoint (second segment from the left in this case) as it will select whole way (red glow); instead, you should click and drag midpoint.

Rotate objects

Cursor: source:trunk/images/cursor/rotate.png

Activation steps: Shift+Ctrl + Left mouse button and moving mouse up and down

Action: rotate selected nodes and ways around their geometrical centre.

Rotation at defined angles is possible via the ShapeTools Plugin.

Scale objects

Cursor: source:trunk/images/cursor/scale.png

Activation steps: Ctrl+Alt + Left mouse button and moving mouse up and down

Action:

  • scale selected nodes and ways around their geometrical centre. Proportions will be kept.
  • if used only on 2 nodes, it will move them from or to their mid point (depending on mouse move)

Advanced details

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 advanced preferences edit.initial-move-threshold (pixels) and edit.initial-move-delay (milliseconds).

See also


Back to Edit Toolbar
Back to Main Help

Last modified 8 weeks ago Last modified on 2017-06-05T16:03:21+02:00

Attachments (1)

Download all attachments as: .zip