I am using QGIS 2.14 and I have a list of distances and descriptions similar to the table below
pipe1,50,lateral
pipe1,100,lateral
pipe2,51,break in pipe
I would like to add a point along a pipe at the specified distance (eg. 50,100,51) . I know there is a processing algorithm but I don't think I can use it with selected lines.
How can I add points along a line using my table?
Best Answer
One workaround by using PyQGIS is in the next code. I put your original distances in a list but, it was assumed that each point should be placed in positions along the line based in a sum_distances list ([50, 150, 201]).
After running the code at the Python Console of QGIS I got:
It seems to work correctly.