Skip to main content
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.
ST_InterpolatePoint

Signatures

Parameters

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

Return type

A numeric value.

Example