[Qgis-developer] Work with WMS servers in Python

G. Allegri giohappy at gmail.com
Thu Aug 23 10:00:33 PDT 2012


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

giovanni

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

2012/8/23 Alexander Bruy <alexander.bruy at gmail.com>

> 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
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120823/9fab429d/attachment-0001.html>


More information about the Qgis-developer mailing list