Changes between Version 1 and Version 93 of Help/Action/Draw


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

Legend:

Unmodified
Added
Removed
Modified
  • Help/Action/Draw

    v1 v93  
    1 = Add Node =
     1[[TranslatedPages]]
     2[[PageOutline(2-5)]]
    23
    3 ''Keyboard shortcut:'' N
     4= Draw Nodes =
    45
    5 JOSM has different modes to add nodes.
     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]
     7
     8This mode behaves differently depending on how you use it.
     9
     10== Try it yourself ==
     11Open [attachment:josmwiki-actiondraw.osm josmwiki-actiondraw.osm] using menu item [wikitr:/Help/Menu/File "File > Open Location ..."]  (`Ctrl+L`).
    612
    713
     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]:
    817
    9  * 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=)]]
    1019
    11  * If no 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.
     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:
    1222
    13  * 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.
     23[[Image(ex1-select-deselect-without-double-click.gif,link=)]]
    1424
    15  * 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.
     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]):
    1627
    17 Back to [wiki:Help Main Help]
     28''Note: click on second node in segment used to stop drawing mode''
     29
     30[[Image(ex1-selected-node-draw-a-segment.gif​,link=)]]
     31
     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)]
     35
     36In demo below, left mouse click was used to select first drawing mode, then clicked 6 times at nodes:
     37
     38[[Image(ex1-click-to-select-a-node-or-exit-drawing-on-leaf-node.gif​,link=)]]
     39
     40=== Common nodes ===#Commonnodes
     41This is often necessary when you edit highways or streams of the river.
     42
     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''.
     45
     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[[Image(ex1-left-mouse-click-will-add-nodes-on-overlapping-ways.gif​,link=)]]
     63
     64=== Double click stops drawing on leaf node ===
     65Drawing 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:
     66
     67[[Image(ex1-double-click.gif,link=)]]
     68
     69=== Continuous drawing ===#Continuousdrawing
     70Previous way will be continued if both are true:
     711. nothing was selected OR way in question was selected
     722. draw mode applied to leaf nodes
     73
     74If draw mode applied to non-leaf nodes, it will create a new way instead of continuing old one:
     75
     76[[Image(ex1-will-continue-way-on-leaf-nodes-and-wont-at-middle.gif​,link=)]]
     77
     78==== Left click on drawn way will stop continuous drawing ====
     79It doesn't matter if you click on nodes or create a new node in a way:
     80
     81[[Image(ex1-click-on-self-when-drawing-will-deselect.gif,link=)]]
     82
     83
     84=== Snaps to existing nodes or ways ===
     85Note how nodes and way change color to yellow when hovering over them:
     86
     87[[Image(ex1-snapping.gif,link=)]]
     88
     89If 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
     91[[Image(ex2-snapping.gif,link=)]]
     92
     93
     94== Angle snapping ==#Anglesnapping
     95Often 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].
     96
     97
     98== Modifiers ==
     99=== `Alt` modifier ===#Altmodifier
     100[[Image(ex1-alt.gif,link=)]]
     101
     102If you hold down the `Alt` key when using this mode it starts a new way, rather than continuing an existing way.
     103
     104=== `Shift` modifier ===#Shiftmodifier
     105[[Image(ex1-shift.gif,link=)]]
     106
     107If 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.
     108
     109=== `Ctrl` modifier ===#Ctrlmodifier
     110[[Image(ex1-ctrl.gif,link=)]]
     111
     112If 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
     114=== Combination of modifiers ===
     115You may optionally use one or many modifiers at once to get the desired result.
     116
     117Here is `Ctrl` modifier used with `Shift` at once:
     118
     119[[Image(ex1-ctrl+shift.gif,link=)]]
     120
     121== Auto screen center mode ==#ScreenCenterMode
     122Press 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
     124
     125== See also ==
     126* [[JOSMImage(addnode)]] [wikitr:/Help/Action/AddNode Add node…]
     127* [[JOSMImage(mapmode/improvewayaccuracy)]] [wikitr:/Help/Action/ImproveWayAccuracy Improve Way Accuracy mode] (`W`)
     128
     129----
     130Back to [wikitr:/Help/Menu/Mode Mode menu] \\
     131Back to [wikitr:/Help Main Help]