[Qgis-developer] Add WMS Layer by Plugin

Düster Horst Horst.Duester at bd.so.ch
Fri May 19 11:08:56 EDT 2006


I'm looking out for a method to add WMS Layer by plugin menue. 

It is very easy to add vector or raster layers to the canva with:
addVectorLayer( thePathNameQString, theBaseNameQString, theProviderQString);
addRasterLayer(thePathQString);

In the same way I want to add a WMS layer defined by:

add WMSLayer(theURLQString, theProxyHostQString, theProxyPortQString,
theProxyUserQString, theProxyPasswdQString,theWMSLayernameQString,
theWMSSRS);

Does a function like the above mentioned exists?

With best regards
 
Dr. Horst Düster 
GIS-Koordinator, Stv. Amtschef

Kanton Solothurn 
Amt für Geoinformation
Abteilung SO!GIS® Koordination
Rötistrasse 4
CH-4501 Solothurn 

Tel.: ++41 (0)32 627 25 32 
Fax: ++41 (0)32 627 22 14

horst.duester at bd.so.ch 
www.sogis.so.ch




More information about the Qgis-developer mailing list