[gdal-dev] gdal_retile.py bugs

Katie Essadro katieessadro at gmail.com
Sat Dec 15 11:09:54 PST 2012


I believe I have found 2 bugs in gdale_retile.py:

1. It appears that gdal_retile.py does not honor alpha bands for masking
when merging images. At this link is an image which shows my two images
loaded separately as tiffs into google earth:

http://imgur.com/9HcFh

At this link is an image of the output of running gdal_retile.py on my two
images to form an image pyramid:

http://imgur.com/AuDOO

Here are the commands I run on the images to make the image pyramid:

gdal_translate -expand rgba 12Jun29_1643-f-17.tif
output12Jun29_1643-f-17.tif
gdal_translate -expand rgba 12Jun29_1643-f-18.tif
output12Jun29_1643-f-18.tif
gdalwarp output12Jun29_1643-f-17.tif finaloutput12Jun29_1643-f-17.tif
gdalwarp output12Jun29_1643-f-18.tif finaloutput12Jun29_1643-f-18.tif
gdal_retile.py -v -r bilinear -levels 4 -ps 2048 2048 -co "tiled=YES"
-targetDir testpyramid --optfile files.txt

If I explicitly mosaic the images first, and then feed the mosaic into
gdal_retile.py that will work, but this solution does not scale well.


2. gdal_retile.py expects that images are north-up, thus why I run the
gdalwarp on them before gdal_retile.py. 


Is this the correct forum for posting these bugs?

Thanks



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/gdal-retile-py-bugs-tp5023235.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list