[gdal-dev] "Zoom" parameter causes crash of gdal2tiles.py

Luca Fasano lucafasano at interfree.it
Fri Mar 12 05:39:08 EST 2010

Hi all,
I tested gdal2tiles.py of GDAL 1.6.3 on Debian unsatble.
I noticed that if I use "zoom" parameter, the script crashes.

$ /usr/bin/python -u /usr/bin/gdal2tiles.py --zoom 3
Traceback (most recent call last):
  File "/usr/bin/gdal2tiles.py", line 2136, in <module>
  File "/usr/bin/gdal2tiles.py", line 473, in process
  File "/usr/bin/gdal2tiles.py", line 1036, in generate_metadata
    f.write( self.generate_tilemapresource())
  File "/usr/bin/gdal2tiles.py", line 1425, in generate_tilemapresource
    for z in range(self.tminz, self.tmaxz+1):
TypeError: cannot concatenate 'str' and 'int' objects

Did you know that?


More information about the gdal-dev mailing list