Drawing and editing the lines

Drawing a line

  1. Click on the map to set the first point, then one click per vertex.

  2. Double-click to finish the line. The profile is computed at once.

While drawing, the length so far is shown at the end of the line and the help tells how to go on:

A line being drawn

A line being drawn: live length and help next to the pointer.

  • Backspace (or Delete) removes the last point set;

  • Escape cancels the line being drawn.

A new line cannot start on an existing line or vertex: there, a click selects or edits (the small square of the pointer disappears).

Several lines, the active line

Several lines can stay on the map. The profile shown is the one of the active line: the last one drawn, edited or selected. Its vertices are marked with white circles.

When hovered, an inactive line is highlighted; click it to make it active: its profile replaces the previous one.

An inactive line hovered

An inactive line hovered: highlighted, with the help “Click to select”.

Editing the active line

Inserting a vertex

Hover a segment of the active line: a circle shows where the vertex will be added. Click to insert it.

Hovering a segment

Hovering a segment: a click adds a vertex there.

Moving or deleting a vertex

Hover a vertex: it is highlighted.

  • Drag it to move it: the line and its lengths follow live, and the profile is computed again when it is released.

  • Press Backspace (or Delete) to delete it. A line keeps at least two vertices: on a two-vertex line, they can only be moved.

Hovering a vertex

Hovering a vertex: drag it to move it, Backspace to delete it.

A vertex being moved

A vertex being moved: the lengths of the segments follow.

Deleting a line

Hover the line (active or not, away from a vertex) and press Backspace or Delete. If it is the active line, its profile disappears. All the lines are removed when the tool is closed.

Line with no data

If no checked layer has a value under the line (outside the extent of the DEMs, at sea for Copernicus), a message says so and the line is deleted after two seconds, or at once if you close the message or start another line.

A line drawn outside the DEM

A line drawn outside the drone DTM, the only layer checked: “No elevation data under the line. The line will be removed.”

The help next to the pointer

If the Show help tooltips option is checked (see The layer panel), a help next to the pointer tells what a click, a drag or Backspace would do:

Where the pointer is

Help shown

on the map, away from the lines

“Click to start the profile line”

while drawing

“Click to continue, double-click to finish”

on the active line

“Click to add a node · Backspace: delete”

on a vertex of the active line

“Drag to move · Backspace: delete the node”

on a vertex of a line that has only two

“Drag to move the node”

on an inactive line

“Click to select · Backspace: delete”

on the active line, when inserting a vertex is not offered

“Backspace: delete”

The keyboard

Key

Effect

Escape

cancels the line being drawn

Backspace or Delete

while drawing: removes the last point; on a vertex: deletes it (if at least two remain); on a line: deletes it

The keys are ignored while the cursor is in a text field.

Lengths

The length of the line (and, if the option is checked, of each segment) is measured like the distances of the graph: in the map projection when it is a metric one (like the QGIS Desktop profile tool), on the WGS84 ellipsoid otherwise (e.g. in Pseudo-Mercator, EPSG:3857). The total length is thus the length of the graph.

The feature popups

While the tool is open, a click on the map does not open the feature popups: it is used to draw. The popups come back when the tool is closed.