Wrapper for the 'OSRM' API


[Up] [Top]

Documentation for package ‘osrmr’ version 0.1.36

Help Pages

decode_geom Transform encoded polylines to lat-lng data.frame.
encoded_string_api_4 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.
encoded_string_api_5 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.
make_request Run one server request for OSRM (online- or localhost)
nearest nearest accessible position
nearest_api_v4 nearest accessible position for OSRM API v4
nearest_api_v5 nearest accessible position for OSRM API v5
quit_server Quit local OSRM server
run_server Start local OSRM server
server_address server_address() returns the URL address of the OSRM localhost or OSRM webserver, depending on the value of the variable 'use_localhost'. This is an internal function. The address is used as a part of a OSRM server-request.
viaroute travel time or full information of a route
viaroute_api_v4 travel time or full information of a route for OSRM API 4
viaroute_api_v5 travel time or full information of a route for OSRM API 5