1

I have a folder saved under:

C:\QGIS\Active Layers\

In the "Active Layers" folder there our two folders; one called "Geotiffs" and the other "Virtual Raster".

In QGIS 2.18.20 I created a virtual raster with the .tif files contained in the "Geotiffs" folder and saved the virtual raster in my "Virtual Raster" folder. I created pyramids using the internal if possible option which created a .ovr file alongside my .vrt file. Everthing worked as expected.

Now if I move the "Active Layers" folder onto someone else's computer and save it in the exact same file path the pyramids don't work properly causing the virtual raster to disappear when I zoom in so far.

What have I done wrong and is there a way around it?

  • Open the .vrt file and check if it has a "relativeToVRT" attribute for the overviews gdal.org/gdal_vrttut.html or if an absolute path is used. But I do not understand why virtual raster disappears when you zoom in. Overviews are used when you zoom out. – user30184 Jun 26 '18 at 9:56
  • Yes "relativeToVRT" is used in the .vrt file – AWGIS Jun 26 '18 at 10:09
  • How about SourceFilename elements, do the paths look good? Do other users have rights for all the directories? – user30184 Jun 26 '18 at 10:24
  • One thing I have noticed is that "relativeToVRT" is set "= 0". So does this mean it is absolute? – AWGIS Jun 26 '18 at 10:39
  • Yes, it means absolute. But if you and the other users have identical paths it should not make any difference. – user30184 Jun 26 '18 at 11:47

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.