[[PageOutline(2-3,Table of Contents,inline,unnumbered)]] [[TranslatedPages]] = Welcome to the JOSM online help system = {{{ #!html

This help can be corrected at josm.openstreetmap.de/wiki/Help
Some information might be outdated, because JOSM is constantly enhanced with more features and tools. Recently implemented features may miss good illustrations, animations, examples and text explanation. Please help improving by adding them or your personal tips and experience - this is a wiki!

}}} == Getting Started == === Your first edits with JOSM === * [wiki:Introduction Introduction to JOSM] - briefly covers downloading data, enabling and aligning imagery, main menu items, presets, validation, change-set comments and upload dialogue * Migration assist from [wiki:iD], [wiki:Potlatch2] or [wiki:Vespucci] - only if you have difficulties or questions related to respective editor "''I'm used to do (function) in (an editor) but what should I do in JOSM?''" === OSM-wiki resources === * [osmwiki:Get_help Where to get help?] - more general articles and resources (including [osmwiki:Map_Features Map features]) === Other channels === * [[JOSM channels]] == Concepts == === OSM data model === * [=#objects Objects] ([Help/Concepts/Object complete reference]) - explains what '''node''', '''way''', '''relation''' and '''tag''' is; ''Presets'' are introduced at the same page. * There are [Help/Concepts/Object#Relations many types of relations], currently loaded relations can be selected via [Help/Dialog/RelationList Relations] but there a [Help/Dialog/RelationEditor single interface to edit them] === Changesets === #changeset [Help/Concepts/Changeset Changesets] exists for every of your "edit". They simply group data creations, modifications and deletions - with additional properties {{{comment}}}, {{{created_by}}}, {{{imagery_used}}} [osmwiki:Proposed_features/changeset_tags and several others] (this information stored as simple tags). Similar to other wiki software, one changeset can affect one object (a single character edit in the text), but may contain big changes (removals of paragraphs, partial or complete rewrite of the text) with the only difference that geo information is edited instead of text. Investigating history of one character is equally hard to comparing text at given point in time. Since [osmwiki:Planet.osm complete "text" in OSM is 30-600GB big] therefore users speak of history within several changesets and not about complete history every time. [Help/Action/Upload Upload changeset dialog] - explains why you create a '''changeset''' and low level details about protocol that uploads data to the OSM server === JOSM concepts === * [=#hotkeys Hotkeys] or shortcuts ([wiki:Shortcuts complete reference]). **EVERY** "button" and menu item may be assigned with hot-key (including menu items provided with [wiki:Plugins plugins]; popular [wiki:Presets presets] and [Help/Action/Search#SavesearchqueryinMaintoolbar saved search queries]). Some of the default hotkeys or activation steps may be surprising. All active shortcuts will be present under [wiki:Help/Preferences/Shortcuts "Hotkeys" tab in F12 menu] you can adjust and fine-tune them or reset at any moment. * [=#preferences Preferences] ([Help/Preferences complete reference]) - some of the settings are unaccessible via [Help/Action/Preferences settings menu] or have [#JOSMinterfacecustomization control elements and menus everywhere in the editor] * [=#undoredo Undo/redo mechanism] - used to spot mistakes, but these tools are especially useful when ''learning new tools'' in JOSM. Similar to other editors, ''most operations'' in JOSM can be [Help/Action/Undo undone] and [Help/Action/Redo redone], unless they are listed in [Help/Listofirreversibleoperations list of irreversible operations]. Difference is that all changes can be displayed in [Help/Dialog/CommandStack command stack dialog]. == Workflow examples == * [[Help/Downloading data]] - there are many ways to load existing data in JOSM * [[Help/Relations]] - relation editing may involve multiple windows ([Help/Dialog/RelationList Relations window], [Help/Dialog/SelectionList Selection], [Help/Dialog/RelationEditor Relation editor]) in JOSM. Some plugins may simplify some steps, but provide less clarity about what you do: many tools, states or tags become "hidden" or even worse: simply unaccessible. * [Help/AudioMapping Audio mapping]: playing voice notes and synchronizing them with your GPS tracks in JOSM * [Help/Preferences/Validator Validator messages] - will explain how to fix common mistakes and what do they mean * [wiki:HowTo How to create runabout from crossing ways] {{{ #!html }}} == JOSM tools (incomplete reference) == {{{ #!html List below contains mosty/only unreplaceable tools with preference to core JOSM tools. "Incomplete" should be stated explicitly to avoid misunderstandings from any part. }}} [wiki:Help/Action/SearchMenuItems Search among all JOSM tools and menu items] - {{{Ctrl+Spacebar}}} === Basic shape of objects === * [Help/Action/Select Select, move and rotate] tools - you only need subset of tools from this list * [Help/Action/DrawBuilding Draw a rectangular stub] - optionally aligned along by other objects * [Help/Action/FastDrawingMode FastDraw] - useful with natural objects; * [Help/Action/Extrude Extrude], [Help/Action/Draw/AngleSnap Angle snapping], [osmwiki:JOSM/Plugins/CommandLine#Usage Spline or Bezier ''from commandline plugin''] - mostly for man made objects * both [Help/Action/Draw Draw nodes mode] (A) and [Help/Action/ImproveWayAccuracy Improve Way Accuracy mode] (W) - have their followers and use cases * [Help/Action/Paste Paste previously copied objects] (Ctrl+V) - not only tags but also their geometries === Selection === Selection (or list of currently selected objects) is precisely described in [Help/Dialog/SelectionList#Selection] (because it is visible from this dialogue), it can be modified with following tools (incomplete list): * [Help/Action/Select#Selecttool Select objects] (S) - contains many modifiers, including [Help/Action/LassoMode lasso mode] * [Help/Action/Search Search] (Ctrl+F) - a very powerful tool and a query language with [Help/Action/Search#Keywords over 28 keywords] and flexible operators to combine them in flexible manner. Not to mention regex and [wiki:Help/Styles/MapCSSImplementation mapcss] filters. * (Shift+F3) - search objects by preset * [wiki:Help/Plugin/UtilsPlugin2#Selection] - multiple selection focused tools ''from UtilsPlugin2'' * [Help/Action/SelectNonBranchingWaySequences Select non branching way sequences] (Shift+W) - useful when editing highways, railways, rivers, power networks and networks in general * [Help/Action/SelectAll Select all] (CTRL+A) is more useful after you download precise list of objects === Tags === Tags of currently selected objects displayed in [Help/Dialog/TagsMembership Tags/Memberships Dialog]. * [Help/Action/Copy Copy] (Ctrl+C) - copy selected objects to the buffer * [Help/Action/PasteTags PasteTags] (Ctrl+Shift+V) - paste previously copied tags * Tabular editor (Ctrl+T) from ([wiki:Help/Plugin/UtilsPlugin2]) * (Shift+R) (from [wiki:Help/Plugin/UtilsPlugin2]) copy tags from previous selection * Standard [Help/Dialog/AddValue Add value] (Alt+A) dialogue provides 5 shortcuts to 5 last used tags without closing this dialogue === Topology tools and changes === * [Help/Action/MergeNodes Merge] (M) two or more points * [Help/Action/UnGlue UnGlue] (G, opposite of above) explode single point into multiple * [Help/Action/MoveNodeWay Join point into a way segment] (N) * [wiki:Help/Action/DisconnectNodeWay DisconnectNodeWay] (Alt+J, opposite of above) disconnect a node from a way segment * [wiki:Help/Action/AddIntersections AddIntersections] (Shift+I) (from [[Help/Plugin/UtilsPlugin2]]) - will create nodes at places where current selections intersects (or self intersects) * [wiki:Help/Action/SplitObject Split geometry by selected line] (Alt+X) (from [[Help/Plugin/UtilsPlugin2]]) * [Help/Action/SplitWay Split way] (P) - split way by a node * [Help/Action/CombineWay Combine Way] (С) - combine several selected ways in one * [Help/Action/JoinAreas Join overlapping areas] (Shift+J) * [Help/Plugin/ContourMerge ContourMerge] mode can used to glue complex parts that would require too many ''Merges'' otherwise; it could also used to partially or completely replace geometry of one object with partial or a complete geometry of other object === Geometry tools === ==== Precision in angles ==== * [Help/Action/Draw#Anglesnapping Anglesnapping] (A, twice) will ease drawing way segments in 30°, 45°, 60° and 90° degrees * [Help/Action/Extrude#Basicusage Extrude] (X, with modifiers) tool will ease drawing of strictly perpendicular segments ==== Alignment ==== * [Help/Action/AlignInLine Align in line] (L) will align selected nodes into a line * [Help/Action/DistributeNodes Distribute] (Shift+B) as above, but also place them at equal distances * "Copy" objects at precise anchor points ''from [osmwiki:JOSM/Plugins/CommandLine commandline]'' * "Move" objects at custom vector ''from [osmwiki:JOSM/Plugins/CommandLine commandline]'' * [Help/Action/AlignInCircle Align selected nodes in circle] (O) ===== Parallel ===== * [Help/Action/Parallel Parallel] (Shift+P), draw lines and curves parallel to each other, draw nested infrastructure quickly * [Help/Action/Extrude#MovesegmentinparallelCtrl Extude mode used on segments] - will move them in parallel, preserving angles when it is needed ==== Rotation ==== * [Help/Action/Select#Rotateobjects Rotate objects] at user-defined angle (but exact angle is unknown) * {{{ShapeTools}}} [wiki:Plugins plugin]: * Rotate object at predefined angle * Rotate objects (match building with road) * Rotate objects (match building with road, don't rotate more than epsilon) === Viewport control === * Explained at [Help/MapView MapView], [Help/Menu/View "View" menu] and [Help/Action/Zoom Zoom tool] * [Help/Dialog/Minimap] window * [Help/Action/JumpToPosition JumpToPosition] == JOSM interface == === JOSM interface overview === Interface terminology (make sure to study bolded items first): Note: Together, 3 and 4 may contain too many items to display at once, use mouse scroll wheel in this case. || 1. '''[Help/Menu Main menu]'''[[br]][[br]] 2. [Help/MainToolbar Main toolbar] ('''[Help/Preferences/Toolbar heavily customizable]''')[[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]] 3. '''[Help/EditToolbar JOSM modes]'''[[br]][[br]][[br]][[br]][[br]][[br]] 4. toggles used to control on/off state of ''Windows''[[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]] 5. [Help/StatusBar Status bar]|| [[Image(10168-en-expert-false-Vatican-arrows.png,inline,nolink)]] || [[br]][[br]][[br]][[br]][[br]][[br]][[br]] 6. Slider and scaler[[br]][[br]][[br]][[br]][[br]] 7. '''[Help/ToggleDialogs Windows]''' (or dialogs)[[br]]• '''[Help/Dialog/LayerList Layer List]'''[[br]]• '''[Help/Dialog/TagsMembership Tags/Memberships]'''[[br]]• '''[wiki:Help/Dialog/SelectionList Selection]'''[[br]]• '''[Help/Dialog/RelationList Relations List]'''[[br]]• (others)[[br]][[br]][[br]] 8. [Help/MapView Main editing window][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]][[br]] 9. Details about [Help/Modes#Activateamode current mode] || === JOSM starting screen === 1. In JOSM, [[wiki:Help/Downloading data]] step performed first. For example, [wiki:Introduction#Downloading use simple Download menu] 2. Additional and more complex tools may be activated with [Help/ExpertMode Expert mode] (also, pay attention to the left side of the screen) === JOSM interface complete reference === [[wiki:JOSM interface]] - complete reference. Pay attention, that ''menu pages at this wiki are very deep'', just couple of examples below: * [[wiki:JOSM interface]] > [Help/Menu] > [Help/Menu/Presets] * [[wiki:JOSM interface]] > [Help/ToggleDialogs] > [Help/Dialog/TagsMembership] - most users will stop here, but actually there are at least two menus: [Help/Menu/TagsMembershipMenu#Rightclickonitemsintagspart] and [Help/Menu/TagsMembershipMenu#Rightclickonitemsinmembershipspart] * [[wiki:JOSM interface]] > [Help/ToggleDialogs] > [Help/Dialog/LayerList] - most users will stop here, but actually [Help/Dialog/LayerList#Layertypes there are not two, but 7 menus] === JOSM interface customization === See [[Help/JOSM interface customization]] for details.