A new function QgsGeometry::lineLocatePoint() has been added for retrieving the distance along a linestring to the nearest position on the linestring to a given point.
QgsGeometry::lineLocatePoint()
This feature was funded by North Road
This feature was developed by Nyall Dawson (North Road)
Image Preview
Click the image to open original size image in new tab