powered by
Find the nearest projected point on a LineString (from maptools)
nearestPointOnLine(coordsLine, coordsPoint)
The coordinates of the line (matrix)
The coordinates of the point
A numeric vector with the coordinates of the projected point
# NOT RUN { #This is an internal function, no example provided # }
Run the code above in your browser using DataLab