How to resolve Google Maps python error?
There are times when I want to activate Google Maps after having activated a few layers but this Python Error message comes up. I am no programmer so do not know what is happening? Deleting the vector files also does not remove the message. However closing QGIS and re-activating QGIS seems to solve that problem. It seems like Google Maps wants to be given first go then everything seems alright. Do not ask me why but so far, closing QGIS and switching it back again does the trick.
That's a bit hard to do with just a picture. It would be nice if you post the actual error messages, too.
ReplyDeleteOK, here it is the error message -
DeleteAn error has occured while executing Python code:
Traceback (most recent call last):
File "/home/user/.qgis//python/plugins/openlayers/openlayers_plugin.py", line 48, in addLayer
self.__plugin.addLayer(self)
File "/home/user/.qgis//python/plugins/openlayers/openlayers_plugin.py", line 187, in addLayer
self.__setMapSrsGoogle()
File "/home/user/.qgis//python/plugins/openlayers/openlayers_plugin.py", line 230, in __setMapSrsGoogle
extMap = coodTrans.transform(extMap, QgsCoordinateTransform.ForwardTransform)
QgsCsException: forward transform of
(185.483603, -1263.798349)
PROJ.4: +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs +to +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs
Error: latitude or longitude exceeded limits
Python version:
2.7.3 (default, Aug 1 2012, 05:27:35)
[GCC 4.6.3]
QGIS version:
1.8.0-Lisboa Lisboa, exported
Python path: ['/usr/share/qgis/python', '/home/user/.qgis//python', '/home/user/.qgis//python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/ubuntuone-client', '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', '/usr/lib/python2.7/dist-packages/ubuntuone-couch', '/usr/lib/python2.7/dist-packages/ubuntuone-installer', '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol', '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode', '/home/user/.qgis/python/plugins/mmqgis/forms', '~/.qgis/python', '/usr/share/qgis/python/plugins/fTools/tools']
Error:latitude or longitude exceeded limits....looks like coordinate out of range.. maybe problem with datum transformation from rso kertau to wgs84. Your coordinate kat bawah tu looks like RSO..
ReplyDeleteI really admire how you decipher all that. Banyak terima kasih.
Delete