I try to measure specific points and extract the x-, y-, and z-coordinates to a table which I later can export. Further I want to give each point an automatically generated id. By creating a new vector layer for the points, it is no problem to add the x- any y- coordinates to the attribute table using the field calculator ($x
and $y
), but I can't find a way to extract z-coordinates from a dtm into that list. I converted it to a shapefile but still wasn't able to get the data.
Yes I tried that, but it only seemed to measure when I clicked at one of the generated points. Furthermore my Attribute table is quite huge due to the big DEM I use, which results in a Long loading time. In this case I would need a new table to generate the data in. Next question is what code is needed in the field calculator, because just $z isn't working...
add raster values to points
? If so, what happens?