powered by
Find the nearest projected point on a segment (from maptools)
nearestPointOnSegment(s, p)
The coordinates of the segment
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