Changes between Version 4 and Version 26 of Help/Action/FastDrawingMode


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

Legend:

Unmodified
Added
Removed
Modified
  • Help/Action/FastDrawingMode

    v4 v26  
    1 [[TranslatedPages(outdated=This page is more or less an incomplete copy of https://wiki.openstreetmap.org/wiki/JOSM/Plugins/FastDraw.)]]
     1[[TranslatedPages(outdated=This page needs some rework. The OSM-wiki page is better structured and better readable.)]]
    22
    3 == Fast Draw - creating lines with mouse or pen ==
     3= Creating lines with mouse or pen using Fast Draw =
     4[[Image(/pluginicon/FastDraw.jar/images/favicon.png,link=,48,middle,margin.right=20)]] ''keyboard shortcut:'' **`Shift+F`** — is one of the [wikitr:/Help/Menu/Mode#Workingmode working modes], provided by the [osmwiki:JOSM/Plugins/FastDraw FastDraw] [wikitr:/Plugins plugin]
    45
    5 Main area of usage - tracing forests, rivers, lakes, twisted roads etc. without too much clicking.
    6 It is a specialized alternative to standard drawing tool (A).
     6Suggested usage - tracing forests, rivers, lakes, twisted roads etc. Without clicking `A` button or left mouse click too much.
    77
    8 Plugin is in testing phase, you can add ticket with bug or enhancement at http://josm.openstreetmap.de/newticket.
     8Please use simplification and validator! Do not upload huge and self-intersecting lines.
    99
    10 '''Please use simplification and validator! Do not upload huge and self-intersecting lines.'''
     10=== Usage with streams ===#Usagewithstreams
     11[[Image(fastdraw-stream.gif,nolink)]]
    1112
    12 '''Usage:'''
     13[#Shortcutsanddrawingmode Drawing mode], in simple words:
     141. ''Enter the drawing mode, click pen toolbar icon (or `Shift+F`)''. Icon will be set to cross.
     151. ''(optionally) press `Q` to open [#ConfigurationmenuQ configuration menu]
     161. ''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: \\
     184. ''`Enter`. shape will be automatically simplified with respect to ''fixed nodes'' (to reduce number of nodes).
     195. ''(optionally) fine tune simplification using `Up` or `Down` buttons.''
     206. ''`Enter` again. Regular OSM way is created and selected.''
     21After step 6, Drawing mode will be disabled and all respective shortcuts will be inaccessible (including `Q`)
    1322
    14 1) Enter the drawing mode  ('''Shift-F''' or Pen toolbar icon)
     23=== Shortcuts and drawing mode ===#Shortcutsanddrawingmode
     24This 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
    1537
    16 2) Draw a line by mouse
     38If only one way is selected (not downloaded from server, to reduce possible problems), you can redraw or re-simplify it by pressing `Shift+F` twice. Unused points will be deleted when saving line `Enter` - `Enter`. Beware - tags are deleted. Undo `Ctrl+Z` works. This feature can be used to simplify alternatively created ways (tracks etc.) or for resimplifying with different parameters.
    1739
    18 3) Press '''enter'''. Line is simplified to reduce number of nodes. Tune simplification by pressing '''Up/Down''' buttons repeatedly.
     40=== Automatic simplification ===#Automaticsimplification
     41This 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)
    1947
    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.
    2153
    22 '''Drawing:'''
    23 1) Use left mouse button clicks or drags to create draft contour.
     54=== Advanced Preferences ===
     55* `fastdraw.pkmblocksize` - not shown in menu to end user (read above)
    2456
    25 2) '''Ctrl-Click''' adds '''fixed point''' that will  not be affected by simplification. Use it for corners etc.
    2657
    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----
     61Back to [wikitr:/Help/Menu/Mode Mode Menu] \\
     62Back to [wikitr:/Help Main Help]