Description Usage Arguments Details
Updated version of maptools snapPointsToLines
1 | snapPointsToLines(points, lines, maxDist = NA, withAttrs = TRUE)
|
points |
A SpatialPointsDataFrame in a planar (i.e. UTM) projection |
lines |
A SpatialLinesDataFrame in a planar (i.e. UTM) projection |
maxDist |
Numeric value for establishing a maximum distance to avoid snapping points that are farther apart; its default value is NA. |
withAttrs |
Boolean value for preserving (TRUE) or getting rid (FALSE) of the original point attributes. Default: TRUE. This parameter is optional. |
see snapPointsToLines function from maptools. Updated version from http://rstudio-pubs-static.s3.amazonaws.com/12524_7de6eb887f2945389c5d12869388be14.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.