View source: R/geometrical_functions_sf.R
nearestPointOnLine | R Documentation |
Find the nearest projected point on a LineString (from maptools)
nearestPointOnLine(coordsLine, coordsPoint)
coordsLine |
The coordinates of the line (matrix) |
coordsPoint |
The coordinates of the point |
A numeric vector with the coordinates of the projected point
#This is an internal function, no example provided
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.