wiki:Help/Action/Select

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

--

Selection mode, Move and Rotate Objects

source:trunk/images/mapmode/move/move.png Keyboard shortcut: S; press S to toggle between this tool and source:trunk/images/mapmode/rope.png lasso tool

This tool has four possible modes:

Selection mode

Hotkeys

Click Selects one object. Click in an empty area and drag selects more objects.
Click Clicking and dragging a red cross in the middle of a segment will insert a new node at the location of the cross.
Click-MiddleMouse Cycle through the different objects under the mouse cursor (for duplicated nodes or ways sharing the same nodes). Holding "Ctrl" afterwards to directly select an object.
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.
Ctrl-Area Using area selection with "Ctrl" removes elements in area from selection.
Alt-Click Cycle through the different objects under the mouse cursor (without popup).

This MapMode enables the user to make selections of different objects. The selected objects are drawn in a different style, depending on display preferences and the active styles. The cursor icon will also change depending on the selection mode.

Selecting single objects

Single left mouse click to select an object

Left mouse click to select the node source:trunk/images/cursor/modifier/select_node.png or way 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.

Selecting particular ways

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

To activate menu, you can use one of two options:

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

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.

Double mouse click to select object around cursor

Double left mouse click to select the surrounding object (closed way or multipolygon).

Selecting multiple objects using selection rectangle

Hold and drag the left mouse button to draw a selection rectangle source:trunk/images/cursor/modifier/selection.png.

  • Release the left mouse button to select all objects within the rectangle. All nodes within the rectangle and any ways which are entirely within the rectangle will be selected.
  • To cancel the selection rectangle, hold the right mouse button when releasing the left mouse button.

Modifiers

When the mouse button is released and either Alt, Shift or Ctrl is held, following selection is made:

  • Alt : in addition to the normal behavior, select all ways that have at least one node within selection rectangle.
  • Shift source:trunk/images/cursor/modifier/select_add.png: the objects are added to the current selection.
  • Ctrl source:trunk/images/cursor/modifier/select_remove.png: remove all objects under the current rectangle from the active selection (if there were any). Nothing is added to the current selection.

Alt can be combined with Shift, but cannot be combined with Ctrl, as this is used for the scale command.

Unselecting

To unselect everything you can either click on an empty area of the screen, or press Esc on the keyboard.

If you have more than one object selected, and just want to unselect one particular object, then click it with the 'Select tool' while holding down Ctrl source:trunk/images/cursor/modifier/select_node_remove.png source:trunk/images/cursor/modifier/select_way_remove.png.

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.png a node will be selected
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.png a way will be selected
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/selection.png objects within the rectangle will be selected
source:trunk/images/cursor/modifier/select_add.png objects within the rectangle will added to the current selection
source:trunk/images/cursor/modifier/select_remove.png objects within the rectangle will 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.