View source: R/prt_shortpath.R
prt_shortpath | R Documentation |
Calculate the shortest path through a visibility network between two points
prt_shortpath(segs_tbl, vis_graph, blend = TRUE)
segs_tbl |
tbl from |
vis_graph |
sfnetwork from prt_visgraph() |
blend |
boolean whether to blend start/end points into network |
segs_tbl data frame with added geometry column for shortest path LINESTRING that connects the start_pt and end_pt coordinates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.