3

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

4
  • 1
    Have you got any generic geometry columns in your geopackage? May 20 '19 at 7:01
  • You mean like length or area? I have. May 20 '19 at 10:23
  • 1
    Did you and the other people are using the same letter for the network folder ? if you use something like "S:\SomePath\QGISFolder" and other use "V:\SomePath\QGISFolder" this could be the issue
    – J.R
    Jun 19 '19 at 8:42
  • What operating system and version are you using?
    – Simbamangu
    Oct 24 '19 at 8:07
1

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
4
  • The .gpkg file is in the same folder as the .qgs file. Both are on a shared network directory. The only difference is that I have read and write permissions while the others don't. May 20 '19 at 10:25
  • I see, thanks for clarifiyng, that excludes some solutions. I would suggest to edit the original question, stating that also gpkg files are network accessible from your colleagues (as opposed as only the qgs file only).
    – RafDouglas
    May 20 '19 at 10:37
  • If you grant your colleagues write privileges to a single file (to test) will that file be still in the list of unavailable layers?
    – RafDouglas
    May 20 '19 at 10:38
  • @geopackage80 Are you accessing the files using a mapped network drive or with the network path?
    – Techie_Gus
    Feb 26 at 9:37

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.