Skip to content

Commit

Permalink
Merge 16caced into 40e5295
Browse files Browse the repository at this point in the history
  • Loading branch information
darribas committed Apr 20, 2019
2 parents 40e5295 + 16caced commit be80821
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contextily/tile.py
Expand Up @@ -67,7 +67,7 @@ def bounds2raster(w, s, e, n, path, zoom='auto',
w, s = _sm2ll(w, s)
e, n = _sm2ll(e, n)
if zoom == 'auto':
zoom = _calculate_zoom(w, e, s, n)
zoom = _calculate_zoom(w, s, e, n)
# Download
Z, ext = bounds2img(w, s, e, n, zoom=zoom, url=url, ll=True)
# Write
Expand Down Expand Up @@ -142,7 +142,7 @@ def bounds2img(w, s, e, n, zoom='auto',
w, s = _sm2ll(w, s)
e, n = _sm2ll(e, n)
if zoom == 'auto':
zoom = _calculate_zoom(w, e, s, n)
zoom = _calculate_zoom(w, s, e, n)
tiles = []
arrays = []
for t in mt.tiles(w, s, e, n, [zoom]):
Expand Down

0 comments on commit be80821

Please sign in to comment.