View source: R/geometrical_functions_sf.R
lines_center | R Documentation |
Generate a feature collection of points at the centre of the lines of a feature collection of linestrings. The length of the lines is used to determine their centres.
lines_center(lines)
lines |
A feature collection of linestrings to use |
A feature collection of points
data(mtl_network)
centers <- lines_center(mtl_network)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.