[Qgis-developer] Work with WMS servers in Python

Alexander Bruy alexander.bruy at gmail.com
Thu Aug 23 09:51:25 PDT 2012


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


More information about the Qgis-developer mailing list