Re: [Qgis-developer] [Qgis-user] Problem Displaying Google Satellite Layer in QGIS 1.7.4 Using OpenLayer Plugin 0.93 on Windows 7

2012-09-21 Thread Bruce, Bob (CON)
Nathan,
Yes, I set up the proxy server properly. If I don't set it up then my 
connections to the plugin repositories and to WMS servers don't work and I've 
tested them and they work OK.

Right now I'm focusing on trying to identify ports or protocols that this 
plugin might be using that my Windows firewall might be blocking but I'm not 
making much progress so far. I'm using the Wireshark program for that.

Thanks,
Bob

-Original Message-
From: Nathan Woodrow [mailto:madman...@gmail.com] 
Sent: September-21-12 6:05 PM
To: Bruce, Bob (CON)
Cc: QGIS User List; Qgis-Developer; Hardisty, David (CON)
Subject: Re: [Qgis-user] Problem Displaying Google Satellite Layer in QGIS 
1.7.4 Using OpenLayer Plugin 0.93 on Windows 7

Bob,

Have you added you proxy settings in the Options->Network tab?
OpenLayers doesn't work for me at work if I don't do this.

- Nathan

On Sat, Sep 22, 2012 at 1:41 AM, Bruce, Bob (CON)  wrote:
> After doing more testing and investigation I have determined that the problem 
> lies somewhere in my corporate (government) IT environment. When I connect 
> the same computer to the internet through a FORTIGATE box that is 
> "tunnelling" through and ignoring proxy rules, etc. then it displays the 
> layers fine. Incidentally the Bing satellite layer in Winnipeg looks really 
> nice, but the Google satellite layer isn't too shabby either.
>
> Would the author of the OpenLayers plugin be possibly able to shed some light 
> on what in the IT environment might be preventing this plugin from working 
> properly?
>
> Thanks,
> Bob Bruce
>
> -Original Message-
> From: qgis-user-boun...@lists.osgeo.org 
> [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Bruce, Bob (CON)
> Sent: September-19-12 4:13 PM
> To: 'QGIS User List'
> Subject: [Qgis-user] Problem Displaying Google Satellite Layer in QGIS 1.7.4 
> Using OpenLayer Plugin 0.93 on Windows 7
>
> When I try and add a google satellite layer to my project, I get a python 
> error and traceback  as follows:
> An error has occured while executing Python code:
>
> Traceback (most recent call last):
>   File 
> "C:/Users/bbruce/.qgis/python/plugins\openlayers\openlayers_layer.py", line 
> 109, in draw
> self.render(rendererContext)
>   File 
> "C:/Users/bbruce/.qgis/python/plugins\openlayers\openlayers_layer.py", line 
> 164, in render
> olWidth = rendererContext.extent().width() / olRes
> UnboundLocalError: local variable 'olRes' referenced before 
> assignment
>
> Python version:
> 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]
>
>
> QGIS version:
> 1.7.4-Wroclaw Wroclaw, 411aff6 After I close this window, a QGIS 
> error window appears with the message: "Could not draw Google Satellite 
> because:" with no other text in it.
>
> I have one vector layer displayed, this has a CRS of 26914 (NAD83 UTM Zone 
> 14), my project has a CRS of 3857 (from reading list postings this seemed to 
> be the appropriate CRS to use) and I have "On the fly reprojection" enabled. \
>
> I can see my vector layer OK but not the google satellite layer. I have 
> verified that QGIS is communicating with the WWW by connecting to an external 
> WMS server.
>
> Can someone help me to get google satellite imagery working, please.
>
> Bob Bruce
>
> **
> **Bob Bruce, FEC, P.Eng. Geomatics Support Engineer
> **bob.br...@gov.mb.ca   Geospatial Technology Services Management
> **work # (204) 945-6636  GeoManitoba, Manitoba Conservation 
> and Water Stewardship
> **FAX  # (204) 945-1365 1007 Century Street,
> **  Winnipeg, Manitoba, 
> Canada, R3H 0W4
> **  49-54-31.85N,97-12-16.08W
> **
> ** Check out our digital maps at: http://mli2.gov.mb.ca/
> ** and WMS: http://mlidata.gov.mb.ca/wms/request.aspx
> **
>
>
>
> ___
> Qgis-user mailing list
> qgis-u...@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] [Qgis-user] Problem Displaying Google Satellite Layer in QGIS 1.7.4 Using OpenLayer Plugin 0.93 on Windows 7

