Skip to contents

Calculate the shortest path through a visibility network between two points

Usage

prt_shortpath(segs_tbl, vis_graph, blend = TRUE)

Arguments

segs_tbl

tbl from get_barrier_segments()

vis_graph

sfnetwork from prt_visgraph()

blend

boolean whether to blend start/end points into network

Value

segs_tbl data frame with added geometry column for shortest path LINESTRING that connects the start_pt and end_pt coordinates