SnapToNearest: Snap point to nearest line

Description Usage Arguments Value

Description

moves a point to the nearest point on a line

Usage

1

Arguments

point

spatialPointsDataFrame

lines

spatialLinesDataFrame or spatialLines

Value

a spatial point with the same data as the input point, but on one of the lines in lines.


ECCC-MSC/Basin-Delineation documentation built on June 9, 2019, 7:29 p.m.