Changes between Version 19 and Version 91 of Help/Action/Draw


Ignore:
Timestamp:
(multiple changes)
Author:
(multiple changes)
Comment:
(multiple changes)

Legend:

Unmodified
Added
Removed
Modified
  • Help/Action/Draw

    v19 v91  
    1 [[TranslatedPages]]
     1[[TranslatedPages(outdated=Missing description for "Left mouse click will add nodes on overlapping ways")]]
     2[[PageOutline(2-5)]]
     3
    24= Draw Nodes =
    35
    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]
    67
    7 This tool behaves differently depending on how you use it.
     8This mode behaves differently depending on how you use it.
    89
    9 == Standard Mode ==
    10 
    11  * If you click on a blank area of the screen you add a new node independent of any existing way.
    12 
    13  * If you select an end node of a way and then click on a blank area of the screen you add a new node to the end of the existing way.
    14 
    15  * If no node is previously selected and  you click between (or very close to) two nodes in an existing way the new node is added on the existing way, between two existing nodes. 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.
    16 
    17  * 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.
    18 
    19  * 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).
     10== Try it yourself ==
     11Open [attachment:josmwiki-actiondraw.osm josmwiki-actiondraw.osm] using menu item [wikitr:/Help/Menu/File "File > Open Location ..."]  (`Ctrl+L`).
    2012
    2113
    22 == Alt modifier ==
     14== Standard Mode ==#StandardMode
     15=== Create a node ===
     16When 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]:
    2317
    24 If you hold down the {{{Alt}}} key when using this tool it starts a new way, rather than continuing an existing way.
     18[[Image(ex1-empty-selection-click-on-blank.gif,link=)]]
    2519
    26 == Shift modifier ==
     20=== Click on node will stop mode ===
     21To 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:
    2722
    28 If you hold down the {{{Shift}}} key whilst using this tool it disables the "auto-connect" feature.  So segments will not be drawn between new nodes.
     23[[Image(ex1-select-deselect-without-double-click.gif,link=)]]
    2924
    30 == Ctrl modifier ==
     25=== Draw a segment ===
     26With 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]):
    3127
    32 If you hold down the {{{Ctrl}}} key whilst using this tool it disables the snapping to an existing way, allowing you to draw nodes close to, but not part of an existing way.
     28''Note: click on second node in segment used to stop drawing mode''
    3329
    34 == Note ==
     30[[Image(ex1-selected-node-draw-a-segment.gif​,link=)]]
    3531
    36 There is another way to add nodes.
     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)]
    3735
    38 When you zoom in to higher resolutions you will note that on a way, between a pair of nodes, there is a {{{+}}} symbol.  If you drag this with the mouse it automatically becomes a new node. Using this method it is very easy to modify an existing way.
     36In demo below, left mouse click was used to select first drawing mode, then clicked 6 times at nodes:
    3937
    40 == Angle snapping ==
     38[[Image(ex1-click-to-select-a-node-or-exit-drawing-on-leaf-node.gif​,link=)]]
    4139
    42 You can choose the direction of next segment to make specific angle between segments (0,30,45,90, degrees etc.).
    43 To enable this mode press '''{{{A}}}''' again and see helper lines while moving mouse.
    44 To fix the direction and move mouse far from snapping line, please hold '''{{{A}}}''' key.
     40=== Common nodes ===#Commonnodes
     41This is often necessary when you edit highways or streams of the river.
    4542
    46 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 it). You can also hold {{{Ctrl}}} while moving mouse over desired segment.
     43==== Common nodes with another way ==== #Commonnodeswithanotherway
     44If 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''.
    4745
    48 To choose angles, disable showing helper geometry, or disable snapping, use right-click on Angle symbol in statusbar and select corresponding item in popup menu.
     46The ''new node'' will belong to both ways. It's often referred to as "common node".
     47
     48Simplest scenario:
     49
     50[[Image(ex1-common-nodes-with-another-way.gif,link=)]]
     51
     52==== Common nodes are bigger ====
     53It help you distinguish them from other nodes.
     54
     55First 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]):
     56
     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 ====
     60If two ways overlap, single mouse click will create a common point.
     61
     62(stub)
     63
     64
     65=== Double click stops drawing on leaf node ===
     66Drawing 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:
     67
     68[[Image(ex1-double-click.gif,link=)]]
     69
     70=== Continuous drawing ===#Continuousdrawing
     71Previous way will be continued if both are true:
     721. nothing was selected OR way in question was selected
     732. draw mode applied to leaf nodes
     74
     75If draw mode applied to non-leaf nodes, it will create a new way instead of continuing old one:
     76
     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 ====
     80It 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
     84
     85=== Snaps to existing nodes or ways ===
     86Note how nodes and way change color to yellow when hovering over them:
     87
     88[[Image(ex1-snapping.gif,link=)]]
     89
     90If 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
     92[[Image(ex2-snapping.gif,link=)]]
     93
     94
     95== Angle snapping ==#Anglesnapping
     96Often 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].
     97
     98
     99== Modifiers ==
     100=== `Alt` modifier ===#Altmodifier
     101[[Image(ex1-alt.gif,link=)]]
     102
     103If you hold down the `Alt` key when using this mode it starts a new way, rather than continuing an existing way.
     104
     105=== `Shift` modifier ===#Shiftmodifier
     106[[Image(ex1-shift.gif,link=)]]
     107
     108If 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 ===#Ctrlmodifier
     111[[Image(ex1-ctrl.gif,link=)]]
     112
     113If 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.
     114
     115=== Combination of modifiers ===
     116You may optionally use one or many modifiers at once to get the desired result.
     117
     118Here is `Ctrl` modifier used with `Shift` at once:
     119
     120[[Image(ex1-ctrl+shift.gif,link=)]]
     121
     122== Auto screen center mode ==#ScreenCenterMode
     123Press 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
    49125
    50126== See also ==
    51  * [[Image(source:/trunk/images/addnode.png)]][wiki:/Help/Action/AddNode Add node ...]
     127* [[JOSMImage(addnode)]] [wikitr:/Help/Action/AddNode Add node…]
     128* [[JOSMImage(mapmode/improvewayaccuracy)]] [wikitr:/Help/Action/ImproveWayAccuracy Improve Way Accuracy mode] (`W`)
    52129
    53130----
    54 Back to [wiki:/Help/EditToolbar Edit Toolbar][[BR]]
    55 Back to [wiki:/Help Main Help]
     131Back to [wikitr:/Help/Menu/Mode Mode menu] \\
     132Back to [wikitr:/Help Main Help]