Convert sf lines to SpatialNetwork

sf2network(sf_lines)

Arguments

sf_lines

sf lines object

Examples

if (FALSE) {
data(nhd_sub_lines)
res <- sf2network(nhd_sub_lines)
plot(res)
}