Kaart: Keyboard Shortcuts/sandbox

From OpenStreetMap Wiki
Jump to navigation Jump to search

Introduction

Keyboard shortcuts are a great way to improve your efficiency while editing. They give you quick access to various tools and can make editing certain features a lot easier. The challenging part is remember every shortcut and what they do. With that in mind, we've compiled a list of keyboard shortcuts for both JOSM and ID/Rapid.

Prerequisites

There are a few things you should know before learning hotkeys:

  • What kind of computer are you using? Mac, Windows, or Linux?
  • Basic knowledge of editing so you'll know which hotkeys you will need to learn for your workflow.
  • Most shortcuts can be found in JOSM by looking at the different actions on the JOSM menu bar or by hovering over a feature on one of the tool bars.
    • You can also find a list of current hotkeys in JOSM Preferences under Keyboard Shortcuts. From here you can look up the action or the hotkey to find its counterpart.
    • This is also where you can make custom hotkeys for your custom presets as described in the Kaart: JOSM Filters, Presets, Paint Styles and Validator/sandbox page.
  • You must have certain plugins in order to use some shortcuts like the knife tool, building tool, etc.
  • For details about platform specific hotkeys please review the platform specific caveats section of the JOSM wiki for shortcuts.

JOSM Hotkeys

Tools
Mac Windows/Linux What it does:
C C Combine Ways
F F Follow line
G G Unglue Ways
J J Join Node to Way
Option + J Alt + J Disconnect node
K K House number editor
L L Align nodes into a straight line
M M Merge nodes
N N Move node to nearest way segment
O O Align nodes in a circle
P P Split way
R R Reverse way
(fn) + delete
(fn required on small keyboards)
backspace Delete object but don't change into delete mode
Esc Esc Unselect all
Shift + Arrow key←↑→↓ Shift + Arrow key←↑→↓ Move object in that direction
Shift + B Shift + B Distribute nodes
Shift + M Shift + M Mirror nodes
CMD + Shift + G Ctrl + Shift + G Combine polygon to a node
CMD + Shift + N Ctrl + Shift + N Select all nodes
Shift + O Shift + O Create circle from way
Shift + Q Shift + Q Orthogonalization for certain nodes
Shift + R Shift + R Copy way tags from one way to another
CMD + A Ctrl + A Select all
CMD + B Ctrl + B Create a multi-polygon
CMD + C Ctrl + C Copy way/node to clipboard
CMD + D Ctrl + D Duplicate
CMD + F Ctrl + F Search
CMD + X Ctrl + X Cut way/node to clipboard
CMD + V Ctrl + V Paste from clipboard
CMD + Shift + V Ctrl + Shift + V Paste only the tags
Option + A Alt + A Add tag
Option + A then

CMD + Shift

