From 8ebcbf53c3320181948d1c9d429a7a9f15c19a60 Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Fri, 23 Jun 2023 14:14:03 +0800 Subject: [PATCH 1/2] python: use NONE instead of UNKNOWN for compression when converting from MBTiles [#139] --- python/pmtiles/convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pmtiles/convert.py b/python/pmtiles/convert.py index 41f2c9d9..ed3e0ff2 100644 --- a/python/pmtiles/convert.py +++ b/python/pmtiles/convert.py @@ -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 From b7ea7e4d6cb49ff93a05f8fbaaffe1b48561b47a Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Fri, 23 Jun 2023 14:14:37 +0800 Subject: [PATCH 2/2] python v3.2.0 --- python/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/setup.py b/python/setup.py index 8fa30970..a8d37025 100644 --- a/python/setup.py +++ b/python/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="pmtiles", - version="3.1.1", + version="3.2.0", author="Brandon Liu", author_email="brandon@protomaps.com", description="Library and utilities to write and read PMTiles files - cloud-optimized archives of map tiles.",