- changed status to closed
Unknown Filetype in Layers Panel prohibits Box start
Issue #106
closed
Having a Tile Server (XYZ) layer in Layer Panel prohibits loading of Enmap Box. Ideally it should just skip them and load anyway.
2018-03-23T15:30:47 1 Traceback (most recent call last):
File "C:/Users/geo_fath/.qgis2/python/plugins\enmapboxplugin\enmapboxplugin.py", line 81, in run
self.enmapBox = EnMAPBox(self.iface)
File "C:\Users\geo_fath\.qgis2\python\plugins\enmapboxplugin\enmapbox\gui\enmapboxgui.py", line 275, in __init__
self.dataSourceManager = DataSourceManager()
File "C:\Users\geo_fath\.qgis2\python\plugins\enmapboxplugin\enmapbox\gui\datasourcemanager.py", line 991, in __init__
self.updateFromQgsMapLayerRegistry()
File "C:\Users\geo_fath\.qgis2\python\plugins\enmapboxplugin\enmapbox\gui\datasourcemanager.py", line 1051, in updateFromQgsMapLayerRegistry
added = [self.addSource(lyr) for lyr in mapLayers]
File "C:\Users\geo_fath\.qgis2\python\plugins\enmapboxplugin\enmapbox\gui\datasourcemanager.py", line 1109, in addSource
dataSources = DataSourceFactory.Factory(dsOld, name=name, icon=icon)
File "C:\Users\geo_fath\.qgis2\python\plugins\enmapboxplugin\enmapbox\gui\datasources.py", line 245, in Factory
ds = gdal.Open(uri)
File "C:\Users\geo_fath\OSGeo\apps\Python27\lib\site-packages\osgeo\gdal.py", line 2906, in Open
return _gdal.Open(*args)
RuntimeError: `type=xyz&url=http://mt.google.com/vt/lyrs%3Ds%26x%3D%7Bx%7D%26y%3D%7By%7D%26z%3D%7Bz%7D' does not exist in the file system, and is not recognized as a supported dataset name.
Same with WMS Layer
2018-03-23T15:38:46 1 Traceback (most recent call last):
File "C:/Users/geo_fath/.qgis2/python/plugins\enmapboxplugin\enmapboxplugin.py", line 81, in run
self.enmapBox = EnMAPBox(self.iface)
File "C:\Users\geo_fath\.qgis2\python\plugins\enmapboxplugin\enmapbox\gui\enmapboxgui.py", line 275, in __init__
self.dataSourceManager = DataSourceManager()
File "C:\Users\geo_fath\.qgis2\python\plugins\enmapboxplugin\enmapbox\gui\datasourcemanager.py", line 991, in __init__
self.updateFromQgsMapLayerRegistry()
File "C:\Users\geo_fath\.qgis2\python\plugins\enmapboxplugin\enmapbox\gui\datasourcemanager.py", line 1051, in updateFromQgsMapLayerRegistry
added = [self.addSource(lyr) for lyr in mapLayers]
File "C:\Users\geo_fath\.qgis2\python\plugins\enmapboxplugin\enmapbox\gui\datasourcemanager.py", line 1109, in addSource
dataSources = DataSourceFactory.Factory(dsOld, name=name, icon=icon)
File "C:\Users\geo_fath\.qgis2\python\plugins\enmapboxplugin\enmapbox\gui\datasources.py", line 245, in Factory
ds = gdal.Open(uri)
File "C:\Users\geo_fath\OSGeo\apps\Python27\lib\site-packages\osgeo\gdal.py", line 2906, in Open
return _gdal.Open(*args)
RuntimeError: `contextualWMSLegend=0&crs=EPSG:25833&dpiMode=7&featureCount=10&format=image/jpeg&layers=0&styles=&url=http://fbinter.stadt-berlin.de/fb/wms/senstadt/k_luftbild2017_rgb' does not exist in the file system, and is not recognized as a supported dataset name.
Comments (1)
-
- Log in to comment