I have extracted nodes from a line shapefile. On these nodes, I have extracted altitude values from a raster DEM using SAGA 'Add raster value to point'.
I want now to make the inverse of the first operation, i.e. getting the original lines again, but with the new altitude on each of their points (so stored in the geom
).
I obviously can't make a join on attributes. And a union doesn't keep the fields of the points.
How would you do that, if it's possible?
Algorithm Join attributes by location starting... 5L See log for more details
Extract nodes
tool? If so the id from lines and nodes are the same, so you can join them by their attributes. If you want to make some kind of pre-processing then you should export as table and process it, like grouping same id nodes using the average elevation. Then add the table and join with the lines layer.geom
, AFAIK.