proportion_along_line
Finds the nearest position on a line to a given point, and calculates its distance along the line, expressed as a proportion of the total length of the line.
Parameter 1 - a line geometry.
Parameter 2 - a point geometry.
Returns: proportional distance along the line, a real number in the range between 0 and 1.