[Gdal-dev] Strange GeoTIFF error/gdal_merge.py

Markus Neteler neteler at itc.it
Thu Mar 18 12:11:30 EST 2004


Hello Manuel,

On Thu, Mar 18, 2004 at 05:23:14PM +0100, Manuel Massing wrote:
> Hello Markus,
> 
> I had the same problem when creating a TIFF file and
> merging datasets which did not cover the entire domain. The problem 
> seems to stem from uninitialised sections of the output file,
> so a workaround is to first initialise the whole dataset with e.g. 
> nodata or zero values, and then proceed with merging.
> 
> I am not sure if this occurs only with tiled datasets, but it might
> be an index initialisation bug of some sort? 

In fact there are no data areas in the final mosaic as the
tiles do not cover the entire region. So maybe the problem
is as you describe (unfortunately I have no idea how to change
gdal_merge.py to first initialise the whole dataset).

Regards,

 Markus




More information about the Gdal-dev mailing list