mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
readme
This commit is contained in:
@@ -46,7 +46,7 @@ I'll share more about the reasons in a future [blog post](https://blog.hyperknot
|
||||
|
||||
## How can this work? How can a one-person project offer unlimited map hosting for free?
|
||||
|
||||
There is no technical reason why vector tile hosting should cost as much as it does today. Vector tiles are just static files. OK, serving 300 million files is not easy, but at the end of the day, they are just files.
|
||||
There is no technical reason why map hosting costs as much as it does today. Vector tiles are just static files. OK, serving 300 million files is not easy, but at the end of the day, they are just files.
|
||||
|
||||
Financially, the plan is to keep renting servers until they cover the bandwidth. I believe it can be self-sustainable if enough people subscribe to the support plans.
|
||||
|
||||
@@ -60,26 +60,14 @@ GitHub: [openfreemap](https://github.com/hyperknot/openfreemap) and [openfreemap
|
||||
|
||||
## What is the tech stack?
|
||||
|
||||
The map schema is [OpenMapTiles](https://github.com/openmaptiles/openmaptiles).
|
||||
The map schema is [OpenMapTiles](https://github.com/openmaptiles/openmaptiles), the tiles are generated by [Planetiler](https://github.com/onthegomap/planetiler). The [styles](https://github.com/hyperknot/openfreemap-styles) are forked and heavily modified.
|
||||
|
||||
The tiles are generated by [Planetiler](https://github.com/onthegomap/planetiler).
|
||||
There is no tile server running, only BTRFS partition images with 300 million hard-linked files. I haven't heard anyone else doing this in production, but it works really well.
|
||||
|
||||
There is no tile server running, only BTRFS partition images with 300 million hard-linked files. This is one innovative aspect of this project.
|
||||
|
||||
The server is nginx on Ubuntu.
|
||||
|
||||
There is no cloud, just dedicated servers.
|
||||
There is no cloud, just dedicated servers. The HTTP server is nginx on Ubuntu.
|
||||
|
||||
Currently, it is behind Cloudflare, but it has been designed so that this can be changed at any time.
|
||||
|
||||
Moreover, a lot of effort is being put into standardizing the [styles](https://github.com/hyperknot/openfreemap-styles).
|
||||
|
||||
**What about PMTiles?**
|
||||
|
||||
I would have loved to use PMTiles; they are a brilliant idea!
|
||||
|
||||
Unfortunately, making range requests in 80 GB files just doesn't work in production. It is fine for files smaller than 500 MB, but it has terrible latency and caching issues for full planet datasets.
|
||||
|
||||
## Attribution
|
||||
|
||||
If you are using MapLibre, attributions are automatically added.
|
||||
|
||||
Reference in New Issue
Block a user