R/data.R

#' encoded_string_api_4:
#' An encoded route to illustrate the 'osrmr::decode_geom()' function. After
#' decoding all points on the route are available as wgs84 coordinates. Decoding
#' varies on the API version of OSRMR. This version is decoded using API v4.
#'
#' @format A string containing an encoded polyline
"encoded_string_api_4"

#' encoded_string_api_5:
#' An encoded route to illustrate the 'osrmr::decode_geom()' function. After
#' decoding all points on the route are available as wgs84 coordinates. Decoding
#' varies on the API version of OSRMR. This version is decoded using API v5.
#'
#' @format A string containing an encoded polyline
"encoded_string_api_5"

Try the osrmr package in your browser

Any scripts or data that you put into this service are public.

osrmr documentation built on May 31, 2021, 5:07 p.m.