Description Usage Arguments Details Value
For point-to-point routing, Valhalla's API provides a route shapefile in a special ASCII-encoded format. This function takes an encoded string, decodes it, and returns the lat/lon coordinates as a tibble.
1 | decode(encoded)
|
encoded |
An encoded shapefile in ASCII format from Valhalla's API. |
To map the results, see also valhallr::map_trip()
.
A tibble containing point locations in lat
and lon
columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.