Hello All -

Thanks for all the responses with my projection question! I knew I was missing something simple.

I've just loaded the OpenLayer plugin but am getting the following python error when trying to load a Google satellite image (I'm currently working in Tanzania, if that matters) (also, I have other data already loaded into the map, as the tutorial recommended - it happens to be in CRS WGS84):

An error has occured while executing Python code:

Traceback (most recent call last):
File "C:/Users/dell/.qgis/python/plugins\openlayers\openlayers_layer.py", line 102, in draw
    self.render(rendererContext)
File "C:/Users/dell/.qgis/python/plugins\openlayers\openlayers_layer.py", line 156, 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

Python path: ['C:/PROGRA~1/Quantum GIS Wroclaw/apps/qgis/./python', 'C:/Users/dell/.qgis/python', 'C:/Users/dell/.qgis/python/plugins', 'C:/PROGRA~1/Quantum GIS Wroclaw/apps/qgis/./python/plugins', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\bin\\python27.zip', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\DLLs', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib\\plat-win', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib\\lib-tk', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\qgis\\bin', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib\\site-packages', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib\\site-packages\\PIL', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib\\site-packages\\win32', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib\\site-packages\\Pythonwin', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\qgis\\python\\plugins\\fTools\\tools']

I don't know the first thing about programming, so I would appreciate any help on this matter!

Thanks!

Christy M. Ihlo
Intern, African People and Wildlife Fund
Noloholo Environmental Center, Loibor Siret, Tanzania




_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to