Ticket #4692 (new defect)

Opened 23 months ago

gdal_retile will not operate on multiple files

Reported by: toupsz Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: 1.9.1
Severity: major Keywords: gdal_retile
Cc:

Description

gdal_retile only uses the first file in a list of files to produce an image pyramid. According to the description, it should take multiple images for the pyramid. Also tried using the --optfile option, but this has the same result.

ex.:

E:\TrueMarble_GeoTIFF>gdal_retile.py -v -r bilinear -levels 3 -ps 2048 2048 -co "TILED=YES" -targetDir pyramid3 TrueMarble.16km.2700x1350.tif TrueMarble.8km.5400x2700.tif
 TrueMarble.4km.10800x5400.tif
Created level dir: pyramid3\1\
Created level dir: pyramid3\2\
Created level dir: pyramid3\3\
Building internal Index for 3 tile(s) ... finished
Filename: TrueMarble.16km.2700x1350.tif
File Size: 2700x1350x3
Pixel Size: 0.133333 x -0.133333
UL:(-180.000000,90.000000)   LR:(180.000000,-90.000000)
tileWidth       2048
tileHeight      2048
countTilesX:    2
countTilesY:    1
lastTileWidth:  652
lastTileHeight: 1350
pyramid3\TrueMarble.16km.2700x1350_1_1.tif : 0|0-->2048-1350
pyramid3\TrueMarble.16km.2700x1350_1_2.tif : 2048|0-->652-1350
pyramid3\1\TrueMarble.16km.2700x1350_1_1.tif : 0|0-->1350-675
pyramid3\2\TrueMarble.16km.2700x1350_1_1.tif : 0|0-->675-337
pyramid3\3\TrueMarble.16km.2700x1350_1_1.tif : 0|0-->337-168
FINISHED
Note: See TracTickets for help on using tickets.