powered by
Find the nearest projected point on a segment (from maptools)
nearestPointOnSegment(s, p)
A numeric vector with the coordinates of the projected point
The coordinates of the segment
The coordinates of the point
#This is an internal function, no example provided
Run the code above in your browser using DataLab