nearest_point_on_line library
Functions
-
nearestPointOnLine(
LineString line, Point point, [Unit unit = Unit.kilometers]) → Feature< Point> - Takes a Point and a LineString and calculates the closest Point on the LineString.
-
nearestPointOnMultiLine(
MultiLineString lines, Point point, [Unit unit = Unit.kilometers]) → Feature< Point> ? - Takes a Point and a MultiLineString and calculates the closest Point on the MultiLineString.