Geomob · Geomob
Dennis Luxen joins the show to discuss the history, technical and community-driven development of OSRM (Open Source Routing Machine), an open-source routing engine based on OpenStreetMap. We chat about the state of OSM-based routing generally and OSRM specifically. Dennis, who will be speaking about the project at the upcoming State of the Map in Paris, shares insights on data quality, competition, and future plans for improving the routing service. Show notes on the Geomob website, where you can also learn more about Geomob events and sign up for our monthly newsletter.
0:00Speaker AForeign. Welcome to the GeoMob podcast, where we discuss geo innovation in any and all forms, whether for fun or profit. Hi, everyone. Welcome back to another episode of the GeoMob podcast. Today we are once again turning our focus to the topic of routing. It is my pleasure to welcome as a guest Dennis Looksen, who is one of the makers of OSRM, which is a routing service focused on OpenStreetMap. It's been around for many years and the project seems to be reignited and is getting a new fresh push. So I thought it was appropriate that we bring Dennis in here and he gives us an update and tells us all about what's going on there. Dennis, welcome to the show. Wonderful to have you.
0:51Speaker BGood to be here.
0:52Speaker AThank you. Why don't you start with you, introduce yourself, give us your background on geospatial, what got you into geospatial, and then we'll dive straight into osrm. All right.
1:04Speaker BHey, I'm the RSRM guy. That's my usual line. I came to OSM by somewhat accident. I started a career in academia working on routing algorithms. And one day there's this guy Frederick, he's well known at osm, calls me and asked me if I could present on the results that we had back then in academia, we all cared about numbers. So we had these very fascinating tables. If you're from the domain, if you're not, then it's just numbers to you. And I thought, okay, might be great if we had a demo. So I started working on a little demo that showed, okay, you can use OSM data for route planning. I was not the first. I think openroot service was there before, but the approach we took in academia was interesting. So we spent some time in pre processing the road network, getting additional data that you can use to accelerate queries afterwards. So I show up at this OpenStreetMap meetup 15 years ago, maybe.
2:13Speaker ASo what time are we talking about? We're talking around 2010 or so.
2:17Speaker BWe're talking 2010, 2011.
2:19Speaker AOkay.
2:19Speaker BSo, you know, some of the origin history has been lost. So I don't actually recall when I first called the thing osrm. I don't recall when I did the first push to a public repository. I think there is an announcement email somewhere out there from 2011.
2:40Speaker AI do remember that a big topic at this time was OpenStreetMap. Kind of moving from, hey, that's a kind of fun, weird hobby project to could this actually be something useful? And I guess this kind of falls into that movement.
2:54Speaker BIt does. It does. And the feedback we got was great. So the first time we showed routes, routes that you could drag across the map, halfway across the continent, that generated a lot of very good feedback and ignited the idea of having an open source project to make it available for everyone.
3:18Speaker AAnd so in the beginning your involvement was it was kind of more of an academic kind of thought experiment of like, could this actually work or was this actually trying to build a consumer grade service?
3:31Speaker BSo somewhere in between, I'd say it started as a demo, a demo that I used to get funding from the scientific agencies. A demo that I used to show the OpenStreetMap community what could be done. A demo to show folks from industry what should be done. So we use that to great effect. And for each of these communities, I think what we achieved with OSRM was to bring them together. We had the OSM community, we had people from industry who started using it early on. And obviously in academia we used it as the showcase.
4:14Speaker AVery nice. So maybe to set some context also for our listeners who are not deep in this topic, there are obviously many different routing services now, 15 years later that are based on, of course, on all kinds of other data, but also on OpenStreetMap. I can name several off the top of my head. What is the unique position of OSRM in that landscape? And maybe also what is just the current state of routing with Opus REMAP in general, in your opinion?
4:50Speaker BAll right, so OSRM's premise was to be extremely fast and to support routing at scale where you have a large fleet connecting to your backend services, asking for routes where you have latch demand that you can satisfy quickly. OSRM did this without compromising on the root quality itself. So even though we use additional pre processing, even though we use a trick here and there to speed things up, we always said, okay, we want to commit to solving the problem as the textbook says, right? We want to give guarantees that the root quality is not compromised. Where is the field today? Well, we've got a number of routing engines and we had routing engines before osrm. So we were not the first. A couple of folks to mention, I think openroot service was the first that I recall. I think there was PG routing on top of the postgres database. A couple of other folks came up afterwards. I think there's Graphhopper, Valhalla, and each of these make different trade offs. What sets OSRM apart is that we said, okay, we want to be a routing engine for the community, so we want to interpret the data as best as we can. According to what people say should be, should be done with. So we look at the OSM wiki, we follow that judiciously. We never compromise to fix data issues in code. We always push that upstream to say okay, once the, once the data becomes correct, the root will become correct. And you know, others in this space they traded the speed for, you know, let's say some of the versatility of changing, you know, how the routing should interpret the data more quickly. And I think that has a good application in urban planning. Right. And I think where proprietary services win is that they have live traffic, that they have maybe a more polished search for where origin and destination are. I think the OSM based engines when on cost they went on self hosting transparency of the data and sometimes even the raw routing throughput for high volume backends and
7:29Speaker Aagain just to give the context to the listeners. So the project, it's open source software that anyone can host or is there a hosted version that I can use? What exactly are we talking about here?