View source: R/spatial clean fcns.R
find.endpoint.nodes | R Documentation |
Gets all endpoints of all lines of a LINESTRING sf object. Returns an sf object with points representing nodes, with a column "n" representing the number of line segments that start or end with that node. Requires an "id" column in segment sf. adopts workflow from https://www.r-spatial.org/r/2019/09/26/spatial-networks.html
find.endpoint.nodes(x, line.ids = c("signt1", "sign1"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.