Skip to contents

Quick Start

Quickly start/stop/list servers and launch the GUI to inspect routes

osrm_start() stable
Start an OSRM Server with Automatic Setup
osrm_gui() experimental
Launch a GUI to View and Debug OSRM Routing
osrm_servers() stable
List OSRM servers
osrm_stop() stable
Stop an OSRM Server

Install and update OSRM binaries

Discover, install, or remove OSRM backend releases and keep your PATH tidy.

osrm_install() stable
Install OSRM Backend Binaries
osrm_uninstall() stable
Uninstall OSRM Backend Binaries
osrm_which() stable
Locate the OSRM Installation Used by osrm.backend
osrm_clear_path()
Clear OSRM Path from Project's .Rprofile
osrm_check_latest_version() stable
Check for the Latest Stable OSRM Version
osrm_check_available_versions() stable
Check for Available OSRM Versions

Build routing graphs

Prepare OSRM graphs from raw OSM extracts or run specific pipeline stages when you need finer control.

osrm_prepare_graph() stable
Prepare OSRM Graph for Routing (Extract + Partition/Contract)
osrm_extract() stable
Extract OSM into OSRM Graph Files
osrm_partition() stable
Partition OSRM Graph for Multi-Level Dijkstra (MLD)
osrm_customize() stable
Customize OSRM Graph for Multi-Level Dijkstra (MLD)
osrm_contract() stable
Contract OSRM Graph for Contraction Hierarchies (CH)
osrm_cleanup() stable
Clean Up OSRM Files in a Directory
osrm_find_profile() stable
Locate an OSRM Lua profile (e.g. car.lua) in a host installation

Run and monitor servers

Launch osrm-routed manually, inspect registered processes, and stop them cleanly.

osrm_start_server() stable
Start an OSRM MLD/CH server with osrm-routed
osrm_servers() stable
List OSRM servers
osrm_get_server_profile() stable
Retrieve the OSRM Profile for a Running Server
osrm_stop() stable
Stop an OSRM Server
osrm_stop_all() stable
Stop all running OSRM servers started via this package