Description Usage Arguments Value Examples
Get coordinates from a spatial object of lines and points. There is no
ordering of points returned. Note: This differs from extract_coords
in
that the ordering of the points is NOT considered.
1 | get_coords(my_points)
|
my_points |
spatial object of type |
n x 2 matrix of coordinates
1 2 3 | #Load sample line
ex_line <- as(rm_holes(bg_water[2]), "SpatialLines")
get_coords(ex_line)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.