View source: R/geometrical_functions_sf.R
lines_extremities | R Documentation |
Generate a feature collection of points with the first and last vertex of each line in a feature collection of linestrings.
lines_extremities(lines)
lines |
A feature collection of linestrings (simple Linestrings) |
A feature collection of points
data(mtl_network)
points <- lines_extremities(mtl_network)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.