Alt + A then Ctrl + Shift + 1-5 Add one of the last 5 recently used tags to current object
Option + S Alt + S Edit tag
Shift + Y Shift + Y Simplify ways
Shift + B Shift + B Distribute nodes
Shift + (fn) + F3
(fn required on small keyboards)
Shift + F3 Search objects by preset
Shift + J Shift + J Join overlapping areas
Shift + CMD Shift + Ctrl Rotate object
CMD + Option Ctrl + Alt Scale size of object
Modes
Mac Windows/Linux What it does:
B B Draw building(Building Tools plugin)
CMD + Option + B Ctrl + Alt + B Set building size
Option + R Alt + R Set building shape to rectangle
Option + Z Alt + Z Set building shape to circle
T T Knife tool(Auto Tools plugin)
E E Select adjacent nodes to selected node
I I Intersecting ways
S S Select objects
S toggled by S S toggled by S Lasso mode
W
(hold Ctrl to add additional nodes)
W
(hold Ctrl to add additional nodes)
Edit geometry of way
A A Draw connected nodes
A + hold Option A + hold Alt Starts a new way rather than continuing an existing way
A + hold CMD A + hold Ctrl Disable snapping to existing ways/nodes
A + hold Shift A + hold Shift Create nodes
A toggled by A A toggled by A Enables angle-snapping mode
X X Stretch a part of a closed way
X toggled by X X toggled by X Dual alignment
(uses 2 reference segments and moves the nodes according to its own reference way)
X + hold CMD while dragging a node X + hold Ctrl while dragging a node Will move node along one of its adjacent segments
X + double click at way X + double click at way Inserts a new node
X + hold Option X + hold Alt Create a new way
X + hold CMD X + hold Ctrl Move segment parallel to base segment
X + hold Shift X + hold Shift Always create nodes
X, Shift + Ctrl + click and drag way X, Shift + Ctrl + click and drag way Drag way without creating a square while keeping it perpendicular to the polygon.
X, Shift + Ctrl + click and drag node X, Shift + Ctrl + click and drag node Drags node parallel to polygon.
X, Shift + Ctrl + click and drag way
(Unsquared polygon)
X, Shift + Ctrl + click and drag way
(Unsquared polygon)
Can modify the angle of the extruded section while keeping it perpendicular.
Shift + D Shift + D Create node where exact coordinates are.
Shift + P Shift + P Duplicate way
CMD + Del + hold Option Ctrl + backspace + hold Alt Help/Action/Delete #Alt modifier
CMD + Del + hold CMD Ctrl + backspace + hold Ctrl Help/Action/Delete #Ctrl modifier
CMD + Del + hold Shift Ctrl + backspace + hold Shift Remove segments under cursor and split way in two
(fn) + F3
(fn required on small keyboards)
F3 Search preset tags
Shift + F Shift + F Fast drawing mode(Fast Draw plugin)
CMD + Shift + C Ctrl + Shift + C Copy coordinates of selected node
Shift + T Shift + T Terrace a building
CMD + Shift + Option + V Ctrl + Shift + Alt + V Reverse a terrace
CMD + Option + C Ctrl + Alt + C Changeset manager
CMD + Option + Q Ctrl + Alt + Q Close open changesets
All Modes
Mac Windows/Linux What it does:
Right click and drag Right click and drag Drag to move the map
Scroll wheel Scroll wheel Zoom in and out
CMD + Shift + 4 Window key + Shift + S Screenshot:
Mac: Allows you to draw a bounding box for a screenshot
Windows: Brings up a popup with different screenshot options
Hover over overlapping objects and click the scroll wheel
(Hold Ctrl to select one of the features)
Hover over overlapping objects and click the scroll wheel
(Hold Ctrl to select one of the features)
Shows an overview of tags of overlapping features and lets you select the feature you want to modify.
Interface & Appearance
Mac Windows/Linux What it does:
Tab Tab Toggle dialogs
(fn) + F11
(fn required on small keyboards)
F11 Full screen mode
CMD + J Ctrl + J Jump to position
CMD + Shift + F Ctrl + Shift + F Enable/disable automatic centering of map view to last placed node
CMD + W Ctrl + W Toggle between wireframe and map-paint mode
Option + # Alt + # Turn map layers on/off
(counting from the bottom)
Shift + A + #
CMD + Option + (fn) + F2 + #
(fn required on small keyboards)
Shift + A + #
Ctrl + Alt + F2 + #
Turn on/set as active layer
(counting from the top)
Workflow
Mac Windows/Linux What it does:
(fn) + F1
(fn required on small keyboards)
F1 Open main help page
(fn) + F1
(fn required on small keyboards)
F1 Press over element in question to open context help page
Shift + F1 Shift + F1 About screen
(JOSM version number)
CMD + E Ctrl + E Export to GPX
CMD + N Ctrl + N New file
CMD + O Ctrl + O Open file
CMD + S Ctrl + S Save file
CMD + Shift + S Ctrl + Shift + S Save as
CMD + Q Ctrl + Q Exit applications
CMD + Y Ctrl + Y Redo
CMD + Z Ctrl + Z Undo
CMD + Shift + Down Ctrl + Shift + Down Download
CMD + Shift + Up Ctrl + Shift + Up Upload
(fn) + F12
(fn required on small keyboards)
F12 Preferences
Ctrl + H Ctrl + H View object history
CMD + Shift + H Ctrl + Shift + H View object history on OSM.org
CMD + I Ctrl + I View advanced object info of a feature in JOSM
CMD + Shift + I Ctrl + Shift + I View advanced object info of a feature in ID
Shift + V Shift + V Run validator
CMD + U Ctrl + U Update data
CMD + Shift + P Ctrl + Shift + P Remove selected objects from layer
CMD + Option + U Ctrl + Alt + U Reload selected objects from server
CMD + Option + D Ctrl + Alt + D Download parent ways/relations
CMD + Option + M Ctrl + Alt + M Reload modified objects in current layer
CMD + Option + Shift + D Ctrl + Alt + Shift + D Delete tags from selected features
Option + Shift + U Alt + Shift + U Undelete an object(Undelete plugin)
CMD + Shift + M Ctrl + Shift + M Merge selected objects onto a different data layer
CMD + M Ctrl + M Merges content of active layer to another layer of the same kind
CMD + (fn) + F4
(fn required on small keyboards)
Ctrl + F4 Delete active layer
Ctrl + Space Ctrl + Space Auto-complete menu items
CMD + L Ctrl + L Open location
CMD + Shift + O Ctrl + Shift + O Download object
CMD + Option + Shift + U Ctrl + Alt + Shift + U Upload selection
CMD + Option + Shift + J Ctrl + Alt + Shift + J Restart JOSM
Viewport
Mac Windows/Linux What it does:
Z Z Zoom in by dropping
+ + Zoom in
- - Zoom out
CMD + , Ctrl + , Open preferences
CMD + Arrow key←↑→↓ Ctrl + Arrow key←↑→↓ Move visible area in that direction
1 1 Zoom to data
2 2 Zoom to layer
3 3 Zoom to selection
4 4 Zoom to conflict
5 5 Zoom to download
6 6 Zoom to problem
8 8 Zoom to previous
9 9 Zoom to next
Shift + A Shift + A Cycle through different auto zoom modes
Option + Shift + L Alt + Shift + L Layer dialogue panel
Option + Shift + P Alt + Shift + P Tags/members dialogue panel
Option + Shift + T Alt + Shift + T Selection dialoge panel
Option + Shift + R Alt + Shift + R Relation dialogue panel
Option + Shift + O Alt + Shift + O Command stack dialogue panel
Option + Shift + A Alt + Shift + A Authors dialogue panel
Option + Shift + C Alt + Shift + C Conflicts dialogue panel
Option + Shift + V Alt + Shift + V Validator dialogue panel
Option + Shift + F Alt + Shift + F Filters dialogue panel
Option + Shift + M Alt + Shift + M Paint styles dialogue panel
Y Y Geo-tagged images panel

