Open Source Routing Machine
The Open Source Routing Machine (abbreviated OSRM) is an open-source route planning library and network service.[src] Written in high-performance C++, OSRM runs on the Linux, FreeBSD, Windows, and macOS platforms.[src] It is designed for compatibility with OpenStreetMap's road network data.[src] FOSSGIS operates a free-to-use server that powers walking, cycling, and driving directions on OSM's homepage.[src]
The Open Source Routing Machine (abbreviated OSRM) is an open-source route planning library and network service.[src] Written in high-performance C++, OSRM runs on the Linux, FreeBSD, Windows, and macOS platforms.[src] It is designed for compatibility with OpenStreetMap's road network data.[src] FOSSGIS operates a free-to-use server that powers walking, cycling, and driving directions on OSM's homepage.[src] ==History== OSRM powered Mapbox's navigation offerings during the 2010s.[src] OSRM participated in the 2011 Google Summer of Code.[src] In February 2015, OSRM was integrated into OpenStreetMap's homepage alongside two other routing engines, GraphHopper and Valhalla.[src] In 2025, a team at Roskilde University and the University of Waterloo used OSRM to solve the travelling salesman problem for a dataset of 81,998 bars from South Korea's National Police Agency, breaking a record set in 2021.[src] ==Architecture== OSRM implements multilevel Dijkstra's algorithm (MLD) as well as another routing algorithm, contraction hierarchies (CH), which is better suited for very large distance matrices.[src] Shortest path computation on a continental sized network can take up to several seconds if it is done without a so-called speedup-technique.[src] Via the CH preprocessing pipeline, OSRM can compute and output a shortest path between any origin and destination within a few milliseconds, whereby the pure route computation takes much less time.[src] Most effort is spent in annotating the route and transmitting the geometry over the network.[src] This high performance facilitates use cases such as user-interactive route manipulation.[src] In addition to solving the shortest path problem for road networks, OSRM also includes a map matching service and a travelling salesman problem solver for generating distance matrices.[src] ==References== ==Further reading== ==External links== Project homepage Demonstration from the project's homepage[src]
19 sentences · 19 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Open Source Routing Machine." encyclopegia.org, 2025, https://encyclopegia.org/wiki/open-source-routing-machine. Accessed 06 December 2026.
Chicago
"Open Source Routing Machine." encyclopegia.org. Accessed December 6, 2026. https://encyclopegia.org/wiki/open-source-routing-machine.
APA
encyclopegia.org. (2025). Open Source Routing Machine. Retrieved December 6, 2026, from https://encyclopegia.org/wiki/open-source-routing-machine
Accessed December 6, 2026 · CC BY-SA 4.0 · citation page · JSON