| 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'' |
| | 11 | 1. 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; |
| | 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 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); |
| | 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 collapsed; |
| | 16 | 6. You can repeat steps 2-6 as many times as you want until tool will disabled or there nothing left to merge |
| 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 | | }}} |