prt_shortpath: Calculate the shortest path through a visibility network...

View source: R/prt_shortpath.R

prt_shortpathR Documentation

Calculate the shortest path through a visibility network between two points

Description

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


jmlondon/pathroutr documentation built on Sept. 18, 2023, 6:09 p.m.