Re: [Qgis-developer] Detect whether layer is from QGIS Server

2016-07-12 Thread Tom Chadwin
Perfect - thank you so much for the help! Tom -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Detect-whether-layer-is-from-QGIS-Server-tp5275824p5275883.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. _

Re: [Qgis-developer] Detect whether layer is from QGIS Server

2016-07-12 Thread Alessandro Pasotti
On Tue, Jul 12, 2016 at 10:31 AM, Tom Chadwin wrote: > Thanks - I'll try it. What do I detect in the response to know it's QGIS > Server? In fact, does someone have a publicly accessible QGIS Server I can > issue that request to? > > Thanks > > Tom > > I think that you could check that the serve

Re: [Qgis-developer] Detect whether layer is from QGIS Server

2016-07-12 Thread Tom Chadwin
Thanks - I'll try it. What do I detect in the response to know it's QGIS Server? In fact, does someone have a publicly accessible QGIS Server I can issue that request to? Thanks Tom -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Detect-whether-layer-is-from-QGIS-Server-t

Re: [Qgis-developer] Detect whether layer is from QGIS Server

2016-07-12 Thread Alessandro Pasotti
On Tue, Jul 12, 2016 at 12:32 AM, Tom Chadwin wrote: > I need to detect whether a QGIS WMS layer is from QGIS Server, rather than > another WMS server: > > https://github.com/tomchadwin/qgis2web/issues/306 > > What's my best method? Search for "qgis_mapserv" in the layer's URL? > Something else?

[Qgis-developer] Detect whether layer is from QGIS Server

2016-07-11 Thread Tom Chadwin
I need to detect whether a QGIS WMS layer is from QGIS Server, rather than another WMS server: https://github.com/tomchadwin/qgis2web/issues/306 What's my best method? Search for "qgis_mapserv" in the layer's URL? Something else? -- View this message in context: http://osgeo-org.1560.x6.nabb