Open Source Routing Machine

Open Source Routing Machine (OSRM)
Original author(s)Dennis Luxen, Christian Vetter
Stable release
5.27.1[1] Edit this on Wikidata / 14 October 2022; 2 years ago (14 October 2022)
Repository
Written inC++
Operating systemLinux, FreeBSD, OS X, Windows
TypeRoute planning software
LicenseSimplified BSD License[2]
Websiteproject-osrm.org Edit this at Wikidata

The Open Source Routing Machine or OSRM is a C++ implementation of a high-performance routing engine for shortest paths in road networks. Licensed under the permissive 2-clause BSD license, OSRM is a free network service. OSRM supports Linux, FreeBSD, Windows, and Mac OS X platform.

Overview

It combines sophisticated routing algorithms with the open and free road network data of the OpenStreetMap (OSM) project. Shortest path computation on a continental sized network can take up to several seconds if it is done without a so-called speedup-technique. OSRM uses an implementation of contraction hierarchies and is able to compute and output a shortest path between any origin and destination within a few milliseconds, whereby the pure route computation takes much less time. Most effort is spent in annotating the route and transmitting the geometry over the network.

Since it is designed with OpenStreetMap compatibility in mind, OSM data files can be easily imported. A demo installation is sponsored by Karlsruhe Institute of Technology and previously by Geofabrik. The screen shot image shown is since September 2015 out of date with loss of attendant routing service features.

OSRM was part of the 2011 Google Summer of Code class.[3]

Features

Screenshot showing a route with multiple waypoints
  • 'Click-to-drag' dynamic routing, in the manner of Google Maps
  • Alternative routes
  • Free-to-use API
  • Free and open-source under the simplified two-clause BSD license

See also

References

  1. ^ "Release 5.27.1". 14 October 2022. Retrieved 24 October 2022.
  2. ^ "osrm-backend/LICENSE.TXT at master · Project-OSRM/osrm-backend · GitHub". GitHub. 26 April 2020.
  3. ^ "Improvements to the Open Source Routing Machine (OSRM)". Archived from the original on 2013-12-19.

As of 18 May 2012, this article is derived in whole or in part from Open Source Routing Machine. The copyright holder has licensed the content in a manner that permits reuse under CC BY-SA 3.0 and GFDL. All relevant terms must be followed.

Further reading