Changes between Version 85 and Version 86 of Help/Action/Draw
- Timestamp:
- 2020-05-08T13:34:55+02:00 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Action/Draw
v85 v86 1 [[TranslatedPages]] 1 [[TranslatedPages(outdated=Missing description for "Left mouse click will add nodes on overlapping ways")]] 2 2 [[PageOutline(2-5)]] 3 3 4 = Draw Nodes = 4 5 5 [[JOSMImage(mapmode/node/autonode,link=,48,middle,margin-right=20)]] ''Keyboard shortcut:'' '''{{{A}}}'''— is one of the [wikitr:/Help/EditToolbar#Workingmodesworking modes]6 [[JOSMImage(mapmode/node/autonode,link=,48,middle,margin-right=20)]] ''Keyboard shortcut:'' **`A`** — is one of the [wikitr:/Help/Menu/Mode#Workingmode working modes] 6 7 7 8 This mode behaves differently depending on how you use it. 8 9 9 10 == Try it yourself == 11 Open [attachment:josmwiki-actiondraw.osm josmwiki-actiondraw.osm] using menu item [wikitr:/Help/Menu/File "File > Open Location ..."] (`Ctrl+L`). 10 12 11 Open [attachment:josmwiki-actiondraw.osm josmwiki-actiondraw.osm] using menu item [wikitr:/Help/Menu/File "File > Open Location ..." (Ctrl+L)].12 13 13 14 == Standard Mode ==#StandardMode 14 15 === Create a node === 16 When selection is empty, If you click on a blank area [wikitr:/Help/MapView of the screen] you add a new [[JOSMImage(data/node)]] [wikitr:/Help/Concepts/Object#Nodes node] independent of any existing [[JOSMImage(data/way)]] [wikitr:/Help/Concepts/Object#Ways way]: 15 17 16 When selection is empty, If you click on a blank area [wikitr:/Help/MapView of the screen] you add a new [wikitr:/Help/Concepts/Object#Nodes node] independent of any existing [wikitr:/Help/Concepts/Object#Ways way]: 17 18 [[Image(ex1-empty-selection-click-on-blank.gif,nolink)]] 18 [[Image(ex1-empty-selection-click-on-blank.gif,link=)]] 19 19 20 20 === Click on node will stop mode === 21 22 21 To stop drawing mode, click on selected object (a node) again. This can be done so quickly and some users confuse it with double click. No, you don't need double click: 23 22 24 [[Image(ex1-select-deselect-without-double-click.gif, nolink)]]23 [[Image(ex1-select-deselect-without-double-click.gif,link=)]] 25 24 26 25 === Draw a segment === 27 28 With empty selection, if you select one node and then click on a blank area of the screen you add a new node and create a new way (with one [Help/Concepts/Object#Segment segment]): 26 With empty selection, if you select one node and then click on a blank area of the screen you add a new node and create a new way (with one [wikitr:/Help/Concepts/Object#Segment segment]): 29 27 30 28 ''Note: click on second node in segment used to stop drawing mode'' 31 29 32 [[Image(ex1-selected-node-draw-a-segment.gif, nolink)]]30 [[Image(ex1-selected-node-draw-a-segment.gif,link=)]] 33 31 34 32 === Click on node will start new segment similar to empty === 35 36 33 * If you are currently not drawing, then you can select node with a left mouse click 37 * If the node is an end node of a line then also the line gets selected (leaf node + way in selection); this will be explained in [#Continuousdrawing Continuous drawing] 34 * If the node is an end node of a line then also the line gets selected (leaf node + way in selection); this will be explained in [#Continuousdrawing Continuous drawing (below)] 38 35 39 36 In demo below, left mouse click was used to select first drawing mode, then clicked 6 times at nodes: 40 37 41 [[Image(ex1-click-to-select-a-node-or-exit-drawing-on-leaf-node.gif, nolink)]]38 [[Image(ex1-click-to-select-a-node-or-exit-drawing-on-leaf-node.gif,link=)]] 42 39 43 40 === Common nodes ===#Commonnodes 44 45 41 This is often necessary when you edit highways or streams of the river. 46 42 47 43 ==== Common nodes with another way ==== 48 49 44 If a node is previously selected and you click between two nodes in an existing way the new node is added on the existing way, between two existing nodes, and a way is drawn between the previously selected node and the ''new node''. 50 45 … … 53 48 Simplest scenario: 54 49 55 [[Image(ex1-common-nodes-with-another-way.gif, nolink)]]50 [[Image(ex1-common-nodes-with-another-way.gif,link=)]] 56 51 57 52 ==== Common nodes are bigger ==== 58 59 53 It help you distinguish them from other nodes. 60 54 61 55 First drawn way have a common nodes with old way and second drawn way has no common nodes (details [#Ctrlmodifier how second way was drawn will be explained below]): 62 56 63 [[Image(ex2-common-nodes-wtih-other-way-and-without-common-nodes.gif, nolink)]]57 [[Image(ex2-common-nodes-wtih-other-way-and-without-common-nodes.gif,link=)]] 64 58 65 59 ==== Left mouse click will add nodes on overlapping ways ==== 66 67 60 If two ways overlap, single mouse click will create a common point. 68 61 69 62 (stub) 70 63 64 71 65 === Double click stops drawing on leaf node === 72 73 66 Drawing stops, if you make a double click when creating the last node. This way you don't have to click on last node, but you have to know about this special case: 74 67 75 [[Image(ex1-double-click.gif, nolink)]]68 [[Image(ex1-double-click.gif,link=)]] 76 69 77 70 === Continuous drawing ===#Continuousdrawing 78 79 71 Previous way will be continued if both are true: 80 72 1. nothing was selected OR way in question was selected … … 83 75 If draw mode applied to non-leaf nodes, it will create a new way instead of continuing old one: 84 76 85 [[Image(ex1-will-continue-way-on-leaf-nodes-and-wont-at-middle.gif, nolink)]]77 [[Image(ex1-will-continue-way-on-leaf-nodes-and-wont-at-middle.gif,link=)]] 86 78 87 79 ==== Left click on drawn way will stop continuous drawing ==== 88 89 80 It doesn't matter if you click on nodes or create a new node in a way: 90 81 91 [[Image(ex1-click-on-self-when-drawing-will-deselect.gif,nolink)]] 82 [[Image(ex1-click-on-self-when-drawing-will-deselect.gif,link=)]] 83 92 84 93 85 === Snaps to existing nodes or ways === 86 Note how nodes and way change color to yellow when hovering over them: 94 87 95 Note how nodes and way change colour to yellow when hovering over them: 88 [[Image(ex1-snapping.gif,link=)]] 96 89 97 [[Image(ex1-snapping.gif,nolink)]] 90 If you click near an **existing node** it draws a "segment" between what was previously selected and the existing node, and this allows you to re-use existing nodes to make a new way / area (so that certain nodes and "segments" can be reused in more than one way / area): 98 91 99 If you click near an '''existing node''' it draws a "segment" between what was previously selected and the existing node, and this allows you to re-use existing nodes to make a new way / area (so that certain nodes and "segments" can be reused in more than one way / area): 92 [[Image(ex2-snapping.gif,link=)]] 100 93 101 [[Image(ex2-snapping.gif,nolink)]]102 94 103 95 == Angle snapping ==#Anglesnapping 96 Often necessary when editing barriers, fences, walls, non-trivial buildings, indoor features and other man-made objects, covered under [wikitr:/Help/Action/Draw/AngleSnap Angle Snapping]. 104 97 105 Often necessary when editing barriers, fences, walls, non-trivial buildings, indoor features and other man-made objects, covered here: '''[wikitr:/Help/Action/Draw/AngleSnap Angle Snapping]'''.106 98 107 99 == Modifiers == 108 109 === Alt modifier ===#Altmodifier 110 111 [[Image(ex1-alt.gif,nolink)]] 100 === `Alt` modifier ===#Altmodifier 101 [[Image(ex1-alt.gif,link=)]] 112 102 113 103 If you hold down the {{{Alt}}} key when using this mode it starts a new way, rather than continuing an existing way. 114 104 115 === Shift modifier ===#Shiftmodifier 116 117 [[Image(ex1-shift.gif,nolink)]] 105 === `Shift` modifier ===#Shiftmodifier 106 [[Image(ex1-shift.gif,link=)]] 118 107 119 108 If you hold down the {{{Shift}}} key while using this mode, it disables the "auto-connect" feature. So segments will not be drawn between new nodes. 120 109 121 === Ctrl modifier ===#Ctrlmodifier 122 123 [[Image(ex1-ctrl.gif,nolink)]] 110 === `Ctrl` modifier ===#Ctrlmodifier 111 [[Image(ex1-ctrl.gif,link=)]] 124 112 125 113 If you hold down the {{{Ctrl}}} key whilst using this mode, it disables the snapping to an existing way, allowing you to draw nodes close to, but not part of an existing way. 126 114 127 115 === Combination of modifiers === 128 129 116 You may optionally use one or many modifiers at once to get desired result. 130 117 131 Here is Ctrlmodifier used withShiftat once:118 Here is `Ctrl` modifier used with `Shift` at once: 132 119 133 [[Image(ex1-ctrl+shift.gif,nolink)]] 120 [[Image(ex1-ctrl+shift.gif,link=)]] 121 134 122 135 123 == See also == 136 * [[JOSMImage(addnode)]][wikitr:/Help/Action/AddNode Add node ...]137 * [[JOSMImage(mapmode/improvewayaccuracy,nolink)]] [Action/ImproveWayAccuracy Improve Way Accuracy mode] (W)124 * [[JOSMImage(addnode)]] [wikitr:/Help/Action/AddNode Add node ...] 125 * [[JOSMImage(mapmode/improvewayaccuracy)]] [wikitr:/Help/Action/ImproveWayAccuracy Improve Way Accuracy mode] (`W`) 138 126 139 127 ----
