Opening WMS Layer in new/existing map window failed

Issue #512 resolved
Eike Lie created an issue

Opening WMS layer in new/existing map window failed. though drag & drop works. (using latest developer version)

2020-09-24T12:30:32     WARNING    Traceback (most recent call last):
              File "C:/Users/s-eilief/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\gui\datasourcemanager.py", line 1123, in
              a.triggered.connect(lambda: self.openInMap(src, mapCanvas=mapDock, rgb='DEFAULT'))
              File "C:/Users/s-eilief/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\gui\datasourcemanager.py", line 1240, in openInMap
              ds = gdal.Open(lyr.source())
              File "C:\OSGEO4~1\apps\Python37\lib\site-packages\osgeo\gdal.py", line 3173, in Open
              return _gdal.Open(*args)
             RuntimeError: `type=xyz&url=https://mt1.google.com/vt/lyrs%3Ds%26x%3D%7Bx%7D%26y%3D%7By%7D%26z%3D%7Bz%7D&zmax=19&zmin=0' does not exist in the file system, and is not recognized as a supported dataset name.

Comments (7)

  1. Benjamin Jakimow
    • changed status to open

    Where did the drag operation start? E.g. the QGIS Layer Panel or the EnMAP-Box DataSource panel?

  2. Log in to comment