Fix tile boundaries
Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
parent
1243481f16
commit
20ebb95c7a
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ def get_lon(tile):
|
||||||
# Returns precise west boundary of tile
|
# Returns precise west boundary of tile
|
||||||
def get_west(tile):
|
def get_west(tile):
|
||||||
lon = ((16760832 & int(tile)) >> 14) - 180
|
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
|
return lon + y
|
||||||
|
|
||||||
# Returns east boundary of tile
|
# Returns east boundary of tile
|
||||||
|
|
Loading…
Reference in a new issue