gh_spt_as_linestrings_sf {graphhopper} | R Documentation |
Build lines from a gh spt object
Description
Build lines from a gh spt object
Usage
gh_spt_as_linestrings_sf(data)
Arguments
data |
A |
Examples
if (FALSE) {
start_point <- c(52.53961, 13.36487)
columns <- gh_spt_columns(
prev_longitude = TRUE,
prev_latitude = TRUE,
prev_time = TRUE
)
lines_sf <- gh_get_spt(start_point, time_limit = 180, columns = columns) %>%
gh_spt_as_linestrings_sf()
}
[Package graphhopper version 0.1.2 Index]