Merge rasters into a single raster with GDAL

Sometimes it is necessary to merge multiple GeoTIFFs into a single raster. For example, if the image you are trying to orthorectify overlaps multiple disjoint SRTM DEM GeoTIFFs, then you can combine the SRTM DEM GeoTIFFs into a single image using the script available with the GDAL package.


The script takes the paths of the GeoTIFFs you want to combine as input and creates a single GeoTIFF as output. If you do not specify a filename with the -o option, the script will save the result as out.tif. image1.tif image2.tif -o merged.tif

Table Of Contents

Previous topic

Extract raster windows from satellite imagery with GDAL

Next topic

Install PostGIS

This Page