[Qgis-developer] WMS layers and plugin interface
Tim Sutton
tim at linfiniti.com
Tue Jun 3 06:01:45 EDT 2008
Hi
One thing I dont like is specifying the proxy host on a per connection
basis. I makes more sense to me to specify proxy server on a
application global basis given the following:
- in most cases I have ever encountered if you are using a proxy, you
will use the same connection for all internet facing connections
- most proxies can differentiate between lan and wan connections and
behave appropriately
- if you are using e.g. a laptop in a proxy enabled network, and then
take your laptop home, you need to reconfigure your proxy setting for
every layer in every project
As such I would suggest we rather move setting proxy as a qgsoptions
item, and then when loading a layer from wfs/wms rather check if the
proxy is enabled in that session and use the qgsoptions defined
settings.
Regards
Tim
2008/6/3 Martin Dobias <wonder.sk at gmail.com>:
> On Tue, Jun 3, 2008 at 9:07 AM, Hugentobler Marco
> <marco.hugentobler at karto.baug.ethz.ch> wrote:
>> Hi QGIS devs,
>> Am I right that it is not possible to add WMS layers from plugins with the current plugin interface? There seems to be only
>>
>> virtual QgsRasterLayer* addRasterLayer(QString rasterLayerPath, QString baseName = QString())=0;
>>
>> for file-based raster layers. Would it be ok to add a similar function for WMS layers, e.g.
>
> Hi Marco,
>
> yes, it's not possible :-)
> feel free to add such function, it won't break anything.
>
> Martin
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
--
Tim Sutton
QGIS Project Steering Committee Member - Release Manager
Visit http://qgis.org for a great open source GIS
openModeller Desktop Developer
Visit http://openModeller.sf.net for a great open source ecological
niche modelling tool
Home Page: http://tim.linfiniti.com
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
More information about the Qgis-developer
mailing list