[GIS] Open QGIS project on different computers

macqgis

I have multiple QGIS projects that need to go to different computers. I put all the files on a USB and loaded it under "Documents" on the other computers like it is saved on my own computer.

However, when opening the projects on another computer the "Handle bad layers" window pops up. There are hundreds of files for each project.

I am wondering if there is a way to get around this without having to click on each file individually and finding the new location?

enter image description here

Best Answer

I think all the answer has been given with several clues. Either your target project and data paths do not match the source locations or you haven't changed the path setting and saved the project file before moving the whole project.

  1. The target location where you move your project and data must match the same directory structure as the source project and data location.
  2. For each project that you will move go to Menu bar > Project > Project Properties... On the dialog that pops up you must set the "Save paths" relative drop down.
  3. Click OK to save the general settings change.
  4. Save your project so that the project file changes.

Note if the general properties tab says that the setting is already relative, then try changing the drop down to absolute and save your project again. Go back and then change it to back to relative and save once more before moving the project file and data.

Related Question