Alternatives to OSRM logo

Alternatives to OSRM

Valhalla, Google Maps, pgRouting, JavaScript, and Git are the most popular alternatives and competitors to OSRM.
32
83
+ 1
0

What is OSRM and what are its top alternatives?

Open Source Routing Machine (OSRM) is a high-performance routing engine for shortest path computation, optimized for shared-memory multi-core architectures. It supports various features such as route customization, turn restrictions, and alternative routes. However, one limitation of OSRM is the lack of real-time traffic data integration, which may result in less accurate or up-to-date routing information.

  1. GraphHopper: GraphHopper is a fast and customizable routing engine that supports various vehicle profiles, turn restrictions, and elevation data. It offers real-time traffic data integration and supports offline routing. One downside is the complexity of setting up custom routing profiles.
  2. Valhalla: Valhalla is a flexible and open-source routing engine that can be customized for different use cases. It supports multiple vehicle types, turn instructions, and elevation data. However, it may require more technical expertise to configure compared to OSRM.
  3. Mapbox Directions API: Mapbox Directions API provides routing and navigation services with real-time traffic data, turn-by-turn directions, and custom route options like multiple waypoints. It offers seamless integration with other Mapbox mapping tools. One drawback is the pricing structure for high-volume usage.
  4. ORS Online Route Service: ORS is an open-source routing service that offers routing for various transportation modes, including walking, cycling, and public transport. It provides accessibility analysis and geocoding services. However, it may not have as extensive customization options as OSRM.
  5. Google Maps Directions API: Google Maps Directions API offers reliable routing services with real-time traffic updates, multiple transportation modes, and directions for various platforms. It integrates seamlessly with other Google Maps APIs but may require an API key for access.
  6. Here Routing API: Here Routing API is a comprehensive routing solution with features such as real-time traffic updates, multiple transportation modes, and route optimization for fleet management. It offers detailed route instructions and customizable route options. However, it may be more costly compared to some other alternatives.
  7. Mapzen Turn-By-Turn: Mapzen Turn-By-Turn is an open-source routing engine that provides customizable routing solutions for various transportation modes. It supports elevation data, multiple languages, and customizable route restrictions. One limitation is the potential complexity of integrating the API into existing systems.
  8. HERE SDK: HERE SDK is a software development kit that offers comprehensive routing and navigation features for mobile applications. It provides offline routing capabilities, real-time traffic data, and customizable map styles. However, integrating the SDK into mobile applications may require additional development resources.
  9. Mapbox Navigation SDK: Mapbox Navigation SDK is a toolkit for developing turn-by-turn navigation applications with features like real-time traffic data, voice guidance, and customizable route options. It offers seamless integration with other Mapbox mapping tools but may require a subscription for extended features.
  10. OSRM Backend Service: OSRM Backend Service is an open-source routing engine with a focus on high-performance routing solutions. It supports custom profiles, turn instructions, and route optimization. However, it may have limitations in real-time traffic data integration and customization options compared to other alternatives.

Top Alternatives to OSRM

  • Valhalla
    Valhalla

    Valhalla is Mapzen’s open-source routing service for client-side routing applications and hosted solutions. If you are looking to avoid the challenge of data creation and database administration, you can get high-quality routes and navigational guidance with clear directions through a simple API call. ...

  • Google Maps
    Google Maps

    Create rich applications and stunning visualisations of your data, leveraging the comprehensiveness, accuracy, and usability of Google Maps and a modern web platform that scales as you grow. ...

  • pgRouting
    pgRouting

    It is an extension of PostGIS and PostgreSQL geospatial database and adds routing and other network analysis functionality. ...

  • Leaflet
    Leaflet

    Leaflet is an open source JavaScript library for mobile-friendly interactive maps. It is developed by Vladimir Agafonkin of MapBox with a team of dedicated contributors. Weighing just about 30 KB of gzipped JS code, it has all the features most developers ever need for online maps. ...

  • Mapbox
    Mapbox

    We make it possible to pin travel spots on Pinterest, find restaurants on Foursquare, and visualize data on GitHub. ...

  • OpenLayers
    OpenLayers

    An opensource javascript library to load, display and render maps from multiple sources on web pages. ...

  • OpenStreetMap
    OpenStreetMap

    OpenStreetMap is built by a community of mappers that contribute and maintain data about roads, trails, cafés, railway stations, and much more, all over the world. ...

  • ArcGIS
    ArcGIS

    It is a geographic information system for working with maps and geographic information. It is used for creating and using maps, compiling geographic data, analyzing mapped information, sharing and much more. ...

