From 20ebb95c7a10fccd15847be50ea38050e3396da1 Mon Sep 17 00:00:00 2001 From: fly Date: Mon, 8 Mar 2021 14:28:18 +0000 Subject: [PATCH] Fix tile boundaries Signed-off-by: fly --- common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.py b/common.py index ff15d65..4c75027 100644 --- a/common.py +++ b/common.py @@ -87,7 +87,7 @@ def get_lon(tile): # Returns precise west boundary of tile def get_west(tile): lon = ((16760832 & int(tile)) >> 14) - 180 - y = (7 & int(tile)) / (1 / get_tile_width(get_lat(tile))) + y = (7 & int(tile)) / (1 / get_tile_width(get_south(tile))) return lon + y # Returns east boundary of tile