Changes between Version 61 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

    v61 v93  
    11[[TranslatedPages]]
     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
    78This mode behaves differently depending on how you use it.
    89
    910== Try it yourself ==
     11Open [attachment:josmwiki-actiondraw.osm josmwiki-actiondraw.osm] using menu item [wikitr:/Help/Menu/File "File > Open Location ..."]  (`Ctrl+L`).
    1012
    11 Open [https://josm.openstreetmap.de/raw-attachment/wiki/Help/Action/Draw/josmwiki-actiondraw.osm https://josm.openstreetmap.de/raw-attachment/wiki/Help/Action/Draw/josmwiki-actiondraw.osm] using menu item [wiki:/Help/Menu/File "File > Open Location ..." (Ctrl+L)].
    1213
    13 == Standard Mode ==
     14== Standard Mode ==#StandardMode
    1415=== 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]:
    1517
    16 When selection is empty, If you click on a blank area of the screen you add a new node independent of any existing way:
    17 
    18 [[Image(ex1-empty-selection-click-on-blank.gif,nolink)]]
     18[[Image(ex1-empty-selection-click-on-blank.gif,link=)]]
    1919
    2020=== Click on node will stop mode ===
    21 
    2221To 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:
    2322
    24 [[Image(ex1-select-deselect-without-double-click.gif,nolink)]]
     23[[Image(ex1-select-deselect-without-double-click.gif,link=)]]
    2524
    2625=== 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 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]):
    2927
    3028''Note: click on second node in segment used to stop drawing mode''
    3129
    32 [[Image(ex1-selected-node-draw-a-segment.gif​,nolink)]]
     30[[Image(ex1-selected-node-draw-a-segment.gif​,link=)]]
    3331
    34 === Click on node will start new segment similar to empty ===
    35 
    36 * 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]
     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)]
    3835
    3936In demo below, left mouse click was used to select first drawing mode, then clicked 6 times at nodes:
    4037
    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=)]]
    4239
     40=== Common nodes ===#Commonnodes
     41This is often necessary when you edit highways or streams of the river.
    4342
    44 === Common nodes with another way ===
    45 
    46 This is often necessary when you edit highways.
    47 
     43==== Common nodes with another way ==== #Commonnodeswithanotherway
    4844If 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''.
    4945
    50 The ''new node'' will belong to both ways. It's often refereed as "common node".
     46The ''new node'' will belong to both ways. It's often referred to as "common node".
    5147
    5248Simplest scenario:
    5349
    54 [[Image(ex1-common-nodes-with-another-way.gif,nolink)]]
     50[[Image(ex1-common-nodes-with-another-way.gif,link=)]]
    5551
    56 === Common nodes are bigger ===
    57 
     52==== Common nodes are bigger ====
    5853It help you distinguish them from other nodes.
    59 
    6054
    6155First 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]):
    6256
    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=)]]
     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=)]]
    6463
    6564=== Double click stops drawing on leaf node ===
    66 
    6765Drawing 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:
    6866
    69 [[Image(ex1-double-click.gif,nolink)]]
     67[[Image(ex1-double-click.gif,link=)]]
    7068
    71 === Continuous drawing ===
    72 
     69=== Continuous drawing ===#Continuousdrawing
    7370Previous way will be continued if both are true:
    74711. nothing was selected OR way in question was selected
     
    7774If draw mode applied to non-leaf nodes, it will create a new way instead of continuing old one:
    7875
    79 [[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=)]]
    8077
    8178==== Left click on drawn way will stop continuous drawing ====
    82 
    8379It doesn't matter if you click on nodes or create a new node in a way:
    8480
    85 [[Image(ex1-click-on-self-when-drawing-will-deselect.gif,nolink)]]
     81[[Image(ex1-click-on-self-when-drawing-will-deselect.gif,link=)]]
     82
    8683
    8784=== Snaps to existing nodes or ways ===
     85Note how nodes and way change color to yellow when hovering over them:
    8886
    89 Note how nodes and way change colour to yellow when hovering over them:
     87[[Image(ex1-snapping.gif,link=)]]
    9088
    91 [[Image(ex1-snapping.gif,nolink)]]
     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):
    9290
    93 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=)]]
    9492
    95 [[Image(ex2-snapping.gif,nolink)]]
    9693
    97 == Angle snapping ==
     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].
    9896
    99 === Basic usage ===
    100 
    101 Use this mode to draw segment that is parallel, perpendicular or at precisely defined angles (30, 45, 60, 90) degrees to the reference segment(s):
    102 
    103 To enable this mode press {{{A}}} twice (status bar with angle with be highlighted in bright green), then you need to use {{{Right mouse click}}} on segment you want to use as reference.
    104 
    105 Any ''way segment'' when ''angle snapping'' enabled, during enabled "draw mode" :-) allows to use that segment as reference or base segment.
    106 
    107 Instead of the {{{Right mouse click}}} you can also hold {{{Ctrl}}} while ''moving mouse over'' desired segment.
    108 
    109 [[Image(ex1-anglesnapping-way-along-segment.gif​,nolink)]]
    110 
    111 === Angles ===
    112 
    113 You can choose the direction of next segment to make specific angle between segments (0,30,45,90, degrees etc.).
    114 
    115 [[Image(ex2-anglesnapping-degrees.gif,nolink)]]
    116 
    117 === Base segment can be changed as many times as you want ===
    118 
    119 [[Image(ex3-anglesnapping-change-base-segment.gif,nolink)]]
    120 
    121 === Base segment will be preserved while drawing mode is on ===
    122 
    123 Pay attention how "Draw mode" was '''NEVER''' disabled during this illustration:
    124 
    125 [[Image(ex4-anglesnapping-base-segment-preserved-untill-mode-disabled-or-segment-changed.gif,nolink)]]
    126 
    127 === Advanced settings ===
    128 
    129 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].
    13097
    13198== Modifiers ==
     99=== `Alt` modifier ===#Altmodifier
     100[[Image(ex1-alt.gif,link=)]]
    132101
    133 === Alt modifier ===
     102If you hold down the `Alt` key when using this mode it starts a new way, rather than continuing an existing way.
    134103
    135 [[Image(ex1-alt.gif,nolink)]]
     104=== `Shift` modifier ===#Shiftmodifier
     105[[Image(ex1-shift.gif,link=)]]
    136106
    137 If you hold down the {{{Alt}}} key when using this mode it starts a new way, rather than continuing an existing way.
     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.
    138108
    139 === Shift modifier ===
     109=== `Ctrl` modifier ===#Ctrlmodifier
     110[[Image(ex1-ctrl.gif,link=)]]
    140111
    141 [[Image(ex1-shift.gif,nolink)]]
    142 
    143 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.
    144 
    145 === Ctrl modifier ===
    146 
    147 [[Image(ex1-ctrl.gif,nolink)]]
    148 
    149 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.
     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.
    150113
    151114=== Combination of modifiers ===
    152 You may optionally use one or many modifiers at once to get desired result.
     115You may optionally use one or many modifiers at once to get the desired result.
    153116
    154 Here is Ctrl modifier used with Shift at once:
     117Here is `Ctrl` modifier used with `Shift` at once:
    155118
    156 [[Image(ex1-ctrl+shift.gif,nolink)]]
     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
    157124
    158125== See also ==
    159  * [[Image(source:/trunk/images/addnode.png)]][wiki:/Help/Action/AddNode Add node ...]
    160  * [[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`)
    161128
    162129----
    163 Back to [wiki:/Help/EditToolbar Edit Toolbar][[BR]]
    164 Back to [wiki:/Help Main Help]
     130Back to [wikitr:/Help/Menu/Mode Mode menu] \\
     131Back to [wikitr:/Help Main Help]