Jia Yu created SEDONA-441: ----------------------------- Summary: Implement ST_LineLocatePoint Key: SEDONA-441 URL: https://issues.apache.org/jira/browse/SEDONA-441 Project: Apache Sedona Issue Type: New Feature Reporter: Jia Yu
[https://postgis.net/docs/ST_LineLocatePoint.html] This function can be easily implemented by public static double lineLocatePoint(Geometry geom, Geometry point) { double length = geom.getLength(); LengthIndexedLine indexedLine = new LengthIndexedLine(geom); return indexedLine.indexOf(point.getCoordinate()) / length; } -- This message was sent by Atlassian Jira (v8.20.10#820010)