diff --git a/Makefile b/Makefile index f1db7cd..e8d24b1 100644 --- a/Makefile +++ b/Makefile @@ -150,7 +150,10 @@ staging-db: check-ssh # NICHT im Image — wird per Range-Route (/tiles) ausgeliefert. # ---------------------------------------------------------- TILES_DIR := tiles/build -TILES_REGIONS := germany austria switzerland +# DACH + alle angrenzenden Länder (15). Reihenfolge egal — osmium merge -H + time-filter +# dedupliziert Grenz-Nodes. Output bleibt dach.pmtiles (Frontend referenziert den Namen). +TILES_REGIONS := germany austria switzerland france italy czech-republic poland \ + slovakia hungary slovenia netherlands belgium luxembourg denmark liechtenstein PLANETILER_IMAGE := ghcr.io/onthegomap/planetiler:latest TILES_TARGET := $(if $(filter prod,$(ENV)),$(DS_PATH),$(DS_PATH_STAGING)) @@ -166,7 +169,8 @@ tiles: @# liefert genau eine Version pro ID (planetiler braucht eindeutige, sortierte IDs). @osmium merge -H $(foreach r,$(TILES_REGIONS),$(TILES_DIR)/$(r).osm.pbf) -o $(TILES_DIR)/dach-hist.osm.pbf --overwrite @osmium time-filter $(TILES_DIR)/dach-hist.osm.pbf -o $(TILES_DIR)/dach.osm.pbf --overwrite - @rm -f $(TILES_DIR)/dach-hist.osm.pbf + @# History + Einzel-PBFs jetzt freigeben (spart ~Quellsumme an Spitzen-Plattenplatz vor planetiler). + @rm -f $(TILES_DIR)/dach-hist.osm.pbf $(foreach r,$(TILES_REGIONS),$(TILES_DIR)/$(r).osm.pbf) @echo "→ planetiler → dach.pmtiles (disk-backed mmap)..." @docker run --rm -v "$(CURDIR)/$(TILES_DIR):/data" $(PLANETILER_IMAGE) \ --osm-path=/data/dach.osm.pbf --download --output=/data/dach.pmtiles --force \