Description Usage Arguments Value
finds the nearest line in a sp object, returns coordinate matrix
1 |
pt |
is a coordinate pair (x,y) |
lines |
is a SpatialLinesDataFrame |
coordinate matrix of nearest line to 'pt' in 'lines'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.