Hello, I'm just getting (re)started with QGIS (version 3.10.2, on Ubuntu 18.04). I have some big raster files that I will be using for several projects. I have a second 2TB hard drive on my computer where I store them. I put symbolic links to them in the folder for a QGIS project. This worked fine - I was able to add them to the project, complete some analyses (merge, ruggedness, align etc), and save the resulting rasters.
However, when I re-opened the project, all the symbolic linked rasters appeared as unavailable layers. It looks like the paths to the symbolic links were replaced by relative paths to the linked files themselves (e.g., ../../../enm/worldclim/na/wcna_01.tif). This path is not correct, the actual file is at /media/data/enm/worldclim/na/wcna_01.tif, and the symbolic link is at ./data/wcna_01.tif, relative to the QGIS .qgz project file. I thought that the problem was using symbolic links, so I added one of the rasters using the full path to the file on the second hard drive. When I saved the project, closed and re-opened it, this layer was also listed as unavailable, with the same path listed for the corresponding symbolic linked file. Then I discovered that projects can be set to use absolute or relative paths. This project had been set to relative (the default). So I changed it to absolute, and corrected the datasource for one of my unavailable layers. That worked for the session, but after saving and reloading, the path had been stored as /home/tws/enm/worldclim/na/wcna_01.tif, which is an absolute path, but not the correct one (see above). The rasters and shapefiles that I created as part of this project, saved in the same directory as the .qgz file, work fine, and are available between QGIS sessions. Is it not possible to have files on different physical hard drives in the same project? Have I done something wrong here? Best, Tyler -- plantarum.ca _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user