Changes between Version 54 and Version 93 of Help/Action/Draw
- Timestamp:
- (multiple changes)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Action/Draw
v54 v93 1 1 [[TranslatedPages]] 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: 13 14 [[Image(ex1-empty-selection-click-on-blank.gif,nolink)]] 18 [[Image(ex1-empty-selection-click-on-blank.gif,link=)]] 15 19 16 20 === Click on node will stop mode === 17 18 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: 19 22 20 [[Image(ex1-select-deselect-without-double-click.gif, nolink)]]23 [[Image(ex1-select-deselect-without-double-click.gif,link=)]] 21 24 22 25 === Draw a segment === 23 24 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): 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]): 25 27 26 28 ''Note: click on second node in segment used to stop drawing mode'' 27 29 28 [[Image(ex1-selected-node-draw-a-segment.gif, nolink)]]30 [[Image(ex1-selected-node-draw-a-segment.gif,link=)]] 29 31 30 === Click on node will start new segment similar to empty === 31 32 * If you are currently not drawing, then you can select node with a left mouse click 33 * 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] 32 === Click on node will start new segment similar to empty selection === 33 * If you are currently not drawing, then you can select a 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)] 34 35 35 36 In demo below, left mouse click was used to select first drawing mode, then clicked 6 times at nodes: 36 37 37 [[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=)]] 38 39 40 === Common nodes ===#Commonnodes 41 This is often necessary when you edit highways or streams of the river. 39 42 40 === Common nodes with another way === 41 42 This is often necessary when you edit highways. 43 43 ==== Common nodes with another way ==== #Commonnodeswithanotherway 44 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''. 45 45 46 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". 47 47 48 48 Simplest scenario: 49 49 50 [[Image(ex1-common-nodes-with-another-way.gif, nolink)]]50 [[Image(ex1-common-nodes-with-another-way.gif,link=)]] 51 51 52 === Click on overlapping segments will create common node === 53 54 (stub, possibly imprecise text) 55 56 If two ways cross, and there currently is no node in common at the junction, and you click near the intersection of the two ways, then the node will be inserted into both ways, which will then share a common point. 57 58 === Common nodes are bigger === 59 52 ==== Common nodes are bigger ==== 60 53 It help you distinguish them from other nodes. 61 62 54 63 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]): 64 56 65 [[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=)]] 58 59 ==== Left mouse click will add nodes on overlapping ways ==== 60 If two ways overlap, single mouse click will create a common point. 61 62 [[Image(ex1-left-mouse-click-will-add-nodes-on-overlapping-ways.gif,link=)]] 66 63 67 64 === Double click stops drawing on leaf node === 68 69 65 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: 70 66 71 [[Image(ex1-double-click.gif, nolink)]]67 [[Image(ex1-double-click.gif,link=)]] 72 68 73 === Continuous drawing === 74 69 === Continuous drawing ===#Continuousdrawing 75 70 Previous way will be continued if both are true: 76 71 1. nothing was selected OR way in question was selected … … 79 74 If draw mode applied to non-leaf nodes, it will create a new way instead of continuing old one: 80 75 81 [[Image(ex1-will-continue-way-on-leaf-nodes-and-wont-at-middle.gif, nolink)]]76 [[Image(ex1-will-continue-way-on-leaf-nodes-and-wont-at-middle.gif,link=)]] 82 77 83 78 ==== Left click on drawn way will stop continuous drawing ==== 84 85 79 It doesn't matter if you click on nodes or create a new node in a way: 86 80 87 [[Image(ex1-click-on-self-when-drawing-will-deselect.gif,nolink)]] 81 [[Image(ex1-click-on-self-when-drawing-will-deselect.gif,link=)]] 82 88 83 89 84 === Snaps to existing nodes or ways === 85 Note how nodes and way change color to yellow when hovering over them: 90 86 91 Note how nodes and way change colour to yellow when hovering over them: 87 [[Image(ex1-snapping.gif,link=)]] 92 88 93 [[Image(ex1-snapping.gif,nolink)]] 89 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): 94 90 95 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): 91 [[Image(ex2-snapping.gif,link=)]] 96 92 97 [[Image(ex2-snapping.gif,nolink)]]98 93 99 == Angle snapping == 94 == Angle snapping ==#Anglesnapping 95 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]. 100 96 101 You can choose the direction of next segment to make specific angle between segments (0,30,45,90, degrees etc.).102 To enable this mode press '''{{{A}}}''' again and see helper lines while moving mouse.103 To fix the direction and move mouse far from snapping line, please hold '''{{{A}}}''' key.104 105 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.106 107 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].108 97 109 98 == Modifiers == 99 === `Alt` modifier ===#Altmodifier 100 [[Image(ex1-alt.gif,link=)]] 110 101 111 === Alt modifier === 102 If you hold down the `Alt` key when using this mode it starts a new way, rather than continuing an existing way. 112 103 113 [[Image(ex1-alt.gif,nolink)]] 104 === `Shift` modifier ===#Shiftmodifier 105 [[Image(ex1-shift.gif,link=)]] 114 106 115 If you hold down the {{{Alt}}}key whenusing this modeit starts a new way, rather than continuing an existing way.107 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. 116 108 117 === Shift modifier === 109 === `Ctrl` modifier ===#Ctrlmodifier 110 [[Image(ex1-ctrl.gif,link=)]] 118 111 119 [[Image(ex1-shift.gif,nolink)]] 120 121 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. 122 123 === Ctrl modifier === 124 125 [[Image(ex1-ctrl.gif,nolink)]] 126 127 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. 112 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. 128 113 129 114 === Combination of modifiers === 130 You may optionally use one or many modifiers at once to get desired result. 115 You may optionally use one or many modifiers at once to get the desired result. 131 116 132 Here is Ctrlmodifier used withShiftat once:117 Here is `Ctrl` modifier used with `Shift` at once: 133 118 134 [[Image(ex1-ctrl+shift.gif,nolink)]] 119 [[Image(ex1-ctrl+shift.gif,link=)]] 120 121 == Auto screen center mode ==#ScreenCenterMode 122 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. 123 135 124 136 125 == See also == 137 * [[Image(source:/trunk/images/addnode.png)]][wiki:/Help/Action/AddNode Add node...]138 * [[Image(source:trunk/images/mapmode/improvewayaccuracy.png,nolink)]] [Action/ImproveWayAccuracy Improve Way Accuracy mode] (W)126 * [[JOSMImage(addnode)]] [wikitr:/Help/Action/AddNode Add node…] 127 * [[JOSMImage(mapmode/improvewayaccuracy)]] [wikitr:/Help/Action/ImproveWayAccuracy Improve Way Accuracy mode] (`W`) 139 128 140 129 ---- 141 Back to [wiki:/Help/ EditToolbar Edit Toolbar][[BR]]142 Back to [wiki:/Help Main Help] 130 Back to [wikitr:/Help/Menu/Mode Mode menu] \\ 131 Back to [wikitr:/Help Main Help]
