lts_lines2shp | R Documentation |
Support function that checks the input of LTS lines passed to
and saves it to a .shp
temporary file.
lts_lines2shp(new_lts_lines)
new_lts_lines |
An sf LINESTRING or MULTILINESTRING |
The path to a .shp
saved as a temporary file.
Other Support functions:
congestion_poly2geojson()
# read lines with new speeds
new_lts_lines <- readRDS(
system.file("extdata/poa/poa_ls_lts.rds", package = "r5r")
)
shp_path <- r5r:::lts_lines2shp(
new_lts_lines = new_lts_lines
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.