Gets all nodes 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
1 | 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.