From 568fefe37d5e8219c74284f01cf7c7cbb0e62cc4 Mon Sep 17 00:00:00 2001 From: Peiti Li Date: Tue, 1 Jun 2021 09:27:41 -0700 Subject: [PATCH 1/2] Change max zoom from 15 to 16 --- batch-setup/make_meta_tiles.py | 1 + utils/constants.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/batch-setup/make_meta_tiles.py b/batch-setup/make_meta_tiles.py index 22302f2..7bc3aea 100644 --- a/batch-setup/make_meta_tiles.py +++ b/batch-setup/make_meta_tiles.py @@ -22,6 +22,7 @@ from ModestMaps.Core import Coordinate from multiprocessing import Pool from distutils.util import strtobool +from utils.constants import MAX_TILE_ZOOM MissingTiles = namedtuple('MissingTiles', 'low_zoom_file high_zoom_file') diff --git a/utils/constants.py b/utils/constants.py index 91555fa..0c0b75b 100644 --- a/utils/constants.py +++ b/utils/constants.py @@ -1,2 +1,2 @@ -MAX_TILE_ZOOM = 15 # 15 tilezen's max supported zoom +MAX_TILE_ZOOM = 16 # tilezen's default max supported zoom MIN_TILE_ZOOM = 0 From 3fda6026ff5138850efb3f8bb6c45b4fcda6ad74 Mon Sep 17 00:00:00 2001 From: Peiti Li Date: Tue, 1 Jun 2021 09:29:10 -0700 Subject: [PATCH 2/2] remove unused import --- batch-setup/make_meta_tiles.py | 1 - 1 file changed, 1 deletion(-) diff --git a/batch-setup/make_meta_tiles.py b/batch-setup/make_meta_tiles.py index 7bc3aea..22302f2 100644 --- a/batch-setup/make_meta_tiles.py +++ b/batch-setup/make_meta_tiles.py @@ -22,7 +22,6 @@ from ModestMaps.Core import Coordinate from multiprocessing import Pool from distutils.util import strtobool -from utils.constants import MAX_TILE_ZOOM MissingTiles = namedtuple('MissingTiles', 'low_zoom_file high_zoom_file')