| 12 | | 1. Select a way you want to work on. |
| 13 | | 1. Click on the **Improve Way Accuracy** [[Image(source:trunk/images/mapmode/improvewayaccuracy.png)]] button on the left panel to enter a special editing mode. |
| 14 | | 1. |
| 15 | | * ''To move existing nodes:''[[BR]] |
| 16 | | Click on the map where you think a node should be. The highlighted (nearest) node will be moved there. |
| 17 | | * ''To create new nodes:''[[BR]] |
| 18 | | Press and hold **{{{Ctrl}}}** button and click on the map. A new node will split the segment that is the closest one to the cursor. |
| 19 | | * ''To delete existing nodes:''[[BR]] |
| 20 | | Press and hold **{{{Alt}}}** or **{{{AltGr}}}** button and click on the map. The highlighted (nearest) node will be deleted. **Please try to use as much existing nodes as you can, because thus you keep their history.** |
| 21 | | 1. To start working on a different way without leaving the mode, unselect current way by pressing **{{{Esc}}}** and click on another one. |
| | 12 | The mode automatically finds segments and nodes that are the closest to the cursor. Candidate for deletion/move/addition will be changed as many times as you move cursor. |
| 23 | | == Tips == |
| 24 | | * The plugin automatically finds segments and nodes that are the closest to the cursor. However, if you want to get more flexibility, you can **lock the highlighted node/segment** when moving a mouse. Press and hold **{{{Shift}}}** or left mouse button and the focused node or segment will be kept the same no matter where you move the cursor. |
| 25 | | * JOSM has a [[WireframeToggle|wireframe view]] that turns off any styles and makes lines very thin. You can try it by pressing **{{{Ctrl+W}}}** It might be a good idea to toggle that view before improving ways accuracy as it allows to see the imagery below the data layer in a much better way. |
| 26 | | * Linux may use the left-ALT key as a mouse modifier, which will annoyingly compel Accuracy mode to use right-Alt to delete nodes. [http://askubuntu.com/questions/118151/how-do-i-disable-window-move-with-alt-left-mouse-button-in-gnome-shell Here is an article] explaining how to reassign that ALT key in Gnome (or MATE), freeing it up for IWAM application usage. <Super> is "Windows key". |
| 27 | | [[BR]]Alt+F2 → dconf-editor. |
| 28 | | [[BR]]Click through org → gnome → desktop → wm → preferences → mouse-button-modifier → Set it to whichever key you like. e.g. <Super> or <Control><Alt> or <Alt><Super> |
| | 14 | The highlighted node can be locked (see [#Locksegment Lock segment]). |
| | 15 | |
| | 16 | When you add or move nodes, **they are not merged with existing nodes** as it happens in the [wikitr:/Help/Action/Select Select] or [wikitr:/Help/Action/Draw Draw] modes. You have to quit editing in ''Improve Way Accuracy'' mode and use [wikitr:/Help/Action/MergeNodes merge nodes] tool or alternatives. |
| | 17 | |
| | 18 | === Move existing nodes === |
| | 19 | Click in [wikitr:/Help/MapView Main view] where you think a node should be. The highlighted (nearest) node will be moved there. |
| | 20 | |
| | 21 | ''Helper geometry: dashed red line - indicates a way after moved node'' |
| | 22 | |
| | 23 | === Create new nodes [[JOSMImage(cursor/modifier/addnode,middle,link=,inline)]] (+`Ctrl`) === |
| | 24 | |
| | 25 | [[Image(JOSM-plugin-IWA-example.jpg,right,link=,margin-left=15)]] |
| | 26 | |
| | 27 | Hold **`Ctrl`** button and click - a new node will be added into highlighted segment. |
| | 28 | |
| | 29 | ''Helper geometry: solid red line - indicates a way after new node'' |
| | 30 | |
| | 31 | === Remove nodes [[JOSMImage(cursor/modifier/delete,middle,link=,inline)]] (+`Alt`) === |
| | 32 | |
| | 33 | Hold **`Alt`** button and click - the highlighted node will be deleted. |
| | 34 | |
| | 35 | Please try to keep as much existing nodes as you can, because thus you keep their history. |
| | 36 | |
| | 37 | **You cannot delete nodes that are connected to more than one way or that have tags** to prevent accidental breaking of topology or loss of information. Note that "uninteresting" tags are excluded, like `FIXME`, `note`, `source`, etc. |
| | 38 | |
| | 39 | === Lock segment ===#Locksegment |
| | 40 | * Lock moved node: [[JOSMImage(cursor/modifier/lock)]] + `Shift` - when moving a mouse, hold **`Shift`** or left mouse button and the highlighted node or segment will be kept the same no matter where you move the cursor. |
| | 41 | * Lock added node: [[JOSMImage(cursor/modifier/add_node_lock)]] + `Ctrl` `Shift` |
| 31 | | == Limitations == |
| 32 | | * **When you add or move nodes, they do not bind to nearby objects** as it happens in the [[Select|Select]] or [[Draw|Draw]] modes. This is not needed during the way shape improvement, but in case you would like to do so, select the nodes in the ''Select'' mode and [[MergeNodes|merge]] them, e.g., by pressing **{{{M}}}**. |
| 33 | | * **You cannot delete nodes that are connected to more than one way or that have tags** to prevent accidental breaking of topology or loss of information. Note that "uninteresting" tags are excluded, like FIXME, note, source, etc. |
| | 44 | == See also == |
| | 45 | * [[JOSMImage(dialogs/mappaint/wireframe_small,24,link=,middle)]] `Ctrl+W` [wikitr:/Help/Action/WireframeToggle "Wireframe view"] - turns off any styles and makes lines very thin, it might be a good idea to toggle that view before improving ways accuracy |
| | 46 | * [wikitr:/Shortcuts#Altkey Shortcuts Alt key] - if `Alt` doesn't work |
| | 47 | * [https://github.com/JOSM/improve-way ImproveWay plugin] - extends the Improve Way Accuracy mode with helpers to place nodes at accurate distances and angles. |
| | 48 | |
| | 49 | == External resources == |
| | 50 | * [https://www.youtube.com/watch?v=NzunbvpVIX4 Improve Way Accuracy used to adjust imprecise highway] on Youtube. |