iD/Shortcuts

From OpenStreetMap Wiki
< ID
Jump to navigation Jump to search

Keyboard shortcuts

Hints

This list of iD’s shortcuts and their functions is made by observation and trying out. This is not an iD documentation which is made or supported by iD’s developers. ID’s own, official documentation is inside of iD itself.

iD needs to have the focus to be able to catch a key press. If you clicked on the browser/webpage outside of iD before, then iD will not have the focus. Click somewhere inside iD to focus (preferably an inactive area, e.g. the button bar on top) and then press the desired key.

Shortcuts in iD are language dependent (for example Vietnamese has different ones)!

On macOS, use Cmd and Opt, instead of Ctrl and Alt.

Changing the display

  • F11 (Linux, Windows), Ctrl+ Cmd+F (Mac) – set your browser to full screen mode for more space (this less known generic browser shortcut varies by browser)
  • , , , (cursor keys) – pan map
  • Ctrl + , , , (cursor keys) – pan map one screenful at a time
  • + – zoom in; Ctrl++ – zoom in a lot
  • – zoom out; Ctrl+ – zoom out a lot
  • L – zoom to my location
  • B – display background layer switcher
  • I – toggle validation issues pane
  • P – toggle user preferences pane
  • ` – toggle sidebar
  • Alt+W – toggle OpenStreetMap data
  • G – highlight unsaved edits
  • Ctrl+B – switch between previous and current backgrounds
  • U – display map data options
  • W – toggle wireframe mode
  • H – show in-editor help/documentation
  • ? – show keyboard shortcuts
  • / – toggle minimap
  • Space bar – toggle radial menu for currently selected object

Selecting the editing mode when clicking on map

  • 1 – switch to “add point” mode
  • 2 – switch to “add line” (aka “way”) mode
  • 3 – switch to “add area” mode
  • N – switch to “add note” mode
  • A – continue drawing a line at the selected node
    • If multiple lines can be continued at the node, first select both a line and its end node using Shift+click.
  • Enter, Esc – stop drawing of a line or area

Selecting objects

  • Shift+mouse click – selection of multiple objects
  • Shift+mouse click+drag – select all nodes within a bounding box (rectangular selection)
  • Ctrl+C – copy the selected object
  • [, Page Up – jump to previous vertex
  • ], Page Down – jump to next vertex
  • Ctrl+[, Home – jump to first vertex
  • Ctrl+], End – jump to last vertex
  • \, ↨ Pause (PC), F15 (Mac) – if a node at a line intersection is selected: Cycle through parent ways (currently selected parent is highlighted in light red). Currently only useful for vertex navigation: “turning” at intersections
  • Ctrl+F – find features matching search text
  • Menu – toggle edit menu
  • Z – zoom to selected features

Modifying objects

  • Ctrl+V – paste a previously copied object; click to position the pasted object under the mouse cursor
  • Ctrl+ Del, Ctrl+ Backspace – delete currently selected object
  • Alt + mouse click – place node without connecting (“snapping”) to existing object (line and area draw mode)
    For Firefox use full screen mode (see below) in order to avoid nasty interference with toggling of Firefox menu by Alt.
  • C – combines the selected objects (see selection of multiple objects for how to select). Their details (tags) will be combined too – values of tags with the same key but different values will be silently concatenated into a “;”-separated list, which may make no sense and require manual correction
    Exact function depends on the type of the selected objects:
    • A selection of several connected lines (each connection is represented by a shared node) → will be combined into one line. Line directions are silently inverted if needed (even in case of oneway-tagged lines). All lines’ tags will be moved to the combined line.
    • A selection of an unconnected node and a line → the node’s tags will be copied to the line and the node will be deleted.
    • A selection of two unconnected, closed lines (areas) → a new relation (type = multipolygon) will be created and (depending on the spacial arrangement):
      if a selected area is enclosed inside another selected area, then it will get the relation role “inner” and keep its tags;
      else (that is: a selected area is not enclosed inside another selected area) it will get the relation role “outer” and its tags will be moved to the new relation.
  • D – if shared node of several lines is selected: unjoins all associated lines (that multiplies the shared node). Optionally: Also select the lines which should be disconnected (see selection of multiple objects for how to select).
  • E – extract a point from a feature
  • M – move selected objects
  • O – arrange nodes as circle (only closed lines, that is: areas)
  • R – rotate selected object
  • Q – square the corners of the selected area or closed line
  • S – straighten the selected line (possibly removing unaligned intermediate nodes)
  • T – reflect the selected object across its long axis
  • V – reverse line direction (if line selected)
  • X – split line (if node in line selected). If the node is shared by several lines, all these lines will be split at this node, unless you use the multiple objects selection to additionally select the line/lines which you want to split.
  • Y – reflect the selected object across its short axis
  • Space bar – add a node (in “add line” or “add area” mode). Hold down while moving the cursor to draw a freeform line or area that follows the path of the cursor.
  • Shift + , , , – nudge selected features
  • Ctrl+ Shift + , , , – nudge selected features by a lot
  • Shift + +, - – increase and decrease the object size

Undoing or saving changes

  • Ctrl+Z – undo last action
  • Ctrl+ Shift+Z, Ctrl+Y(Windows) – redo last undid action
  • Ctrl+S – save changes

Miscellaneous

  • Ctrl+I – toggle info/measurements box
  • Ctrl+ Shift+B – toggle background imagery pane
  • Ctrl+ Shift+H – show history of the selected object
  • Ctrl+ Shift+L – toggle location (latitude/longitude) panel
  • Ctrl+ Shift+M – toggle measurement panel