I have a vector layer and need the distance between the points. This is an intermediate step for my further calculation and programming with Python. The starting point is stored in another layer (brown point). The order along the line is not known and must be determined from the distances between the points. Only the starting point is known and the order depending on the length of the point to the starting point must be determined. This step is still missing.
How exactly can I calculate the length of the points along the line with Python or QGIS and store it in an attribute table?