OSRM alternatives & related posts

Valhalla logo

Valhalla

14
58
2
An open source routing engine
14
58
+ 1
2
PROS OF VALHALLA
  • 2
    Open source
CONS OF VALHALLA
    Be the first to leave a con

    related Valhalla posts

    Google Maps logo

    Google Maps

    40.6K
    28.2K
    566
    Build highly customisable maps with your own content and imagery
    40.6K
    28.2K
    + 1
    566
    PROS OF GOOGLE MAPS
    • 253
      Free
    • 136
      Address input through maps api
    • 81
      Sharable Directions
    • 47
      Google Earth
    • 46
      Unique
    • 3
      Custom maps designing
    CONS OF GOOGLE MAPS
    • 4
      Google Attributions and logo
    • 1
      Only map allowed alongside google place autocomplete

    related Google Maps posts

    A huge component of our product relies on gathering public data about locations of interest. Google Places API gives us that ability in the most efficient way. Since we are primarily going to be using as google data as a source of information for our MVP, we might as well start integrating the Google Places API in our system. We have worked with Google Maps in the past and we might take some inspiration from our previous projects onto this one.

    See more
    Adam Abdelmoula
    CPO at Split Mobile Software · | 5 upvotes · 473.7K views

    We need some advice about the map services provider. We are a mobility app that just launched 5 months ago in Tunisia offering P2P carpooling. We are currently using Google Maps API for maps (Places API, Geocoding API, Directions API & Distance Matrix API). Thus, we received expensive bills from Google Cloud following the number of requests we are using. We are looking forward to reduce the number of requests in general because we can't afford these large bills at this stage, knowing that they are going to increase proportionally to the active users of the app. We tried to optimize multiple times but it isn't enough. We are searching for optimization advice or ideas on how we use the APIs, or other map providers (like OpenStreetMap or similar) that offers free or cheaper options than Google Maps, without lacking quality of information (we are in Tunisia and we have to choose options that have enough data about Tunisia). Thanks!

    See more
    pgRouting logo

    pgRouting

    10
    23
    8
    Routing and network analysis in PostgreSQL
    10
    23
    + 1
    8
    PROS OF PGROUTING
    • 3
      Dynamic routing
    • 1
      Routing in the database
    • 1
      Open Source
    • 1
      Data changes are reflected instantaneously
    • 1
      Geospatial network analysis
    • 1
      QGIS plugin
    CONS OF PGROUTING
      Be the first to leave a con

      related pgRouting posts

      Stephen Gheysens
      Lead Solutions Engineer at Inscribe · | 7 upvotes · 407.9K views

      Google Maps lets "property owners and their authorized representatives" upload indoor maps, but this appears to lack navigation ("wayfinding").

      MappedIn is a platform and has SDKs for building indoor mapping experiences (https://www.mappedin.com/) and ESRI ArcGIS also offers some indoor mapping tools (https://www.esri.com/en-us/arcgis/indoor-gis/overview). Finally, there used to be a company called LocusLabs that is now a part of Atrius and they were often integrated into airlines' apps to provide airport maps with wayfinding (https://atrius.com/solutions/personal-experiences/personal-wayfinder/).

      I previously worked at Mapbox and while I believe that it's a great platform for building map-based experiences, they don't have any simple solutions for indoor wayfinding. If I were doing this for fun as a side-project and prioritized saving money over saving time, here is what I would do:

      • Create a graph-based dataset representing the walking paths around your university, where nodes/vertexes represent the intersections of paths, and edges represent paths (literally paths outside, hallways, short path segments that represent entering rooms). You could store this in a hosted graph-based database like Neo4j, Amazon Neptune , or Azure Cosmos DB (with its Gremlin API) and use built-in "shortest path" queries, or deploy a PostgreSQL service with pgRouting.

      • Add two properties to each edge: one property for the distance between its nodes (libraries like @turf/helpers will have a distance function if you have the latitude & longitude of each node), and another property estimating the walking time (based on the distance). Once you have these values saved in a graph-based format, you should be able to easily query and find the data representation of paths between two points.

      • At this point, you'd have the routing problem solved and it would come down to building a UI. Mapbox arguably leads the industry in developer tools for custom map experiences. You could convert your nodes/edges to GeoJSON, then either upload to Mapbox and create a Tileset to visualize the paths, or add the GeoJSON to the map on the fly.

      *You might be able to use open source routing tools like OSRM (https://github.com/Project-OSRM/osrm-backend/issues/6257) or Graphhopper (instead of a custom graph database implementation), but it would likely be more involved to maintain these services.

      See more
      Leaflet logo

      Leaflet

      1.4K
      1.1K
      107
      JavaScript library for mobile-friendly interactive maps
      1.4K
      1.1K
      + 1
      107
      PROS OF LEAFLET
      • 32
        Light weight
      • 28
        Free
      • 12
        Evolutive via plugins
      • 10
        OpenStreetMap
      • 9
        Strong community
      • 7
        Choice of map providers
      • 6
        Easy API
      • 3
        Alternative to Google Maps
      CONS OF LEAFLET
        Be the first to leave a con

        related Leaflet posts

        Which will give a better map (better view, markers options, info window) in an Android OS app?

        Leaflet with Mapbox or Leaflet with OpenStreetMap?

        See more
        Mapbox logo

        Mapbox

        704
        929
        112
        Design and publish beautiful maps
        704
        929
        + 1
        112
        PROS OF MAPBOX
        • 28
          Best mapping service outside of Google Maps
        • 22
          OpenStreetMap
        • 15
          Beautifully vectorable
        • 11
          Fluid user experience
        • 8
          Extensible
        • 7
          React/ RNative integration
        • 5
          3D Layers
        • 4
          Low Level API
        • 4
          Affordable
        • 3
          Great customer support
        • 3
          Custom themes
        • 2
          High data volume rendering
        CONS OF MAPBOX
          Be the first to leave a con

          related Mapbox posts

          Stephen Gheysens
          Lead Solutions Engineer at Inscribe · | 7 upvotes · 407.9K views

          Google Maps lets "property owners and their authorized representatives" upload indoor maps, but this appears to lack navigation ("wayfinding").

          MappedIn is a platform and has SDKs for building indoor mapping experiences (https://www.mappedin.com/) and ESRI ArcGIS also offers some indoor mapping tools (https://www.esri.com/en-us/arcgis/indoor-gis/overview). Finally, there used to be a company called LocusLabs that is now a part of Atrius and they were often integrated into airlines' apps to provide airport maps with wayfinding (https://atrius.com/solutions/personal-experiences/personal-wayfinder/).

          I previously worked at Mapbox and while I believe that it's a great platform for building map-based experiences, they don't have any simple solutions for indoor wayfinding. If I were doing this for fun as a side-project and prioritized saving money over saving time, here is what I would do:

          • Create a graph-based dataset representing the walking paths around your university, where nodes/vertexes represent the intersections of paths, and edges represent paths (literally paths outside, hallways, short path segments that represent entering rooms). You could store this in a hosted graph-based database like Neo4j, Amazon Neptune , or Azure Cosmos DB (with its Gremlin API) and use built-in "shortest path" queries, or deploy a PostgreSQL service with pgRouting.

          • Add two properties to each edge: one property for the distance between its nodes (libraries like @turf/helpers will have a distance function if you have the latitude & longitude of each node), and another property estimating the walking time (based on the distance). Once you have these values saved in a graph-based format, you should be able to easily query and find the data representation of paths between two points.

          • At this point, you'd have the routing problem solved and it would come down to building a UI. Mapbox arguably leads the industry in developer tools for custom map experiences. You could convert your nodes/edges to GeoJSON, then either upload to Mapbox and create a Tileset to visualize the paths, or add the GeoJSON to the map on the fly.

          *You might be able to use open source routing tools like OSRM (https://github.com/Project-OSRM/osrm-backend/issues/6257) or Graphhopper (instead of a custom graph database implementation), but it would likely be more involved to maintain these services.

          See more

          Which will give a better map (better view, markers options, info window) in an Android OS app?

          Leaflet with Mapbox or Leaflet with OpenStreetMap?

          See more
          OpenLayers logo

          OpenLayers

          571
          459
          57
          A high-performance, feature-packed library for all your mapping needs
          571
          459
          + 1
          57
          PROS OF OPENLAYERS
          • 15
            Flexibility
          • 11
            Maturity
          • 8
            Open Source
          • 7
            Incredibly comprehensive, excellent support
          • 4
            Extensible
          • 4
            Strong community
          • 4
            Choice of map providers
          • 3
            Low Level API
          • 1
            OpenStreetMap
          CONS OF OPENLAYERS
            Be the first to leave a con

            related OpenLayers posts

            OpenStreetMap logo

            OpenStreetMap

            249
            467
            56
            The free editable map of the whole world
            249
            467
            + 1
            56
            PROS OF OPENSTREETMAP
            • 22
              Simple
            • 17
              Free
            • 9
              Open-Source
            • 7
              Open-Data
            • 1
              React/ RNative integration
            CONS OF OPENSTREETMAP
              Be the first to leave a con

              related OpenStreetMap posts

              Adam Abdelmoula
              CPO at Split Mobile Software · | 5 upvotes · 473.7K views

              We need some advice about the map services provider. We are a mobility app that just launched 5 months ago in Tunisia offering P2P carpooling. We are currently using Google Maps API for maps (Places API, Geocoding API, Directions API & Distance Matrix API). Thus, we received expensive bills from Google Cloud following the number of requests we are using. We are looking forward to reduce the number of requests in general because we can't afford these large bills at this stage, knowing that they are going to increase proportionally to the active users of the app. We tried to optimize multiple times but it isn't enough. We are searching for optimization advice or ideas on how we use the APIs, or other map providers (like OpenStreetMap or similar) that offers free or cheaper options than Google Maps, without lacking quality of information (we are in Tunisia and we have to choose options that have enough data about Tunisia). Thanks!

              See more

              Which will give a better map (better view, markers options, info window) in an Android OS app?

              Leaflet with Mapbox or Leaflet with OpenStreetMap?

              See more
              ArcGIS logo

              ArcGIS

              133
              185
              20
              A geographic information system for working with maps
              133
              185
              + 1
              20
              PROS OF ARCGIS
              • 7
                Reponsive
              • 4
                A lot of widgets
              • 4
                Data driven vizualisation
              • 2
                Easy tà learn
              • 2
                3D
              • 1
                Easy API
              CONS OF ARCGIS
                Be the first to leave a con

                related ArcGIS posts

                Stephen Gheysens
                Lead Solutions Engineer at Inscribe · | 7 upvotes · 407.9K views

                Google Maps lets "property owners and their authorized representatives" upload indoor maps, but this appears to lack navigation ("wayfinding").

                MappedIn is a platform and has SDKs for building indoor mapping experiences (https://www.mappedin.com/) and ESRI ArcGIS also offers some indoor mapping tools (https://www.esri.com/en-us/arcgis/indoor-gis/overview). Finally, there used to be a company called LocusLabs that is now a part of Atrius and they were often integrated into airlines' apps to provide airport maps with wayfinding (https://atrius.com/solutions/personal-experiences/personal-wayfinder/).

                I previously worked at Mapbox and while I believe that it's a great platform for building map-based experiences, they don't have any simple solutions for indoor wayfinding. If I were doing this for fun as a side-project and prioritized saving money over saving time, here is what I would do:

                • Create a graph-based dataset representing the walking paths around your university, where nodes/vertexes represent the intersections of paths, and edges represent paths (literally paths outside, hallways, short path segments that represent entering rooms). You could store this in a hosted graph-based database like Neo4j, Amazon Neptune , or Azure Cosmos DB (with its Gremlin API) and use built-in "shortest path" queries, or deploy a PostgreSQL service with pgRouting.

                • Add two properties to each edge: one property for the distance between its nodes (libraries like @turf/helpers will have a distance function if you have the latitude & longitude of each node), and another property estimating the walking time (based on the distance). Once you have these values saved in a graph-based format, you should be able to easily query and find the data representation of paths between two points.

                • At this point, you'd have the routing problem solved and it would come down to building a UI. Mapbox arguably leads the industry in developer tools for custom map experiences. You could convert your nodes/edges to GeoJSON, then either upload to Mapbox and create a Tileset to visualize the paths, or add the GeoJSON to the map on the fly.

                *You might be able to use open source routing tools like OSRM (https://github.com/Project-OSRM/osrm-backend/issues/6257) or Graphhopper (instead of a custom graph database implementation), but it would likely be more involved to maintain these services.

                See more