Changes between Version 15 and Version 16 of Help/Plugin/ContourMerge


Ignore:
Timestamp:
2016-03-25T06:23:02+01:00 (10 years ago)
Author:
openstreetmap.org-user-d1g
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Help/Plugin/ContourMerge

    v15 v16  
    33= Contourmerge Plugin =
    44
    5 [[Image(/pluginicon/contourmerge.jar/images/mapmode/contourmerge.png)]]
     5[[Image(/pluginicon/contourmerge.jar/images/mapmode/contourmerge.png,nolink)]] The {{{contourmerge}}} plugin helps you to align the contours of areas in JOSM.
    66
    77== Usage ==
     
    99=== Usage on areas ===
    1010
    11 1. ''Enable mode, you will need to select ('''at least''') two points for every area (make sure you are editing areas, not [#Usageonways on ways])''
    12 2. ''Use left mouse click to select point (icon: standard icon add node will appear); use left mouse click to deselect a point (icon with cross will indicate selected point)''
    13 3. ''After all 4 points selected, you can pick one of 4 parts as ''source geometry'' to move. Hover mouse over part and you will (cursor: move with 4 arrows);''
    14 4. ''After you started to drag ''source geometry'', you have one of two options in target geometry. Your ''source geometry'' will change it's shape to a ''target geometry'' shape after mouse hover and icon of a shortcut will be displayed.''
    15 5. ''Contours will be merged. But if ''source geometry'' had only one segment left, it will be completely collaplsed''
    16 6. ''You can repeat steps 2-6 as many times as you want until tool will disabled or there nothing left to merge''
     111. Enable mode, you will need to select ('''at least''') two points for every area; but not [#Usageonways on ways] - there no requirement in minimal node count for ways that are not areas;
     122. Use left mouse click to select point (icon: standard icon add node will appear); use left mouse click to deselect a point (icon with cross will indicate selected point);
     133. After all 2+ points selected, you can pick one of 2+ parts as ''source geometry'' to move. Hover mouse over part and you will (cursor: move with 4 arrows);
     144. After you started to drag ''source geometry'', you have one of two options in target geometry. Your ''source geometry'' will change it's shape to a ''target geometry'' shape after mouse hover and icon of a shortcut will be displayed;
     155. Contours will be merged. But if ''source geometry'' had only one segment left, it will be completely collapsed;
     166. You can repeat steps 2-6 as many times as you want until tool will disabled or there nothing left to merge
    1717
    18 Regular usage on the left and complete collapse of the source geometry on the right:
     18No cut points selected on the left (because both objects are ways, not area) and complete collapse of the source geometry on the right:
    1919
    2020[[Image(ex1-merge-contour-with-another-countour-usage-on-areas.gif,nolink)]]
     
    3131* nothing is changed
    3232
     33Regular usage on the left and multiple source geometries on the right:
     34
    3335[[Image(ex2-merge-contour-with-another-countour-usage-on-ways.gif,nolink)]]
    3436[[Image(ex4-merge-contour-with-another-countour-usage-on-areas.gif,nolink)]]
    35 
    36 = Old content below =
    37 == In a nutshell ==
    38 
    39 The {{{contourmerge}}} plugin helps you to align the contours of areas in JOSM.
    40 
    41 [[Image(lake-and-forest.1.png,align=left, valign=top, margin-right=10)]]
    42 Here's a typical example: a '''lake''' with a detailled shoreline and a '''forest'''.
    43 
    44 The contour of the forest should be aligned with the lakes shoreline.
    45 
    46 Select the {{{contourmege}}} map mode in the toolbar for map modes and perform the steps below.
    47 {{{
    48 #!html
    49 <br clear="all"/>
    50 }}}
    51 
    52 === Step 1 - Select the "cut-nodes" ===
    53 
    54 [[Image(lake-and-forest.2.png, 160px, align=left, valign=top, margin-right=20)]]
    55 
    56 * Select the part of the contour you want to merge, in both the areas for the lake and the forest. '''Left-Click''' on the respective nodes to mark them as selected.
    57 
    58 {{{
    59 #!html
    60 <br clear="all"/>
    61 }}}
    62 
    63 
    64 === Step 2 - Drag the source contour ===
    65 
    66 [[Image(lake-and-forest.3.png, 160px, align=left, valign=top, margin-right=20)]]
    67 * Drag the source contour between two "cut-nodes"
    68 
    69 {{{
    70 #!html
    71 <br clear="all"/>
    72 }}}
    73 [[Image(lake-and-forest.4.png,160px, align=left, valign=top, margin-right=20)]]
    74 * When you drag it over a possible target contour, the source contour is aligned with the target contour.
    75 
    76 {{{
    77 #!html
    78 <br clear="all"/>
    79 }}}
    80 
    81 === Step 3 - Align the contours ===
    82 [[Image(lake-and-forest.5.png, 160px, align=left, valign=top, margin-right=20)]]
    83 * Drop the source contour. The contours of the lake and the forest are merged.
    84 
    85 If the merge doesn't happen as expected, reversing one of the ways helps.
    86 
    87 {{{
    88 #!html
    89 <br clear="all"/>
    90 }}}
    9137
    9238----