Snapping and tracing

The plugin uses the QGIS snapping and tracing. They are set in the Snapping toolbar (View ‣ Toolbars) or in Project ‣ Snapping Options.

Snapping

With snapping enabled, a node clicked near a vertex or a segment of an existing feature is placed exactly on it. The snapped point is shown by a magenta square.

_images/snapping_before.png

The cursor snaps to a vertex of the existing curve (grey).

_images/snapping_after.png

With this point placed with Ctrl, the new line ends exactly on it.

Self-snapping

Self-snapping also allows snapping to the shape being drawn. It is required for the smooth closing, which needs a double click exactly on the first point.

Tracing

With tracing enabled (T) in addition to snapping, click on two snapped points of an existing feature: the drawing follows the feature between them. Before and after the traced part, the drawing stays free and curved.

_images/tracing_before.png

Between two snapped points, the drawing follows the existing curve (grey).

_images/tracing_after.png

The new line (black) takes exactly the part of the existing curve.

A traced part breaks the curve at both ends, like cusp nodes.