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
** [email protected] 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
******************************************************************************
<<attachment: winmail.dat>>
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
