[Qgis-user] Problems with Open Layer plugin

Alexander Bruy alexander.bruy at gmail.com
Wed Mar 1 02:56:49 PST 2017


Or try native XYZ-layers support

2017-03-01 12:46 GMT+02:00 Richard Duivenvoorde <rdmailings at duif.net>:
> On 01-03-17 10:32, Andres Ocana Carreton wrote:
>> Hi!
>>
>> I am working with Qgis version 2.18.3.
>> When I charge a layer the Open Layers plugin I get this error of Phyton
>>
>> "Traceback (most recent call last):
>>
>> File
>> "C:/Users/deportes/.qgis2/python/plugins\openlayers_plugin\weblayers\weblayer.py",
>> line 100, in addLayer
>>
>> self._addLayerCallback(self)
>>
>> File
>> "C:/Users/deportes/.qgis2/python/plugins\openlayers_plugin\openlayers_plugin.py",
>> line 158, in addLayer
>>
>> self.setMapCrs(coordRefSys)
>>
>> File
>> "C:/Users/deportes/.qgis2/python/plugins\openlayers_plugin\openlayers_plugin.py",
>> line 206, in setMapCrs
>>
>> extMap = coordTrans.transform(extMap,
>> QgsCoordinateTransform.ForwardTransform)
>>
>> QgsCsException: transformación hacia adelante de
>>
>> (8380.092157, 75334.032658)
>>
>> PROJ.4: +proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0
>> +a +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 +no_defs
>>
>> Error: latitude or longitude exceeded limits"
>>
>>
>> Could you help me?
>
> I think you are working in a project which has OTF enabled (to
> epsg:4326?) and qgis now tries to reproject these coordinates back to 4326?
>
> Can you try with a new project or start a project with only an
> openlayers plugin?
>
> Regards,
>
> Richard Duivenvoorde
>
> ps or try the alternative: QuickMapServices plugin
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user



-- 
Alexander Bruy



More information about the Qgis-user mailing list