Re: [Qgis-user] Using QgsAuthManager

2019-07-26 Thread Luigi Pirelli
d the QgsRasterLayer function just be > accepting a ByteArray or String? > > > > Thanks, > > Paul > > > > *From:* Paul Wittle > *Sent:* 26 July 2019 08:23 > *To:* DelazJ > *Cc:* qgis-user@lists.osgeo.org > *Subject:* RE: [Qgis-user] Using QgsAuthManag

Re: [Qgis-user] Using QgsAuthManager

2019-07-26 Thread Paul Wittle
it doesn’t work and neither does quir.uri(False) so what should I be using there or should the QgsRasterLayer function just be accepting a ByteArray or String? Thanks, Paul From: Paul Wittle Sent: 26 July 2019 08:23 To: DelazJ Cc: qgis-user@lists.osgeo.org Subject: RE: [Qgis-user] Using Qgs

Re: [Qgis-user] Using QgsAuthManager

2019-07-26 Thread Paul Wittle
the other lines once others have confirmed my interpretations are correct; they compiled but that doesn’t mean I got them right! Thanks, Paul From: DelazJ Sent: 24 July 2019 23:25 To: Paul Wittle Cc: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] Using QgsAuthManager Hi, Le mer. 24 juil. 20

Re: [Qgis-user] Using QgsAuthManager

2019-07-24 Thread DelazJ
Hi, Le mer. 24 juil. 2019 à 14:20, Paul Wittle a écrit : > Hi, > > > > I’m trying to use python to assign an authentication configuration to a > WMS layers that I’m adding. I have been using the following guide > https://docs.qgis.org/3.4/en/docs/pyqgis_developer_cookbook/authentication.html#lea

Re: [Qgis-user] Using QgsAuthManager

2019-07-24 Thread Paul Wittle
Hi, Thanks for the hint; unfortunately I’m still on version 3.4.7 and that plugin requires version 3.6 or above. Thanks, Paul From: Alessandro Pasotti Sent: 24 July 2019 13:22 To: Paul Wittle Cc: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] Using QgsAuthManager Hi, you may try this

Re: [Qgis-user] Using QgsAuthManager

2019-07-24 Thread Alessandro Pasotti
Hi, you may try this nice plugin from Richard: http://plugins.qgis.org/plugins/qgisnetworklogger/ On Wed, Jul 24, 2019 at 2:19 PM Paul Wittle < paul.wit...@dorsetcouncil.gov.uk> wrote: > Hi, > > > > I’m trying to use python to assign an authentication configuration to a > WMS layers that I’m add

[Qgis-user] Using QgsAuthManager

2019-07-24 Thread Paul Wittle
Hi, I'm trying to use python to assign an authentication configuration to a WMS layers that I'm adding. I have been using the following guide https://docs.qgis.org/3.4/en/docs/pyqgis_developer_cookbook/authentication.html#leave-authcfg-expansion-to-qgsauthmanager. I had to update a few bits as