duckdb / duckdb/duckdb-spatial

Feature request: ST_LineLocatePoint

Open
#711 3 comments 0 reactions 0 assignees View on GitHub
documentation
Dominant language
C
Stars
708
Forks
96
Avg merge
1d 21h
Merged PRs (30d)
5

Description

[ST_LineLocatePoint](https://postgis.net/docs/ST_LineLocatePoint.html) to return a float between 0 and 1 representing the location of the closest point on a LineString to the given point, as a fraction of [ST_Length](https://duckdb.org/docs/stable/core_extensions/spatial/functions#st_length) length. This will complement [ST_LineInterpolatePoint](https://duckdb.org/docs/stable/core_extensions/spatial/functions#st_lineinterpolatepoint) that returns a point interpolated along a line at a fraction of total 2D length.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.