mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 02:41:09 +00:00
python: use NONE instead of UNKNOWN for compression when converting from MBTiles [#139]
This commit is contained in:
@@ -43,7 +43,7 @@ def mbtiles_to_header_json(mbtiles_metadata):
|
||||
if tile_format == "pbf" or mbtiles_metadata.get("compression") == "gzip":
|
||||
header["tile_compression"] = Compression.GZIP
|
||||
else:
|
||||
header["tile_compression"] = Compression.UNKNOWN
|
||||
header["tile_compression"] = Compression.NONE
|
||||
|
||||
return header, mbtiles_metadata
|
||||
|
||||
|
||||
Reference in New Issue
Block a user