facts.dev

Open Source Routing Machine (OSRM)

High performance routing engine designed to run on OpenStreetMap data and offering an HTTP API, C++ library interface, and Nodejs wrapper.

GitHub starsAwesome Lists Badge
Screenshot of Open Source Routing Machine (OSRM) website

Open Source Routing Machine (OSRM): A Powerful Routing Engine for OpenStreetMap

The Open Source Routing Machine (OSRM) is a high-performance routing engine designed to run on OpenStreetMap (OSM) data. This powerful tool offers an HTTP API, C++ library interface, and Node.js wrapper, making it a versatile solution for routing applications. With its ability to handle continental-sized networks within milliseconds, OSRM is well-suited for large-scale route planning and optimization.

Main Features of Open Source Routing Machine (OSRM)

Here are some of the key features that make OSRM an attractive option for developers:

  • Flexible Import: Supports importing OSM data in various formats, including osm/xml, pbf, and custom data.
  • High-Performance Routing: Handles large networks quickly, with a focus on efficiency and ease of use.
  • Multi-Mode Support: Offers pre-built routing profiles for car, bicycle, walk, foot, hike, motorcycle, and more, with customization options available.
  • Web API: Provides a powerful web API that exposes OSM data and allows for customizing vehicle profiles per request, with support for Java and JavaScript clients.
  • Map Matching: Supports map matching, which is essential for route planning applications.
  • Public Transit Routing: Includes support for public transit routing and General Transit Feed Specification (GTFS).
  • Turn Instructions: Offers turn instructions in over 45 languages, making it a great option for global route planning applications.
  • Elevation Data: Displays and takes into account elevation data to provide more accurate routes.
  • Alternative Routes: Provides alternative route options to help users find the best path.
  • Customization Options: Allows developers to customize routing behavior using custom areas and rules.
  • Scalability: Designed to scale from small indoor-sized graphs to world-wide- sized networks, making it a versatile solution for various applications.

By providing an open-source routing engine that can be easily integrated with OpenStreetMap data, OSRM offers a powerful tool for developers working on route planning and optimization projects.