ID/Rapid Hotkeys

Action
Mac Windows/Linux What it does:
1 1 Add point
2 2 Add line
3 3 Add area
Interface and Appearance
Mac Windows/Linux What it does:
B B Background setting panel
CMD + Shift + B Ctrl + Shift + B Check vintage of satellite imagery
H H Help
U U Map data layer panel
/ / Toggle minimap
Viewing Control Keys
Mac Windows/Linux What it does:
+ + Zoom in
- - Zoom out
Option + +/- Alt + +/- Zoom in/out by a lot
Z Z Zoom to selected objects
←↑→↓ ←↑→↓ Pan the map
Option + ←↑→↓ Alt + ←↑→↓ Pan map by one screenful
L L Zoom to my location
W W Toggle wireframe
Option + W Alt + W Hides data
G G Show edited segments
CMD + B Ctrl + B Toggle between 2 last viewed imageries
Shift + R
Rapid
Shift + R
Rapid
Hides Rapid suggestions
Selection Keys
Mac Windows/Linux What it does:
Hold Shift, click to select Hold Shift, click to select Batch tag and select multiple objects
Hold Shift, left click Hold Shift, left click Lasso tool
Drawing Tools
Mac Windows/Linux What it does:
A A Contine a road
C C Combine ways
D D Detach/unglue nodes
M M Move selected object(s)
O O Circularize a closed way
R R Rotate polygon
S S Straighten select line
T T Mirror selected nodes and ways across vertical axis
V V Switch way direction
X X Split way at selected node
Y Y Mirror selected nodes and ways across horizontal axis
CMD + C Ctrl + C Copy selected object
CMD + V Ctrl + V Pasted copied object
CMD + Z Ctrl + Z Undo
CMD + Shift + Z Ctrl + Shift + Z Redo
(fn) + Delete
(fn required on small keyboards)
Backspace Delete selected features
Escape Escape Finish drawing
Draw or confirm outer edge of building
Draw inner part of building as lines or an area
Shift click both areas, C to combine
Draw or confirm outer edge of building
Draw inner part of building as lines or an area
Shift click both areas, C to combine
Creates a multi-polygon

For additional hotkeys see Keyboard Shortcuts on ID/Rapid. Use the hotkey ? to access the hotkey menu.