Skip to content
This repository has been archived by the owner on Sep 11, 2021. It is now read-only.

Merge Tiles not working for zoom level >=18 #5

Open
maahambanu opened this issue Oct 14, 2019 · 0 comments
Open

Merge Tiles not working for zoom level >=18 #5

maahambanu opened this issue Oct 14, 2019 · 0 comments

Comments

@maahambanu
Copy link

maahambanu commented Oct 14, 2019

Hi I tried your code merge_tiles.py it is working just fine till zoom level 17 but for zoom level 18 the code is giving memory errors.
Kindly guide me on how to resolve this issue.

Error is:
Traceback (most recent call last):
File "E:\maps\merge_tiles.py", line 58, in
merge_tiles(zoom, lat_start, lat_stop, lon_start, lon_stop, satellite=True)
File "E:\maps\merge_tiles.py", line 24, in merge_tiles
result = Image.new("RGB", (w, h))
File "C:\Users...\AppData\Local\Programs\Python\Python37\lib\site-packages\PIL\Image.py", line 2505, in new
return im._new(core.fill(mode, size, color))
MemoryError

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant