[[TranslatedPages]]
= Contourmerge Plugin =
== In a nutshell ==
The {{{contourmerge}}} plugin helps you to align the contours of areas in JOSM.
[[Image(lake-and-forest.1.png,align=left, valign=top, margin-right=10)]]
Here's a typical example: a '''lake''' with a detailled shoreline and a '''forest'''.
The contour of the forest should be aligned with the lakes shoreline.
Select the {{{contourmege}}} map mode in the toolbar for map modes and perform the steps below.
{{{
#!html
}}}
=== Step 1 - Select the "cut-nodes" ===
[[Image(lake-and-forest.2.png, 160px, align=left, valign=top, margin-right=10)]]
* 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.
{{{
#!html
}}}
=== Step 2 - Drag the source contour ===
[[Image(lake-and-forest.3.png, 160px, align=left, valign=top, margin-right=10)]]
* Drag the source contour between two "cut-nodes"
{{{
#!html
}}}
[[Image(lake-and-forest.4.png,160px, align=left, valign=top, margin-right=10)]]
* When you drag it over a possible target contour, the source contour is aligned with the target contour.
{{{
#!html
}}}
=== Step 3 - Align the contours ===
[[Image(lake-and-forest.5.png, 160px, align=left, valign=top, margin-right=10)]]
* Drop the source contour. The contours of the lake and the forest are merged.
If the merge doesn't happen as expected, reversing one of the ways helps.
{{{
#!html
}}}