12 | | '''Usage:''' |
| 13 | [#Shortcutsanddrawingmode Drawing mode], in simple words: |
| 14 | 1. ''Enter the drawing mode, click pen toolbar icon (or `Shift+F`)''. Icon will be set to cross. |
| 15 | 1. ''(optionally) press `Q` to open [#ConfigurationmenuQ configuration menu] |
| 16 | 1. ''Point cursor at starting position. Move mouse. Press or hold: `Spacebar`'' or ''left mouse button'' - when you want to add more nodes. Icon will we switched to (icon: cross with 3 nodes), it means that nodes will be added. |
| 17 | [#Automaticsimplification Automatic simplification], in simple words: \\ |
| 18 | 4. ''`Enter`. shape will be automatically simplified with respect to ''fixed nodes'' (to reduce number of nodes). |
| 19 | 5. ''(optionally) fine tune simplification using `Up` or `Down` buttons.'' |
| 20 | 6. ''`Enter` again. Regular OSM way is created and selected.'' |
| 21 | After step 6, Drawing mode will be disabled and all respective shortcuts will be inaccessible (including `Q`) |
14 | | 1) Enter the drawing mode ('''Shift-F''' or Pen toolbar icon) |
| 23 | === Shortcuts and drawing mode ===#Shortcutsanddrawingmode |
| 24 | This sections covers steps 1,3 in detail: |
| 25 | * You can ''move nodes'' simply by dragging them |
| 26 | * `Backspace` - to delete one of previous nodes sequentially |
| 27 | * `Ctrl+Click` on free node makes it **fixed** (icon: a green dot) - that will not be affected by simplification; you may use it for corners or other significant parts of shape but this is not required |
| 28 | * If you point cross cursor over node that was entered by other JOSM tools, it will be added as ''fixed node'' |
| 29 | * `Ctrl+Click` on ''fixed node'' (icon: a green dot inside red dot) - makes it normal node |
| 30 | * `Shift+Click` (icon: red cross) - to delete selected node |
| 31 | * `Shift+Click` (icon: red cross) - can also used to delete sequence of ''insignificant nodes'' between two ''fixed nodes''; it will be highlighted in blue. After you removed a segment, you will enter **redrawing mode**, a segment that is currently redrawn will be displayed in yellow: |
| 32 | * You can use other shortcuts as usual; |
| 33 | * To finish ''redrawing'' and save ''new nodes of a segment'' press `Shift+Click` or `Escape` |
| 34 | * `Ctrl+Shift+Click` (icon: red cross) - will remove all nodes, tool will be ready to use again |
| 35 | * `Escape`- to stop editing (you will be prompted to save your edits) |
| 36 | * Click on the first node (icon: rectangle with red corners) - will create continuous contour |
18 | | 3) Press '''enter'''. Line is simplified to reduce number of nodes. Tune simplification by pressing '''Up/Down''' buttons repeatedly. |
| 40 | === Automatic simplification ===#Automaticsimplification |
| 41 | This sections covers step 4-5 in detail: |
| 42 | * `Up`/`Down` - will multiply current value by epsilon multiplier (`fastdraw.epsilonmult`) |
| 43 | * ''Starting value of epsilon'' (`fastdraw.startingEps`) set in Configuration menu |
| 44 | * ''Current value of epsilon'' displayed in the status bar |
| 45 | * Algorithm will repeat until there `fastdraw.pkmblocksize` nodes in a way and while (number of nodes)/(length of a way) is above "''Max points count per 1 km''" (`fastdraw.maxpkm`) |
| 46 | * epsilon value and starting epsilon value depends on current pixel sizes (zoom level of the map view matters) |
20 | | 4) Press '''enter''' again. Line (Way) is created and selected. |
| 48 | === Snapping to existing nodes, point fixation === |
| 49 | * When dragging and clicking near existing nodes, these can be automatically included in drawn line (they become fixed and are not changed by simplification). You can turn off this behavior in settings `Q`. |
| 50 | * After clicking on starting line point you close the line, it can not be continued by mouse. |
| 51 | * `Ctrl+Click` on existing line point - fix or release this point. |
| 52 | * By using checkboxes in settings, you can force all nodes added by mouse clicks or Space bar to be fixed. |
27 | | 3) When dragging over existing nodes, they are included in new line automatically. |
28 | | |
29 | | 4) Clicking on the first point makes the line closed (no more adding points). |
30 | | |
31 | | '''Editing in drawing mode:''' |
32 | | |
33 | | 1) '''Backspace''' - delete last added node, then previous etc. |
34 | | |
35 | | 2) '''Ctrl-Shift-Click''' - clears the scetch and start new one. |
36 | | |
37 | | 3) '''Ctrl-Click''' on fixed node makes it free, '''Ctrl-Click''' on free node makes it fixed (see marks). |
38 | | |
39 | | 4) '''Shift-Click''' - delete selected node (marked by red X) or selected '''fragment'''. Fragment is a line between two fixed nodes. |
40 | | |
41 | | 5) After deletion of the fragment you can '''redraw''' it by mouse from the beginning to the end (active segment marked orange). |
42 | | |
43 | | 6) To stop editing fragment Shift-Click on free area or press '''Escape'''. |
| 58 | == See also == |
| 59 | * [osmwiki:JOSM/Plugins/FastDraw FastDraw] OSM-wiki page |
| 60 | ---- |
| 61 | Back to [wikitr:/Help/Menu/Mode Mode Menu] \\ |
| 62 | Back to [wikitr:/Help Main Help] |