While QgsWmsProvider isn't exposed through SIP, I would use OWSLib [1]

giovanni

[1]  http://geopython.github.com/OWSLib/

2012/8/23 Alexander Bruy <[email protected]>

> 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 is a better
> way to do this? Any hints are more than welcome.
>
> Thanks
> --
> Alexander Bruy
> _______________________________________________
> Qgis-developer mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to