diff --git a/Dockerfile b/Dockerfile index c0e7b7e..9cecbb8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,9 +18,9 @@ WORKDIR /tilemaker/landcover RUN curl -O https://naciscdn.org/naturalearth/10m/physical/ne_10m_antarctic_ice_shelves_polys.zip RUN curl -O https://naciscdn.org/naturalearth/10m/physical/ne_10m_glaciated_areas.zip RUN curl -O https://naciscdn.org/naturalearth/10m/cultural/ne_10m_urban_areas.zip -RUN unzip -oj ne_10m_antarctic_ice_shelves_polys.zip -RUN unzip -oj ne_10m_glaciated_areas.zip -RUN unzip -oj ne_10m_urban_areas.zip +RUN unzip -o ne_10m_antarctic_ice_shelves_polys.zip -d ne_10m_antarctic_ice_shelves_polys +RUN unzip -o ne_10m_glaciated_areas.zip -d ne_10m_glaciated_areas +RUN unzip -o ne_10m_urban_areas.zip -d ne_10m_urban_areas FROM debian:bookworm-slim AS tilemaker-generate @@ -36,11 +36,10 @@ COPY --from=tilemaker-compile /tilemaker/resources ./resources COPY --from=tilemaker-compile /tilemaker/coastline ./coastline COPY --from=tilemaker-compile /tilemaker/landcover ./landcover -# RUN jq ".settings.include_ids=true" resources/config-openmaptiles.json | sponge resources/config-openmaptiles.json RUN jq '.settings.include_ids=true | .settings.maxzoom = 16 | .settings.basezoom = 16 | .settings.combine_below = 16 | .layers.building.minzoom = 12 | (.layers[] | .maxzoom) |= if . == 14 then 16 else . end' resources/config-openmaptiles.json | sponge resources/config-openmaptiles.json RUN curl -O https://download.geofabrik.de/europe/turkey-latest.osm.pbf -RUN ./tilemaker --fast --compact --no-compress-nodes --no-compress-ways --materialize-geometries --input=turkey-latest.osm.pbf --output=turkey.mbtiles --config=resources/config-openmaptiles.json --process=resources/process-openmaptiles.lua +RUN ./tilemaker --fast --no-compress-nodes --no-compress-ways --materialize-geometries --input=turkey-latest.osm.pbf --output=turkey.mbtiles --config=resources/config-openmaptiles.json --process=resources/process-openmaptiles.lua FROM golang:alpine AS tileserver-build