headway
Open Source Routing Machine (OSRM)
headway | Open Source Routing Machine (OSRM) | |
---|---|---|
41 | 19 | |
2,263 | 6,086 | |
- | 0.7% | |
9.1 | 7.0 | |
over 1 year ago | 4 days ago | |
Vue | C++ | |
Apache License 2.0 | BSD 2-clause "Simplified" License |
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.
headway
-
Serverless maps at 1/700 the cost of Google Maps API
You might want to peek at https://github.com/headwaymaps/headway . I have never used it myself, but it at least shows how to integrate the different pieces.
The individual software components often have alternative with a similar scope. So if you don't like a choice headwaymaps made, browse around.
The data sources are mostly "unique", i.e. everybody downloads from the pages (Geofabrik, Who's On First, etc), so not much to gain here.
Editing styles has some alternatives, but the OpenSource editors are far away from the quality of the Mapbox editor. Maputnik or editing the 1000+ SLOC JSON by hand are the way to go, imo.
Personally I use GeoFabrik to download OSM extracts → osmconvert to extract the smaller bounding box I am interested in → tilemaker to render vector tiles to individual .pbf files I can serve like it's 1999. The bounding box extract is not necessary, but it's much faster if you need to tweak things in tilemaker. Both tilemaker and osmconvert are packaged for at least Debian out of the box, so setup is easy enough. Rendering a decently sized metro area takes < 30mins with this from scratch of compute, < 5min with the bounding box extract.
Note that adding icons (sprites) or fonts is extra work that comes on top. And while the tools themselves are great, there's still a lot of gluing/plumbing/fitting things together that you'll need to do. If headwaymaps works for you, it's probably the easiest choice.
- Google Location History-type program, but on a private server for anyone to run?
-
Self Hosting a Google Maps Alternative with OpenStreetMap
In a similar vain, there is maps.earth / headway:
https://github.com/headwaymaps/headway
https://about.maps.earth/
https://news.ycombinator.com/item?id=32551273
Another self hostable OSM stack that seems promising is headway
-
maps.earth: Open-source maps for everyone, powered by Headway and OpenStreetMap
About: https://about.maps.earth/
-
What is the easiest way to deploy OSM on the premise? like nominatim.openstreetmap.org, but offline version.
Something like this? https://github.com/headwaymaps/headway
- Self-hostable maps stack, powered by OpenStreetMap
- Headway is a self-hosted alternative to Google Maps which supports 200+ cities across the globe
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.
What are some alternatives?
openstreetmap-tile-server - Docker file for a minimal effort OpenStreetMap tile server
openrouteservice - 🌍 The open source route planner api with plenty of features.
planetiler - Flexible tool to build planet-scale vector tilesets from OpenStreetMap data fast
valhalla - Open Source Routing Engine for OpenStreetMap
vgtk - A declarative desktop UI framework for Rust built on GTK and Gtk-rs
OpenTripPlanner - An open source multi-modal trip planner
inspiral-web - The web version of the Inspiral app.
Nominatim - Open Source search based on OpenStreetMap data
mod_mbtiles - Serve tiles with Apache directly from an .mbtiles file
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.
maplibre-gl-js - MapLibre GL JS - Interactive vector tile maps in WebGL2
OsmAnd - OsmAnd