I have multiple points on multiple lines in a network and I need to know the length between these points along the network. I need an OD matrix, like the QNEAT3 distance matrices but for the distance along the network. It's for multiple points, so point and click wouldn't be efficient. Ideally the solution is a similar to the Network Analysis > Shortest Path (point to layer), but it's layer to layer.
The solution may be dependent on how are the lines digitised. Are they individual segments or one large line.
One solution could be as follows:
- Dissolve all lines
- Split lines with points
- Calculate the length of each segment using $length or length($geometry)
This will cause issues with the attributes, consider running join by location on the final output.