Open Source Routing Machine (OSRM) VS Openstreetmap

Compare Open Source Routing Machine (OSRM) vs Openstreetmap and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
Open Source Routing Machine (OSRM) Openstreetmap
19 741
6,074 2,023
1.6% 1.7%
7.0 9.9
23 days ago 4 days ago
C++ Ruby
BSD 2-clause "Simplified" License GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Open Source Routing Machine (OSRM)

Posts with mentions or reviews of Open Source Routing Machine (OSRM). We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-14.
  • Easiest way to calculate distances between multiple locations?
    1 project | /r/excel | 15 May 2023
    then called the Open Streetmap api described here using Power query: https://github.com/Project-OSRM/osrm-backend/blob/master/docs/http.md
  • Can someone fix this tricky ferry route?
    1 project | /r/openstreetmap | 1 Jan 2023
  • Using R to Cluster Points by Road Networks
    4 projects | /r/Rlanguage | 14 Dec 2022
    OSRM: A super fast and easy to use routing engine that runs on OSM data. You only need to run 5 lines of code to (1) download a .pbf from Geofabrik, (2-5) download the OSRM docker image and pre-process the OSM data. There are also 3 profiles predefined that you can use: car, bike, foot (e.g. foot.lua). It basically hosts a local server. I find the easiest way is to combine it with the osrm R package. I have seen you also need to adjust for the elevation. I think I have seen some custom LUA profiles that also account for DTM derived elevation changes as an additional weight.
  • OpenStreepMap 2012 vs. 2022
    10 projects | news.ycombinator.com | 30 Sep 2022
  • Troubleshooting OSRM
    1 project | /r/docker | 27 Aug 2022
    I am trying (and failing) to setup an OSRM instance with docker compose. The issue I've encountered is with setting up osrm-backend. According to the Github and Docker Hub pages, the process is as follows:
  • What's everyone working on this week (29/2022)?
    12 projects | /r/rust | 18 Jul 2022
    I am creating Rust bindings to https://github.com/Project-OSRM/osrm-backend using autocxx. This allows for fast routing on openstreetmap data. They have a nodejs server, but I'm going to write a Rust one with these new bindings. I am finding that many of the config classes in C++ are't Plain-Old-Data structures, so are opaque structs, so I have to write getters and setters in C++.
  • Show HN: Self-Hosted Maps Stack
    11 projects | news.ycombinator.com | 27 May 2022
    > As a cyclist I’m almost always disappointed by google, apple, and Valhalla

    Have you tried the OSRM bike config? (The one you find in https://github.com/Project-OSRM/osrm-backend/blob/master/pro...)

  • loosing my mind
    1 project | /r/openstreetmap | 17 May 2022
    This is a 30 second exercise on OSRM, or any other service that provides directions.
  • There should be a “safe mode” on google maps.
    1 project | /r/TwoXChromosomes | 9 May 2022
    As for the rules for routing algorithms, OSMR's foot profile looks like good place to start. You could copy the file into something like for_women.lua and extend it with rules for e.g. street lighting and any other features of interest. Of course, it would be best to reach out to the other devs first.
  • Walking distance and triangle inequality
    1 project | /r/gis | 29 Apr 2022
    I'm trying to calculate walking distances using OSM and OSRM but this results in distance matrices that violate triangle inequality. This is a pretty bad issue for the spatial models I'm building. I was wondering whether there are alternatives to OSRM that guarantee that triangle inequality is respected. Mostly, I really don't care about the routing algorithm looking at red lights, whether streets are one or two way streets, private roads, etc. I just need the distance along pathways between points.

Openstreetmap

Posts with mentions or reviews of Openstreetmap. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-20.
  • The current state of map design in OpenStreetMap
    12 projects | news.ycombinator.com | 20 Apr 2024
    I wouldn't compare osm-website and osm-carto at all. The commit logs are very different.

    openstreetmap-website: https://github.com/openstreetmap/openstreetmap-website/commi... . Numerous commits most days.

    openstreetmap-carto: https://github.com/gravitystorm/openstreetmap-carto/commits . So far in 2024; one small regression fixed, one niche bit of tagging added to an existing style, some largely pointless code style tidying. That's it.

  • Organizing OpenStreetMap Mapping Parties
    8 projects | news.ycombinator.com | 12 Apr 2024
    Contributing is simple:

    1. When you see a trail or any other feature that doesn't appear on the map, take a picture.

    2. When you get home, visit https://www.openstreetmap.org and start drawing.

    The website has satellite images overlayed wirh map data, so it's easy to see what you are doing.

    You can look at your pictures to remind yourself of what was missing.

    If you have recorded your ride,you can also upload your GPX trace to OpenStreetMap to make it easier to trace features that don't show up clearly on satellite images.

  • The Francis Scott Key Bridge in Baltimore, Maryland Has Collapsed
    2 projects | news.ycombinator.com | 26 Mar 2024
    What impressed me was that it looks like openstreetmap shows the bridge as down already.

    https://www.openstreetmap.org/#map=16/39.2144/-76.5279

  • Open source at Fastly is getting opener
    10 projects | dev.to | 15 Mar 2024
    Through the Fast Forward program, we give free services and support to open source projects and the nonprofits that support them. We support many of the world’s top programming languages (like Python, Rust, Ruby, and the wonderful Scratch), foundational technologies (cURL, the Linux kernel, Kubernetes, OpenStreetMap), and projects that make the internet better and more fun for everyone (Inkscape, Mastodon, Electronic Frontier Foundation, Terms of Service; Didn’t Read).
  • 2024: The year of the OpenStreetMap vector maps
    12 projects | news.ycombinator.com | 11 Feb 2024
    Way overdue. OpenStreetMap's website at openstreetmap.org is its calling card, and for the past few years the default style shown (called Carto) has all but stagnated in development. Accepted features like highway=busway (introduced three years ago) are not rendered there because the maintainers can no longer be bothered, or dislike the tag personally despite broad community backing.

    What worries me for this new effort is that Paul Norman is one of the two remaining Carto sometimes-active maintainers who refuse to merge contributed PRs or even provide alternative minimal support for features like highway=busway, leading to awkward gaps on the baseline map shown on openstreetmap.org.

    I would love to be surprised in a positive way about this new effort, but I'm not holding my hopes up. Thankfully OpenStreetMap can be thoroughly useful in apps like OsmAnd and OrganicMaps, and the tile-based Tracestrack Topo layer on openstreetmap.org is getting quite decent:

    https://www.openstreetmap.org/#layers=P

  • Ask HN: Open-source projects that do something good for the world?
    1 project | news.ycombinator.com | 9 Feb 2024
    https://www.hotosm.org/tools-and-data runs software that's used for example after an earthquake. The tasking manager specifically is a reactjs app plus postgresql with plenty of open issues. HOTOSM has full-time staff, I'm not sure if the developers are full-time, but it's more organized than a volunteer project.

    https://github.com/openstreetmap/openstreetmap-website/ is Ruby on Rails (easy installable with a docker setup). The maintainers have trouble even reviewing incoming PRs so an experienced person who can triage, test, review is currently needed.

    If you're in the US then https://en.wikipedia.org/wiki/Code_for_America might be worth having a look at.

    https://summerofcode.withgoogle.com/ will soon annouce vetted organizations who do open source. (last year https://summerofcode.withgoogle.com/programs/2023/organizati...). Project are paid, the process is long though, all summer. https://developers.google.com/open-source/gsoc/timeline

  • CRT Manufacturing
    1 project | news.ycombinator.com | 24 Jan 2024
    > 9450 S. W. Barns Rd

    Portlandians: Are Barns Rd and Barnes Rd the same thing? Looks like a nice spot if so: https://www.openstreetmap.org/#map=18/45.50901/-122.77468

    That building is now a SFX agency: https://hellohinge.com/ (No relation to the dating app)

    Also curious if the TEKsystems employment agency next door took its name from Tektronix.

  • Waterway Map
    4 projects | news.ycombinator.com | 24 Jan 2024
    Yes, https://www.openstreetmap.org has quite inconsistent detail as it relies on people mapping stuff.

    And help is welcome, anyone can join and help with mapping!

  • The Shingle Spit in Whitstable
    1 project | news.ycombinator.com | 4 Jan 2024
    It's shown on OpenStreetMap, but not as a street: https://www.openstreetmap.org/#map=16/51.3682/1.0330
  • Quairading shire erects signs telling travellers to ignore Google Maps
    2 projects | news.ycombinator.com | 28 Dec 2023

What are some alternatives?

When comparing Open Source Routing Machine (OSRM) and Openstreetmap you can also consider the following projects:

openrouteservice - 🌍 The open source route planner api with plenty of features.

Traccar - Traccar GPS Tracking System

valhalla - Open Source Routing Engine for OpenStreetMap

OsmAnd - OsmAnd

OpenTripPlanner - An open source multi-modal trip planner

littlenavmap - Little Navmap is a free flight planner, navigation tool, moving map, airport search and airport information system for Flight Simulator X, Microsoft Flight Simulator 2020, Prepar3D and X-Plane.

Nominatim - Open Source search based on OpenStreetMap data

OwnTracks Recorder - Store and access data published by OwnTracks apps

TileServer GL - Vector and raster maps with GL styles. Server side rendering by MapLibre GL Native. Map tile server for MapLibre GL JS, Android, iOS, Leaflet, OpenLayers, GIS via WMTS, etc.

uMap - uMap lets you create maps with OpenStreetMap layers in a minute and embed them in your site.

Graphhopper - Open source routing engine for OpenStreetMap. Use it as Java library or standalone web server.