I have the DEM of a defined region that has been split into sub-DEM with a resolution of 1 km x 1 km. When I merge the sub-DEM to create a single DEM (Raster -> Miscellaneous -> Merge), the overall result is quite satisfactory, but for some reason, when I compare the original altitude to the merged altitude, there are differences in some regions. I also realized that the tool transforms regions containing nodata into 0.

The profiles in the following figure was obtained using the Profile plugin (red: original DEM, blue: merged DEM).

enter image description here

Is there an explanation for this?

I realized that when I create a virtual raster from DEM, and then save it in GeoTiff format, I get the original DEM.

My question is therefore: besides the ease of use, is there any advantage to using the Merge tool instead of the virtual raster?

1 Answer 1


The merge tool will not change the values within cells not in overlaping parts. For this overlaping borders you must decide the method, both for merge or virtual raster. There are several methods, specially if the raster and not completely alligned but basically they follow this principles:

enter image description here

In your graph, I would say that those differences between the original and merged are due to this principle. However may be all relays in the primary tool you used to split your raster. If this have created little gaps between cells, the merge tool will interpolate the value.

Your Answer

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

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