ibis.expr.api.GeoSpatialValue.line_locate_point¶
-
GeoSpatialValue.
line_locate_point
(right)¶ Locate the distance a point falls along the length of a line.
Returns a float between zero and one representing the location of the closest point on the linestring to the given point, as a fraction of the total 2d line length.
- Parameters
left (linestring) –
right (point) –
- Returns
distance
- Return type
float scalar