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

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

@maahambanu

Description

@maahambanu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions