On 09/25/2010 01:41 AM, Maurício de Paulo wrote:
---------- Forwarded message ----------
From: Maurício de Paulo<[email protected]>
Date: 2010/9/24
Subject: Re: [Qgis-user] Google Layers proxy
To: Ivan Mincik<[email protected]>


Ivan, reading some urllib2 I've implemented a simple aproach.
It's really buggy as I've inserted the code on the init() but it should
prove that it is possible.
I didn't test it yet as I'm not at work where there is a proxy.
Patch looks OK, but I have not any proxy to test either. I can't confirm or falsify if it is working well.

Actually it's harder to use qgis' proxy settings than to use the evironment
settings.
If I were to use environmental proxy settings then I would just need to
change from urllib to urllib2 (probably the best option).

I have changed urllib to urllib2. Seems to work without any change. If You can use 'environment settings' it can be easier way. I will upload it to repository ASAP. Currently I have some problem to connect to its web interface.

--
Ivan Mincik, Gista s.r.o.

_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to