Changes between Version 44 and Version 91 of Help/Action/Draw
- Timestamp:
- (multiple changes)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Action/Draw
v44 v91 1 [[TranslatedPages]] 1 [[TranslatedPages(outdated=Missing description for "Left mouse click will add nodes on overlapping ways")]] 2 [[PageOutline(2-5)]] 3 2 4 = Draw Nodes = 3 5 4 [[Image(source:/trunk/images/mapmode/node/autonode.png)]] ''Keyboard shortcut:'' '''{{{A}}}''' 5 [[TOC(inline)]] 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 == Standard Mode == 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`). 12 13 14 == Standard Mode ==#StandardMode 10 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]: 11 17 12 When selection is empty, If you click on a blank area of the screen you add a new node independent of any existing way: 18 [[Image(ex1-empty-selection-click-on-blank.gif,link=)]] 13 19 14 [[Image(ex1-empty-selection-click-on-blank.gif,nolink)]] 20 === Click on node will stop mode === 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: 22 23 [[Image(ex1-select-deselect-without-double-click.gif,link=)]] 15 24 16 25 === Draw a 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]): 17 27 18 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 segment): 28 ''Note: click on second node in segment used to stop drawing mode'' 19 29 20 [[Image(ex1-selected-node-draw-a-segment.gif, nolink)]]30 [[Image(ex1-selected-node-draw-a-segment.gif,link=)]] 21 31 22 === Common nodes with another way === 32 === Click on node will start new segment similar to empty === 33 * If you are currently not drawing, then you can select node with a left mouse click 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)] 23 35 24 This is often necessary when you edit highways. 36 In demo below, left mouse click was used to select first drawing mode, then clicked 6 times at nodes: 25 37 38 [[Image(ex1-click-to-select-a-node-or-exit-drawing-on-leaf-node.gif,link=)]] 39 40 === Common nodes ===#Commonnodes 41 This is often necessary when you edit highways or streams of the river. 42 43 ==== Common nodes with another way ==== #Commonnodeswithanotherway 26 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''. 27 45 28 The ''new node'' will belong to both ways. It's often refer eedas "common node".46 The ''new node'' will belong to both ways. It's often referred to as "common node". 29 47 30 48 Simplest scenario: 31 49 32 [[Image(ex1-common-nodes-with-another-way.gif, nolink)]]50 [[Image(ex1-common-nodes-with-another-way.gif,link=)]] 33 51 34 52 ==== Common nodes are bigger ==== 35 36 53 It help you distinguish them from other nodes. 37 38 54 39 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]): 40 56 41 [[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=)]] 42 58 43 === Select and deselect objects === 59 ==== Left mouse click will add nodes on overlapping ways ==== 60 If two ways overlap, single mouse click will create a common point. 44 61 45 * If you are currently not drawing, then you can select node with a left mouse click 46 * 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] 62 (stub) 47 63 48 In demo below, left mouse click was used to select a drawing mode, then clicked 6 times at nodes:49 50 [[Image(ex1-click-to-select-a-node-or-exit-drawing-on-leaf-node.gif,nolink)]]51 52 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:53 54 [[Image(ex1-select-deselect-without-double-click.gif,nolink)]]55 64 56 65 === Double click stops drawing on leaf node === 57 58 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: 59 67 60 [[Image(ex1-double-click.gif, nolink)]]68 [[Image(ex1-double-click.gif,link=)]] 61 69 62 === Continuous drawing === 63 64 Previous way will be continued if both following is true: 70 === Continuous drawing ===#Continuousdrawing 71 Previous way will be continued if both are true: 65 72 1. nothing was selected OR way in question was selected 66 73 2. draw mode applied to leaf nodes … … 68 75 If draw mode applied to non-leaf nodes, it will create a new way instead of continuing old one: 69 76 70 [[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=)]] 78 79 ==== Left click on drawn way will stop continuous drawing ==== 80 It doesn't matter if you click on nodes or create a new node in a way: 81 82 [[Image(ex1-click-on-self-when-drawing-will-deselect.gif,link=)]] 83 71 84 72 85 === Snaps to existing nodes or ways === 86 Note how nodes and way change color to yellow when hovering over them: 73 87 74 [[Image(ex1-snapping.gif, nolink)]]88 [[Image(ex1-snapping.gif,link=)]] 75 89 76 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):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): 77 91 78 [[Image(ex2-snapping.gif, nolink)]]92 [[Image(ex2-snapping.gif,link=)]] 79 93 80 === Left click on drawn way will deselect node and stop mode ===81 94 82 It doesn't matter if you click on nodes or create a new node in a way: 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]. 83 97 84 [[Image(ex1-click-on-self-when-drawing-will-deselect.gif,nolink)]]85 86 == Angle snapping ==87 88 You can choose the direction of next segment to make specific angle between segments (0,30,45,90, degrees etc.).89 To enable this mode press '''{{{A}}}''' again and see helper lines while moving mouse.90 To fix the direction and move mouse far from snapping line, please hold '''{{{A}}}''' key.91 92 Right click on any way segment when snapping allows to use that segment as reference (for example, to draw segment that is parallel, perpendicular or 45 degrees-aligned to the reference segment). Instead of the right click you can also hold {{{Ctrl}}} while moving mouse over desired reference segment.93 94 To choose angles, disable showing helper geometry, or disable snapping, use right-click on Angle symbol in statusbar and select corresponding item in [Help/StatusBar#anglemenu popup menu].95 98 96 99 == Modifiers == 100 === `Alt` modifier ===#Altmodifier 101 [[Image(ex1-alt.gif,link=)]] 97 102 98 === Alt modifier === 103 If you hold down the `Alt` key when using this mode it starts a new way, rather than continuing an existing way. 99 104 100 [[Image(ex1-alt.gif,nolink)]] 105 === `Shift` modifier ===#Shiftmodifier 106 [[Image(ex1-shift.gif,link=)]] 101 107 102 If you hold down the {{{Alt}}} key when using this mode it starts a new way, rather than continuing an existing way.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. 103 109 104 === Shift modifier === 110 === `Ctrl` modifier ===#Ctrlmodifier 111 [[Image(ex1-ctrl.gif,link=)]] 105 112 106 [[Image(ex1-shift.gif,nolink)]] 107 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. 109 110 === Ctrl modifier === 111 112 [[Image(ex1-ctrl.gif,nolink)]] 113 114 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. 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. 115 114 116 115 === Combination of modifiers === 117 You may optionally use one or many modifiers at once to get desired result.116 You may optionally use one or many modifiers at once to get the desired result. 118 117 119 Here is Ctrl modifier used with Shiftat once:118 Here is `Ctrl` modifier used with `Shift` at once: 120 119 121 [[Image(ex1-ctrl+shift.gif,nolink)]] 120 [[Image(ex1-ctrl+shift.gif,link=)]] 121 122 == Auto screen center mode ==#ScreenCenterMode 123 Press and release `Ctrl+Shift+F` before drawing to toggle [wikitr:/Help/Action/ViewportFollowing Viewport Following]. If enabled, the screen will automatically center on each newly drawn node. 124 122 125 123 126 == See also == 124 * [[Image(source:/trunk/images/addnode.png)]][wiki:/Help/Action/AddNode Add node ...]125 * [[Image(source:trunk/images/mapmode/improvewayaccuracy.png,nolink)]] [Action/ImproveWayAccuracy Improve Way Accuracy mode] (W)127 * [[JOSMImage(addnode)]] [wikitr:/Help/Action/AddNode Add node…] 128 * [[JOSMImage(mapmode/improvewayaccuracy)]] [wikitr:/Help/Action/ImproveWayAccuracy Improve Way Accuracy mode] (`W`) 126 129 127 130 ---- 128 Back to [wiki :/Help/EditToolbar Edit Toolbar][[BR]]129 Back to [wiki :/Help Main Help]131 Back to [wikitr:/Help/Menu/Mode Mode menu] \\ 132 Back to [wikitr:/Help Main Help]