Skip to content

Add Line

Creates new line or adds new points to an existing line. If the mode is started with the shift key and there is an existing active line, points are added to it. Otherwise, new empty line is created.

Each mouse click adds new point to the line. If pointed snapped to the existing point, the point is copied to the current line. All point specific attributes (id) and coordinates are copied to the new point. Common line attributes (category, feature) keep their original values.

When clicking anywhere else on the canvas, point with mouse coordinates is added to the line. This can be done only in 2D mode. In 3D mode it is possible to create line only through existing point by snapping to them. If there is an active object at mode start, its height is used for newly added points. This height can be changed at any time by the point height field in the dialog.

Stating mode automatically activates the line edit dialog and remembers previously used category and feature codes. If there is an active line when starting the mode, its codes are used for new line. Codes can be changed at any time during adding.

Accepting changes combines all added points to a single operation. When undoing the operation all added points are removed. Canceling the mode also discards all added points.