TileServer GL
Open Source Routing Machine (OSRM)
Our great sponsors
TileServer GL | Open Source Routing Machine (OSRM) | |
---|---|---|
12 | 19 | |
2,056 | 6,074 | |
2.9% | 1.6% | |
9.5 | 7.0 | |
4 days ago | 20 days ago | |
JavaScript | C++ | |
GNU General Public License v3.0 or later | 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.
TileServer GL
- GIS hosting
-
Protomaps – A free and open source map of the world
I've been using TileServer GL for a while and it looks like there is support for pmtiles coming soon.
https://github.com/maptiler/tileserver-gl/pull/1009
-
Serverless maps at 1/700 the cost of Google Maps API
Firstly, I just want to say thanks for the reply, but more so thanks for your work, its moving opensource mapping forward.
In my work we are looking at switching from mbtiles hosted with tilserver-gl(https://github.com/maptiler/tileserver-gl) to pmtiles to remove a server process. But we we self host already and we are already using maplibre-gl 2.
I can see why the implementation in the blog post would be better for high traffic deployments (ours isn't). It also points out to me I don't understand how a CDN would handle range request for hosting the pmtiles file directly, it probably doesn't?
As far as the mapbox stuff,in my mind, pmtiles is a direct competitor (successor) to the mbtiles format, which was a revolution in comparison to everything that came before it. A successor I welcome because it makes it even easier for me as a developer to self host and not be dependent on a SaaS to run my maps.
The modern opensource map stack wouldn't exist without mapbox and I'm personally grateful to them for that. Most people who use pmtiles will use mapbox's opensource style spec to style them, and descendants of their open source code to render them. But as a developer now its an obvious choice to not use their services after years of using them.
However I'm not doing high traffic stuff and they never made much money off me anyway.
-
How The Post is replacing Mapbox with open source solutions
https://github.com/maptiler/tileserver-gl makes it really easy. I have a pretty simple pipeline set up to download an OSM extract, convert it to MBTiles, host it in CloudFlare, and render raster tiles with this software.
-
Does anyone know where to find the global raster set of buildings??
It's not raster directly, but you could use planetiler ( https://github.com/onthegomap/planetiler ) to build a full planet vector map . Then you could use something like TileServer-GL to server the vector map with a style. TileServer-gl ( https://github.com/maptiler/tileserver-gl) would provide a raster source that displays in the style you set on your vector map.
- Self Hosting a Google Maps Alternative with OpenStreetMap
- Shade Map Pro
- XYZ Vector tile server
-
Offline Map Tiles
You could host something like tileserver-gl (https://github.com/maptiler/tileserver-gl) and use the pre-generated vector tiles from https://archive.org/details/osm-vector-mbtiles Add some map styles and you have your own offline map service. Here are some good starters for styles: https://github.com/openmaptiles/osm-bright-gl-style
-
Need help finding a server-compatible GPU
This server is intended to be a tile server, taking vector data and rendering it to rasterized tile images via tileserver-gl (which uses OpenGL)
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?
TileServer PHP - MBTiles and MapTiler folder hosting with TileJSON, OGC WMTS, UTFGrid interaction and web interface. QGIS & ESRI ArcGIS compatible. Runs on any Apache+PHP webhosting. MapBox Studio Vector Tiles hosting.
openrouteservice - 🌍 The open source route planner api with plenty of features.
Nominatim - Open Source search based on OpenStreetMap data
valhalla - Open Source Routing Engine for OpenStreetMap
openstreetmap-tile-server - Docker file for a minimal effort OpenStreetMap tile server
OpenTripPlanner - An open source multi-modal trip planner
InterpolateHeatmapLayer - Minimalist JavaScript library for rendering temperature maps (or interpolate heatmaps) with Mapbox GJ JS
Hauk - Open-source realtime location sharing
OsmAnd - OsmAnd
osm-bright-gl-style - OSM Bright GL Style using OpenMapTiles