[Qgis-user] QGIS server and pg_service.conf
Thomas Schüttenberg
thomas at qgis.de
Thu Sep 6 03:36:59 PDT 2018
Hi there!
I wonder if/how the QGIS server (2.18) is able to use PostgeSQL service connection files [1].
I have a project file with postgis layers, that are connected via the service parameter (instead of hostname/port...). These are defined in pg_service.conf and work.
When I serve this project with QGIS server 2.18 as wms, connecting the wms (in QGIS desktop) works, but it does not contain any layers.
A WMS made from the same project and datasource but with full database credentials works als usual.
Thanks for any hint, maybe I just miss something.
Cheers
Thomas
More information about the Qgis-user
mailing list