0

I have a raster (TIN) and I want to interpolate the heights (z-Values) to a line Shape. Everything that I find is interpolation between some points and making a raster. For example, Raster creation tools of SAGA or IDW or TIN interpolation, they all get a vector layer as an input file and make a Raster out of the values from attribute table.

Any idea?

3
  • I think you're looking for a profile tool
    – Ian Turton
    Jun 26, 2020 at 12:45
  • Yes, it could do also what I need. Is the name of plugin "Profile tool"? Jun 26, 2020 at 12:59
  • Drape is not what you are looking for?
    – BERA
    Jun 26, 2020 at 13:29

1 Answer 1

1

If you have a linestrings layer with Z dimension, use the Drape (set Z value from raster) algorithm to assign the Z dimension from the raster to each vertice of the linestrings.

But there is not an interpolation there, the vertice will get the Z value of the pixel in wich it belongs.

Then, you can densify the lines to get other vertices with their Z dimension interpolated for each segment. But I don't know if that is what you want.

If you want to extract contours from the raster, that can be done with the Contour algorithm.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.