I have four 15 arc second resolutions DEM files (15-C.tif, 15-D.tif, 15-I.tif, 15-J.tif) downloaded from viewfinderpanoramas.org. When I input them in QGIS I noticed that the 15-J.tif layer differs a bit from other layers in gray-scale intensity. Below is the image that illustrates the problem. I believe this lack of color matching can be overcome somehow. I would like to have adjacent DEM layers to match in color if possible.

color mismatch between adjacent DEM layers

2 Answers 2


In the main menu bar, go to Raster | Miscellaneous | Build Virtual Raster and select all the tiles you want to group (don't forget to uncheck the Place each input file into a separate band tickbox). The resulting file will be symbolized as one raster.

The reason they vary in shading is that the data in each file doesn't have the same range (minimum and maximum cell values) and the tone gradient is spread differently.


The difference is the resulting style of each raster generated by default.

The simplest way to make them to match their style is to copy and paste the style. Right click on the raster with the desired style, select Styles->Copy and then go to the target raster and do the same but Paste

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.