BREAKING CHANGE: satellite.mbtiles ist nun einheitlich JPEG (zuvor gemischte PNG/JPEG) Features: - Neue Scripts: convert-satellite-to-jpeg.py (batch-basiert, resume-fähig) - download-satellite.py jetzt mit on-the-fly PNG→JPEG-Konvertierung - docker-compose.download.yml: Pillow installiert, Qualität konfigurierbar Fixes: - 1.505.049 PNG-Tiles zu JPEG konvertiert (22.9 Minuten) - SQLite quick_check bestanden (png=0, quick_check=ok, total=5.6M) - Martin lädt satellite-Source ohne Format-Warnungen - Alle 3 Sources (osm, osm-europe, satellite) geladen und produktiv Documentation: - ADMIN.md: Satellit-Konvertierungs-Anleitung aktualisiert - PROJECT_CONTEXT.md: Finaler Status dokumentiert - Session-Log: 2026-06-15_satellite-fix-cleanup_session.md Cleanup: - Temporäre Dateien gelöscht - 17GB Backup gelöscht - __pycache__ gelöscht
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
# Satellite-Download – eigenständiger Container
|
||
#
|
||
# Läuft vollständig unabhängig von VS Code / SSH-Sessions.
|
||
# Resume-fähig: bereits heruntergeladene Tiles werden übersprungen.
|
||
#
|
||
# STARTEN:
|
||
# cd /mnt/services-data/rd13_tile_server
|
||
# docker compose -f docker-compose.download.yml up
|
||
#
|
||
# STATUS (in zweitem Terminal):
|
||
# docker compose -f docker-compose.download.yml logs -f
|
||
#
|
||
# STOPPEN (Download pausieren):
|
||
# docker compose -f docker-compose.download.yml stop
|
||
#
|
||
# FORTSETZEN:
|
||
# docker compose -f docker-compose.download.yml up
|
||
#
|
||
# ERGEBNIS:
|
||
# data/satellite.mbtiles (~38 GB bei MAX_ZOOM=11)
|
||
|
||
services:
|
||
satellite-download:
|
||
image: python:3.12-slim
|
||
container_name: rd13_satellite_download
|
||
volumes:
|
||
- ./data:/data
|
||
- ./scripts:/scripts:ro
|
||
- ./logs:/logs
|
||
environment:
|
||
- SAT_MAX_ZOOM=11
|
||
- SAT_THREADS=16
|
||
- SAT_JPEG_QUALITY=90
|
||
- PYTHONUNBUFFERED=1
|
||
command: ["sh", "-c", "pip install --no-cache-dir Pillow && python3 -u /scripts/download-satellite.py /data/satellite.mbtiles"]
|
||
restart: on-failure
|
||
deploy:
|
||
resources:
|
||
limits:
|
||
cpus: "4.0"
|
||
memory: 1G
|
||
reservations:
|
||
memory: 64M
|