Opened 7 years ago

Last modified 5 years ago

#7131 closed defect

gdal2tiles.py generates blank tiles — at Version 4

Reported by: csbubbles Owned by: warmerdam
Priority: normal Milestone: closed_because_of_github_migration
Component: default Version: 2.2.2
Severity: normal Keywords: gdal2tiles, empty
Cc: gbataille

Description (last modified by csbubbles)

GDAL 2.2.2, released 2017/09/15

When generating tiles for a specific zoom, sometimes all the tiles in one of the directories (X-coordinate) appear to be blank (have no data, all the pixels are hidden by the alpha band).

Repro

  1. Download the attached xxx.tif file
  2. Generate tiles for zoom level 20: gdal2tiles.py xxx.tif -z 20
  3. Check files in xxx/20/183366 directory

Actual results

All the files generated are blank. There is no actual data, all the pixels are hidden by the alpha layer.

Expected results

There shouldn't be "xxx/20/183366" directory created at all, I guess, and no tiles generated there.

Change History (4)

comment:1 by csbubbles, 7 years ago

I couldn't attach the file as it's ~25MB. Please let me know how I could send it to you, and I will.

comment:2 by csbubbles, 7 years ago

Description: modified (diff)

comment:3 by csbubbles, 7 years ago

Description: modified (diff)

comment:4 by csbubbles, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.