wiki:Help/Action/Select

Version 25 (modified by skyper, 8 years ago) (diff)

one more fix

Select, Move and Rotate Objects

source:trunk/images/mapmode/move/move.png Keyboard shortcut: S

This tool has four possible modes:

TOC(inline)?

Select tool

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

Left-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.

If multiple objects overlap or are very close to each other, there are several ways to select a specific object.

  • Middle-click to show a pop-up window of nearby objects and to cycle through them.
  • 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 advanced preference selectaction.cycles.multiple.matches to true.

Hold the Shift key while left-clicking to add the node source:trunk/images/cursor/modifier/select_node_add.png or way 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).

Selecting multiple objects

To select all objects, press Ctrl+A.

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.

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.

Selecting particular ways

For help on selecting a certain way which shares common nodes with one or more other ways see here.

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.

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


Back to Edit Toolbar
Back to Main Help

Attachments (1)

Download all attachments as: .zip