Description Usage Arguments Value
Generates an sf
collection of line strings representing the pathway
taken over the map.
1 | pathway_to_sf(graph, pathway)
|
graph |
A |
pathway |
A |
A list with two elements:
- pathway
An sf
data frame with LINESTRING features
representing the pathway
- terminals
An sf
data frame with two POINT features
representing the start and end nodes of the path.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.