1

When using the SAGA algorithm to create Cross profiles of depths from a DEM is there any way to add XY values to each of the depth values created and stored in the attribute table?

1 Answer 1

0

Two tools in Processing Toolbox - Vector geometry will be useful:

(1) Use Extract vertices tool on your Cross Profiles line layer. This will create a point layer (usually named "Vertices") with all relevant information per each vertex. You will find new attribute vertex_index. Since the vertex_number starts from zero, please add one (1) to find the matching Pxx number produced by the SAGA Cross Profile algorithm.

(2) Then use Add geometry attributes tool to add X, Y, and the depth values (namely xcoord, ycoord, and zcoord).

enter image description here

0

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.