mbtiles-php
headway
mbtiles-php | headway | |
---|---|---|
1 | 41 | |
124 | 2,263 | |
- | - | |
10.0 | 9.1 | |
over 8 years ago | over 1 year ago | |
PHP | Vue | |
MIT License | Apache License 2.0 |
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.
mbtiles-php
-
Host your own OpenStreetMap Map Tiles
You can host .mbtiles files with PHP very easily. I wrote a tiny piece of code 9 years ago that I used for a high traffic map server and it worked just fine. https://github.com/infostreams/mbtiles-php
I'm sure there are newer solutions out there, which might have more features and are actually maintained. But this did (and still does) the job.
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
What are some alternatives?
mod_mbtiles - Serve tiles with Apache directly from an .mbtiles file
openstreetmap-tile-server - Docker file for a minimal effort OpenStreetMap tile server
kvtiles - Self hosted maps, PMTiles, MBTiles key value storage and server
planetiler - Flexible tool to build planet-scale vector tilesets from OpenStreetMap data fast
PMTiles - Cloud-optimized + compressed single-file tile archives for vector and raster maps
vgtk - A declarative desktop UI framework for Rust built on GTK and Gtk-rs
operations - OSMF Operations Working Group issue tracking
inspiral-web - The web version of the Inspiral app.
eyros - interval database
maplibre-gl-js - MapLibre GL JS - Interactive vector tile maps in WebGL2