TransWikia.com

Interpolating z Values (height) from TIN (Raster) to line (vector) using QGIS

Geographic Information Systems Asked on November 18, 2021

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?

One Answer

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.

Answered by Gabriel De Luca on November 18, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP