Returns the measure value interpolated along the closest segment of a measured LineString. The segment is selected by two-dimensional distance to the specified point. The result uses the measures at that segment’s endpoints, so measures do not need to increase uniformly along the line.
Make sure that both geometries have the same SRID, otherwise the function will throw an IllegalArgumentException.