Re: [Qgis-user] qlr of spatialite database layer not showing when database is on network drive

2019-03-22 Thread Reginald
Thanks Robert,

I tried loading a gpkg layer from a qlr file and it succeeds but the styling
is messed up.
 
Using simple styling it renders ok.

Regards,





--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] qlr of spatialite database layer not showing when database is on network drive

2019-03-21 Thread Robert Nuske

Hi Reginald,

SQLite has problems writing on Network File Systems/Samba Shares due to 
the poor support for locking. I remember one case where this was 
"handled" by writing to a local SQLite file and replace the SQLite file 
on the network drive with the local SQLite file after writing finished.



See for instance
https://trac.osgeo.org/gdal/wiki/UserDocs/SQLite
https://www.sqlite.org/faq.html#q5


cheers
  robert (who run into the same problem)


Am 21.03.19 um 16:01 schrieb Reginald:

Hello list,

Exporting a spatialite layer to a qlr file when the layer resides in a
database on a network drive fails every time I try it.
When I copied this database to my C drive in windows the qlr file shows up
as it should.
I have compared the two files and the only difference was the drive letter
(in this case C was F).
I tried different notations to acces the network drive (backward slashes ,
double backward slashes, network acces notation ...) no luck .

Any ideas why this is not working?

Regards,



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] qlr of spatialite database layer not showing when database is on network drive

2019-03-21 Thread Reginald
Hello list,

Exporting a spatialite layer to a qlr file when the layer resides in a
database on a network drive fails every time I try it.
When I copied this database to my C drive in windows the qlr file shows up
as it should.
I have compared the two files and the only difference was the drive letter
(in this case C was F).
I tried different notations to acces the network drive (backward slashes ,
double backward slashes, network acces notation ...) no luck .

Any ideas why this is not working?

Regards,



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user