Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm aware the 'traceback' OpenLayers plugin error has been dealt with before, so apologies for raising the issue once again. Unfortunately for me, the solutions posted were way over my head, e.g. using workarounds and code posted on github, etc. I find it all mind-boggling.

If anyone could post a step by step answer for an absolute beginner like me I would be eternally grateful! Thank you. I hope that one day I can contribute something.

The error message reads:

An error has occured while executing Python code:

Traceback (most recent call last):
  File "C:/Users/MCMA1580/.qgis//python/plugins\openlayers_plugin\openlayers_plugin.py", line 48, in addLayer
    self.__plugin.addLayer(self)
  File "C:/Users/MCMA1580/.qgis//python/plugins\openlayers_plugin\openlayers_plugin.py", line 190, in addLayer
    self.__setMapSrsGoogle()
  File "C:/Users/MCMA1580/.qgis//python/plugins\openlayers_plugin\openlayers_plugin.py", line 249, in __setMapSrsGoogle
    extMap = coodTrans.transform(extMap, QgsCoordinateTransform.ForwardTransform)
QgsCsException: forward transform of
(0.884883, 2.549197)
PROJ.4: +proj=longlat +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
share|improve this question
    
Worked very well for me, after identical problem, thank-you. –  user18548 Aug 26 '13 at 12:02
    
Please don't add "thank you" as an answer. Once you have sufficient reputation, you will be able to vote up questions and answers that you found helpful. –  user3461 Aug 26 '13 at 12:24

1 Answer 1

up vote 8 down vote accepted

Safest way to start the openlayers plugin is to

  • set the project CRS to EPSG:3857
  • make sure on-the-fly-projection is enabled
  • add the background openlayers layer you want
  • load other stuff that might have other layer CRS, like WGS84 in lat/lon degrees
  • save the project
share|improve this answer
    
Thanks!! I'll give that a go. –  Almac May 2 '13 at 15:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.