This question already has an answer here:
- Length of Feature 2 answers
In QGIS, I need to calculate the distance between certain points and save this information as a line shape file, in which the attribute of each element (line) is its length (distance between points).
For this I have created a temporary draft layer of lines to draw the lines and I have obtained this:
Now, how do I calculate the lengths and save them as an attribute of the elements?