osrm: Shortest Paths and Travel Time from OpenStreetMap via an OSRM API
Description
An interface between R and the OSRM API. OSRM is a routing service
based on OpenStreetMap data. A public API exists but one can run its own instance.
The package allow to compute distance (travel time and kilometric distance)
between points and travel time matrices.
The package relies on the usage of a running OSRM service.
By default this service is the OSRM public API (http://router.project-osrm.org/).
To change the OSRM server, change the osrm.server
option:
options(osrm.server = "http://address.of.the.server/")
osrmTable
Get travel time matrices between points.
osrmTableOD
Get travel time matrices between set of origin points and set of destination points.
osrmTableErrors
Detect errors in distance matrices.
osrmViaroute
Get travel time and travel distance between two points.
osrmViarouteGeom
Get the travel geometry between two points.