[GIS] ny way of merging two sets of tiles with gdal2tiles

gdalgdal2tilestiles

I've executed gdal2tiles against 2 raster coverages:

So, I first executed gdal2tiles against a "puzzle" of TIFF files, with
a missing piece, and then I executed gdal2tiles against that single
missing piece. I want to merge both tiles set. Zoom levels were 4-14,
only Google Maps output. Only levels 4-12 have the problem (tiles with
the same coords).

Is there any way of merging tiles or should I execute gdal2tiles
against the whole "puzzle"?

Best Answer

I've never did it but it seems gdal merge could be appropriate :

This utility will automatically mosaic a set of images. All the images must be in the same coordinate system and have a matching number of bands, but they may be overlapping, and at different resolutions. In areas of overlap, the last image will be copied over earlier ones.

Let us know!