From f17e843900d4395a2f69be36e159a66d111d79f1 Mon Sep 17 00:00:00 2001 From: zstadler Date: Sun, 8 Dec 2024 17:13:47 +0200 Subject: [PATCH] Update extracted MinZoom Potentially resolves #197 --- pmtiles/extract.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pmtiles/extract.go b/pmtiles/extract.go index 0c14bd4..254b8a2 100644 --- a/pmtiles/extract.go +++ b/pmtiles/extract.go @@ -441,6 +441,7 @@ func Extract(_ *log.Logger, bucketURL string, key string, minzoom int8, maxzoom header.TileContentsCount = tileContents header.MaxZoom = uint8(maxzoom) + header.MinZoom = uint8(minzoom) headerBytes := serializeHeader(header)