2012-09-21 Thread Nathan Woodrow
Bob,

Have you added you proxy settings in the Options->Network tab?
OpenLayers doesn't work for me at work if I don't do this.

- Nathan

On Sat, Sep 22, 2012 at 1:41 AM, Bruce, Bob (CON)  wrote:
> After doing more testing and investigation I have determined that the problem 
> lies somewhere in my corporate (government) IT environment. When I connect 
> the same computer to the internet through a FORTIGATE box that is 
> "tunnelling" through and ignoring proxy rules, etc. then it displays the 
> layers fine. Incidentally the Bing satellite layer in Winnipeg looks really 
> nice, but the Google satellite layer isn't too shabby either.
>
> Would the author of the OpenLayers plugin be possibly able to shed some light 
> on what in the IT environment might be preventing this plugin from working 
> properly?
>
> Thanks,
> Bob Bruce
>
> -Original Message-
> From: qgis-user-boun...@lists.osgeo.org 
> [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Bruce, Bob (CON)
> Sent: September-19-12 4:13 PM
> To: 'QGIS User List'
> Subject: [Qgis-user] Problem Displaying Google Satellite Layer in QGIS 1.7.4 
> Using OpenLayer Plugin 0.93 on Windows 7
>
> When I try and add a google satellite layer to my project, I get a python 
> error and traceback  as follows:
> An error has occured while executing Python code:
>
> Traceback (most recent call last):
>   File 
> "C:/Users/bbruce/.qgis/python/plugins\openlayers\openlayers_layer.py", line 
> 109, in draw
> self.render(rendererContext)
>   File 
> "C:/Users/bbruce/.qgis/python/plugins\openlayers\openlayers_layer.py", line 
> 164, in render
> olWidth = rendererContext.extent().width() / olRes
> UnboundLocalError: local variable 'olRes' referenced before 
> assignment
>
> Python version:
> 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]
>
>
> QGIS version:
> 1.7.4-Wroclaw Wroclaw, 411aff6 After I close this window, a QGIS 
> error window appears with the message: "Could not draw Google Satellite 
> because:" with no other text in it.
>
> I have one vector layer displayed, this has a CRS of 26914 (NAD83 UTM Zone 
> 14), my project has a CRS of 3857 (from reading list postings this seemed to 
> be the appropriate CRS to use) and I have "On the fly reprojection" enabled. \
>
> I can see my vector layer OK but not the google satellite layer. I have 
> verified that QGIS is communicating with the WWW by connecting to an external 
> WMS server.
>
> Can someone help me to get google satellite imagery working, please.
>
> Bob Bruce
>
> **
> **Bob Bruce, FEC, P.Eng. Geomatics Support Engineer
> **bob.br...@gov.mb.ca   Geospatial Technology Services Management
> **work # (204) 945-6636  GeoManitoba, Manitoba Conservation 
> and Water Stewardship
> **FAX  # (204) 945-1365 1007 Century Street,
> **  Winnipeg, Manitoba, 
> Canada, R3H 0W4
> **  49-54-31.85N,97-12-16.08W
> **
> ** Check out our digital maps at: http://mli2.gov.mb.ca/
> ** and WMS: http://mlidata.gov.mb.ca/wms/request.aspx
> **
>
>
>
> ___
> Qgis-user mailing list
> qgis-u...@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer