I have a line of an elevation profile and a ground layer below it.

Is there a possibility to get the height above ground for every position (not waypoint) on the line?

My height profile in the built-in tool: enter image description here The red doted lines are examples, where I would like to have height data above Ground

In the real project, I have additional ground layers, so a solution where I can choose a specific ground layer would be great.

I am using QGIS 3.32.0-Lima


I am searching for an automated way (e.g. hover on the line and see the height), I am aware of the measurement tool in the elevation profile window.

Here is a picture with 2 rasters and the waypoints (blue dots) enter image description here

  • Is the line a vector layer? Does the line have Z values?
    – Bera
    Commented Jul 21, 2023 at 9:39
  • @BERA No, the line is just created by changing the style of the waypoints to become a line (in the height properties of the waypoints, set style to line). Commented Jul 21, 2023 at 10:42
  • But you do have some points (waypoints) with some Z values and you want to know the difference between the values expressed in the waypoint and the value of the raster at that location?
    – GBG
    Commented Jul 21, 2023 at 15:37
  • Can you explain what you mean by "every position on the line"? Commented Jul 21, 2023 at 22:41
  • @GBG yes, I have waypoints with z-values and to see the difference between the waypoints and the raster would also be great! I will add a picture, where the dots on the line are the waypoints. Commented Jul 24, 2023 at 5:45


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.