Open Source Routing Machine (OSRM)
valhalla
Our great sponsors
Open Source Routing Machine (OSRM) | valhalla | |
---|---|---|
19 | 9 | |
6,074 | 4,174 | |
1.6% | 2.1% | |
7.0 | 9.3 | |
21 days ago | 5 days ago | |
C++ | C++ | |
BSD 2-clause "Simplified" License | GNU General Public License v3.0 or later |
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)
-
Easiest way to calculate distances between multiple locations?
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?
-
Using R to Cluster Points by Road Networks
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
-
Troubleshooting OSRM
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)?
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
> 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
This is a 30 second exercise on OSRM, or any other service that provides directions.
-
There should be a “safe mode” on google maps.
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
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.
valhalla
- Seeking a Simple and Cost-Effective Tool for Calculating Distances and Travel Times in Node.js Backend
-
Tesla has the best navigation software in the business
Does Tesla even do their own routing? As far as I am aware they use https://github.com/valhalla/valhalla
-
How The Post is replacing Mapbox with open source solutions
Also see valhalla for an open source routing engine: https://github.com/valhalla/valhalla/
-
Boost.Graph user survey
I use it to implement a solver for the Chinese Postman Problem for an open source routing engine named Valhalla (https://github.com/valhalla/valhalla/).
-
[OC] All Roads Lead to Richmond - The quickest route to the capital city from anywhere within the state of Virginia
Link to library: https://github.com/valhalla/valhalla
-
How to Learn Nix
Love the idea of a blog post like this. I tried something very similar a couple weeks ago on a c++ project, both in hopes it might lead to an improved user experience, and also for others struggling to figure it out.
https://github.com/valhalla/valhalla/discussions/3540
- How to get Distance matrix for ~400 locations without paying hundreds of Euros.
-
Bolt v2... navigation cues lagging, auto start/stop finicky
Note that Wahoo doesn't implement their own routing, the Bolt is using OpenStreetMap and Valhalla (https://github.com/valhalla/valhalla) to do routing. That's probably a reason why bugs are never fixed, it's not their code.
-
[OC] Areas reachable by rail+foo within two hours from Bristol Temple Meads Station. Starting different times over a day.
The pedestrian isochrone generation was done using (https://github.com/valhalla/valhalla)
What are some alternatives?
openrouteservice - 🌍 The open source route planner api with plenty of features.
Graphhopper - Open source routing engine for OpenStreetMap. Use it as Java library or standalone web server.
OpenTripPlanner - An open source multi-modal trip planner
tilemaker - Make OpenStreetMap vector tiles without the stack
Nominatim - Open Source search based on OpenStreetMap data
Mapbox GL - Interactive, thoroughly customizable maps in native Android, iOS, macOS, Node.js, and Qt applications, powered by vector tiles and OpenGL
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.
Openstreetmap - The Rails application that powers OpenStreetMap
OsmAnd - OsmAnd
maplibre-gl-leaflet - This is a binding from MapLibre GL JS to the familiar Leaflet API.
Hauk - Open-source realtime location sharing
pygeoapi - pygeoapi is a Python server implementation of the OGC API suite of standards. The project emerged as part of the next generation OGC API efforts in 2018 and provides the capability for organizations to deploy a RESTful OGC API endpoint using OpenAPI, GeoJSON, and HTML. pygeoapi is open source and released under an MIT license.