Skip to main content
Returns a double between 0 and 1, representing the location of the closest point on the LineString as a fraction of its total length. The first argument must be a LINESTRING, and the second argument is a POINT geometry. ST_LineLocatePoint

Signatures

Parameters

linestring
Geometry
required
The linestring value.
point
Geometry
required
The point value.

Return type

A numeric value.

Example