TransWikia.com

Data source not found when opening .qgs file

Geographic Information Systems Asked by geopackage80 on November 26, 2020

I am using QGIS 3.6.1 with the new geopackage (.gpkg) format. When some of my co-workers open my .qgs-file, QGIS (same version as mine) does to not find the data source for most of the layers. Strangely, most of the layers appear 3 times. I get the same when I try to add a layer to my geopackage database. In my database, I can see only 1 layer with the same name.

When I open the .qgs-file, I don’t have any problems. My co-workers have read-only access to the folder where the .qgs-file is located. Maybe it has something to do with it?

How can I fix the data source problem?

example

One Answer

The .gpkg files are probably on a directory that only you can access (i.e. on your local hard drive, instead of on a shared network directory).

Try moving the .gpkg files to a place where they can also see the files, and with the same reference. A good idea, to avoid absolute-path issues, would be to have the source files (geopackages, shapefiles, etc) in a folder at the same level as your .qgs file.

* network_accessible_share:
   * yourfile.qgs
   * layers
      * abc_gesamt_def.gpkg
      * def_gesamt_ghi.gpkg
      * ghi_gesamt_jkl.shp

Answered by RafDouglas on November 26, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP