3

Does anyone know why layers would continually be lost from a project and refuse to reload even though the project is regularly saved?

  • Which QGIS version you are using? – Master Bee Nov 16 '15 at 19:24
  • What kind of layers are they? Database, shapefile...? – Matthias Kuhn Nov 16 '15 at 20:45
  • Using QGIS 10. The layers are all saved as separate shapefiles (vector and raster) - and then the whole lot is saved as a project. What happens is that layers disappear when the project is opened, and with no apparent pattern, i.e. never the same layer is lost. – Claire Feldkamp Nov 18 '15 at 11:43
3

I can think of a few causes of this:

  • if the layers are "temporary scratch layers" or "memory layers" then they are NEVER saved, and will be discarded when the project is closed. In this case you'd need to manually save these layers as a permanent file format, eg shapefile.
  • if the layers are generated through an algorithm in the toolbox, and the output layer is set to Save to temporary file then the layer will also be deleted when QGIS is closed. You'd need to make sure you choose a proper output filename when running the algorithm.
  • A common GIS misconception is that saving the project will also save the data. Not the case, the project (or MXD for that matter) is just a bookmark to the data. The data itself needs to be saved separately as well. – HeikkiVesanto Nov 17 '15 at 0:03
  • I have to recommend the Memory Layer Saver plugin, so that memory layers are persisted across restarts. – Ian Turton Apr 21 at 8:55

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.