I have created a VRT using gdalbuildvrt from three single-band GeoTiffs (1-m resolution) as follows:

gdalbuildvrt chm_2157.vrt P_712806_CHM.tif P_712808_CHM.tif P_712810_CHM.tif  -a_srs 'epsg:2157' -srcnodata 1.175494351e-38

When I checked the output in QGIS, I noticed that a gap of 1 pixel (1-m) has appeared between two of the input tiles. Below are pictures of the input tiles (no gap present) and the VRT output (gap artifact included)

Input GeoTiff (no gap) enter image description here

Output VRT (gap) enter image description here

I've read threads about this issue occurring with gdalwarp and gdal_merge.py (e.g. here ) but the solutions don't appear to apply to gdalbuildvrt.

  • Download links to small images which could be used for reproducing the issue would be appreciated. – user30184 Jul 8 '16 at 11:04
  • I've noticed that the gap disappears, when I save the input GeoTiffs from QGIS using the 'Save As' option and then create the VRT. Here is a link to the two input files. jmp.sh/b/6pGVpiCBt5Mxqp99HEGo – dmci Jul 8 '16 at 14:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.