wiki:Help/Action/Select

Version 50 (modified by openstreetmap.org-user-d1g, 8 years ago) ( diff )

clarify a bit

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

This mode has four possible uses action will change to

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.

Hotkeys

Click Clicking and dragging a red cross in the middle of a segment will insert a new node at the location of the cross.
Shift-Click Holding the "Shift" key when in select mode adds new element to existing selection.
Ctrl-Click Holding the "Ctrl" key toggles element selection.

Selecting single objects

Single left mouse click 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 List Dialog.

Note, to empty current selection: #Toemptycurrentselection

  • Left mouse click on empty space in viewport (main editing window)
  • Espace tool

Selecting particular ways

Cursor: none

Activation steps:

  • Middle mouse click
  • 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

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.

Double mouse click to select object around cursor

Cursor: none

Activation steps: Double mouse click

Action: select the surrounding object (closed way or multipolygon).

Selection rectangle

Selecting 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 List Dialog
  • Hold the Right mouse button when releasing the left mouse button - cancel the selection rectangle

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 objects within the rectangle will added to the current selection

Activation steps: Shift

Actions: the objects are added to the current selection

Ctrl modifier

Cursor: source:trunk/images/cursor/modifier/select_remove.png objects within the rectangle will added to the current selection

Activation steps:

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

Move

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.

Merge nodes

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

You can merge selected nodes with another one by holding down Ctrl and dragging one selected node onto the unselected one.

Rotate

source:trunk/images/cursor/rotate.png

You can rotate selected nodes and ways by holding down Shift+Ctrl + left mouse button and moving the cursor.

Scale

source:trunk/images/cursor/scale.png

You can scale selected nodes and ways by holding down Ctrl+Alt + left mouse button and moving the cursor.

Cursors

The cursor changes to indicate what action will occur:

CursorAction
source:trunk/images/cursor/modifier/select_node_add.png a node will be added to the current selection
source:trunk/images/cursor/modifier/select_node_remove.png a node will be removed from the current selection
source:trunk/images/cursor/modifier/select_way_add.png a way will be added to the current selection
source:trunk/images/cursor/modifier/select_way_remove.png a way will be removed from the current selection
source:trunk/images/cursor/modifier/joinnode.png the selected nodes will be merged with the node near the pointer
source:trunk/images/cursor/rotate.png rotate the selected objects
source:trunk/images/cursor/scale.png scale the selected objects

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

  • Help - main help page contains section about popular selection tools
  • Unselect all Escape
  • source:trunk/images/mapmode/improvewayaccuracy.png Improve Way Accuracy - over time many mappers switch to this tools instead of manually moving each node
  • UtilsPlugin2 contains additional selection functionality

Back to Edit Toolbar
Back to Main Help

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.