mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
Merge branch 'main' of github.com:hyperknot/openfreemap
This commit is contained in:
@@ -80,7 +80,7 @@ The original idea of this project is to avoid using tile servers altogether. Ins
|
||||
|
||||
This replaces a running service with a pure, file-system-level implementation. Since the Linux kernel's file caching is among the highest-performing and most thoroughly tested codes ever written, it delivers serious performance.
|
||||
|
||||
I run some [benchmarks](docs/quick_notes/http_benchmark.md) on a Hetzner server, the aim was to saturate a gigabit connection. At the end, it was able to serve 30 Gbit on loopback interface, on cold nginx cache.
|
||||
I run some [benchmarks](docs/benchmark/README.md) on a Hetzner server, the aim was to saturate a gigabit connection. At the end, it was able to serve 30 Gbit on loopback interface, on cold nginx cache.
|
||||
|
||||
## Code structure
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# --- Let's Encrypt DNS challange, not needed for self-hosting
|
||||
# --- Let's Encrypt DNS challenge, not needed for self-hosting
|
||||
|
||||
dns_cloudflare_api_token = xxx
|
||||
|
||||
@@ -3,7 +3,7 @@ import json
|
||||
|
||||
# This script parses a nginx server log and creates a text file
|
||||
# which can be used in the Lua script.
|
||||
# The path file is not suppied in this repo.
|
||||
# The path file is not supplied in this repo.
|
||||
|
||||
with open('access.jsonl') as fp:
|
||||
json_lines = fp.readlines()
|
||||
|
||||
@@ -45,6 +45,7 @@ def run_planetiler(area: str) -> Path:
|
||||
'--output=tiles.mbtiles',
|
||||
'--storage=mmap',
|
||||
'--force',
|
||||
'--languages=default,tok',
|
||||
]
|
||||
|
||||
if area == 'planet':
|
||||
|
||||
@@ -2,7 +2,7 @@ from ssh_lib import PLANETILER_BIN, PLANETILER_SRC
|
||||
from ssh_lib.utils import apt_get_install, apt_get_update, exists, sudo_cmd
|
||||
|
||||
|
||||
PLANETILER_COMMIT = 'cf49b86'
|
||||
PLANETILER_COMMIT = 'ee22a014022f1dcc120cba6a768567408ba74908'
|
||||
PLANETILER_PATH = f'{PLANETILER_BIN}/planetiler.jar'
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user