Snap points to their nearest lines (edited from maptools)
snapPointsToLines2(points, lines, idField = NA, ...)
A feature collection of points
A feature collection of linestrings
The name of the column to use as index for the lines
unused
A feature collection of points with the projected geometries