Opened 7 years ago

Closed 7 years ago

#6795 closed defect (fixed)

gdal2tiles.py: crash when the base tile level requested contains no data from the input raster

Reported by: gbataille Owned by: warmerdam
Priority: normal Milestone:
Component: Utilities Version: svn-trunk
Severity: normal Keywords:
Cc:

Description

on trunk

python gdal/swig/python/scripts/gdal2tiles.py autotest/pyscripts/data/test_bounds_close_to_tile_bounds_x.vrt /tmp/out_small -z 10 -v

Need to decide whether we should exit with no output and a non-zero exit code or generate one empty (transparent) tile for the right coordinates and simply exit normally

I'll submit a patch soon

Change History (1)

comment:1 by Even Rouault, 7 years ago

Resolution: fixed
Status: newclosed

In 37405:

gdal2tiles: handle requested tile at too low zoom to get any data (fixes #6795, github https://github.com/OSGeo/gdal/pull/191)

Note: See TracTickets for help on using tickets.