Aliases: st_line_project_point st_line_project st_line_interpolate
Keywords:
### ** Examples st_line_project(st_as_sfc("LINESTRING (0 0, 10 10)"), st_as_sfc(c("POINT (0 0)", "POINT (5 5)")))
[1] 0.000000 7.071068
st_line_project(st_as_sfc("LINESTRING (0 0, 10 10)"), st_as_sfc("POINT (5 5)"), TRUE)
[1] 0.5
st_line_interpolate(st_as_sfc("LINESTRING (0 0, 1 1)"), 1)
Geometry set for 1 feature Geometry type: POINT Dimension: XY Bounding box: xmin: 0.7071068 ymin: 0.7071068 xmax: 0.7071068 ymax: 0.7071068 CRS: NA
st_line_interpolate(st_as_sfc("LINESTRING (0 0, 1 1)"), 1, TRUE)
Geometry set for 1 feature Geometry type: POINT Dimension: XY Bounding box: xmin: 1 ymin: 1 xmax: 1 ymax: 1 CRS: NA