valh {valh}R Documentation

Shortest Paths and Travel Time with the OpenStreetMap-Based Routing Service Valhalla

Description

An interface between R and the Valhalla API.
Valhalla is a routing service based on OpenStreetMap data. See https://valhalla.github.io/valhalla/ for more information.
This package enables the computation of routes, trips, isochrones and travel distances matrices.

Note

This package relies on the usage of a running Valhalla service (tested with versions 3.4.x & 3.5.x of Valhalla).

To use a custom Valhalla instance, you just need to change the valh.server option to the url of the instance :
options(valh.server = "http://address.of.the.server/")
You can also set this option in your .Rprofile file to make it permanent.

The package ships a sample dataset of 100 random pharmacies in Berlin (© OpenStreetMap contributors - https://www.openstreetmap.org/copyright/en).
The sf dataset uses the projection WGS 84 / UTM zone 34N (EPSG:32634).
The csv dataset uses WGS 84 (EPSG:4326).

Author(s)

Maintainer: Timothée Giraud timothee.giraud@cnrs.fr (ORCID)

Authors:

See Also

Useful links:


[Package valh version 0.1.0 Index]