Build lines from a gh spt object
gh_spt_as_linestrings_sf(data)
data | A |
---|
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() }