I have brought in multiple TIFF (raster) files into QGIS and want to combine them into one file. I tried this by going to Raster> Misc.> Merge. When doing this the output file comes out as gray and black and I want to keep the colors of my TIFF files.
[GIS] Combine multiple TIFF Files into one
geotiff-tiffmergemosaicqgisraster
Best Answer
You need to use
Merge tool
fromProcessing toolbox -> GDAL/OGR -> Miscellaneous -> Merge
it has the option toGrab pseudocolor table from first layer
that you need to check, as you can see below:Do not forget to choose a proper
Output raster type
that match the raster type of the input data, or any type that is close to input raster data.For example, I have two topographic map sheets with
8 bit unsigned integer
, but I don't have the same pixel type, so I choseUInt16
which is16 bit unsigned integer
.Input:
Here is the output after running the Merge tool: