Re: [Qgis-developer] Work with WMS servers in Python

2012-08-23 Thread Alexander Bruy
I know about OWSLib, but IMHO it is better to create bindings. Only not sure is this correct way or not, this is provider code not core functionality. 2012/8/23 G. Allegri : > While QgsWmsProvider isn't exposed through SIP, I would use OWSLib [1] > > giovanni > > [1] http://geopython.github.com/O

Re: [Qgis-developer] Work with WMS servers in Python

2012-08-23 Thread G. Allegri
While QgsWmsProvider isn't exposed through SIP, I would use OWSLib [1] giovanni [1] http://geopython.github.com/OWSLib/ 2012/8/23 Alexander Bruy > Hi all. > > It is possible to add WMS layers from Python plugin using > QgsRasterLayer class. But seems there is no way to work > with server itse

[Qgis-developer] Work with WMS servers in Python

2012-08-23 Thread Alexander Bruy
Hi all. It is possible to add WMS layers from Python plugin using QgsRasterLayer class. But seems there is no way to work with server itself, e.g request list of layers, available CRS and formats. As I understand, to make this possible we need to expose QgsWmsProvider in SIP bindings. Maybe there