Feature request #8718

Do not remove unavailable layers when opening project

Added by marisn - over 10 years ago. Updated about 5 years ago.

Category:Project Loading/Saving
Pull Request or Patch supplied:No Resolution:fixed/implemented
Easy fix?:No Copied to github as #:17436


Already for some time QGIS is offering a nice feature - to specify layer source if current source is wrong while opening a project. Unfortunately this feature has a downside - unavailable layers are removed from the project. Such behaviour makes impossible to work with a single project in on- and off-line situations if some of layers are available only on-line.

Not being able to visualize a WMS layer while being off-line is OK, but removing/adding after every opening of a project file or keeping two copies of project one for on-line and one for off-line use is annoying and cumbersome.

Better solution would be to allow to keep unavailable layers but keep them in a "disabled" state where only action available is "check layer availability and if it's still unavailable, ask user to specify data source". Thus it would be possible to use QGIS projects also in scenarios where some layers have limited availability (networked, removable disks etc.).

Related issues

Duplicated by QGIS Application - Feature request #19790: Handle Bad Layers - DISABLE instead of DELETE Closed 2018-09-06


#1 Updated by Giovanni Manghi almost 7 years ago

  • Easy fix? set to No

#2 Updated by Harrissou Santanna about 5 years ago

  • Resolution set to fixed/implemented
  • Status changed from Open to Closed
  • Description updated (diff)

#3 Updated by Harrissou Santanna about 5 years ago

Also available in: Atom PDF