Classification Workflow with geopackage vectorlayer error

Issue #510 resolved
Benjamin Jakimow created an issue

Classification Workflow fails to use a geopackage vector layer

Warning 1: VSIFSeekL(xxx, SEEK_END) may be really slow on GZip streams.
C:\Users\geo_beja\Repositories\QGIS_Plugins\enmap-box\enmapbox\externals\qps\externals\pyqtgraph\widgets\VerticalLabel.py:50: DeprecationWarning: an integer is required (got type Alignment).  Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.
  self.hint = p.drawText(rgn, align, self.text())
Traceback (most recent call last):
  File "C:\Users\geo_beja\Repositories\QGIS_Plugins\enmap-box\enmapbox\coreapps\enmapboxapplications\classificationapp\core.py", line 160, in initClasses
    saveLayerAsClassification(
  File "C:\Users\geo_beja\Repositories\QGIS_Plugins\enmap-box\hubdsm\processing\savelayerasclassification.py", line 112, in saveLayerAsClassification
    ogrLayer = OgrLayer.open(qgsMapLayer.source())
  File "C:\Users\geo_beja\Repositories\QGIS_Plugins\enmap-box\hubdsm\core\ogrlayer.py", line 29, in open
    return OgrVector.open(filename=filename).layer(nameOrIndex=layerNameOrIndex)
  File "C:\Users\geo_beja\Repositories\QGIS_Plugins\enmap-box\hubdsm\core\ogrvector.py", line 22, in open
    ogrDataSource = gdal.OpenEx(filename, gdal.OF_VECTOR)
  File "F:\miniconda3\envs\qgis_stable\lib\site-packages\osgeo\gdal.py", line 3312, in OpenEx
    return _gdal.OpenEx(*args, **kwargs)
RuntimeError: `C:\Users\geo_beja\Repositories\QGIS_Plugins\enmap-box\enmapboxtestdata\vectordata.gpkg|layername=landcover_berlin_point' does not exist in the file system, and is not recognized as a supported dataset name.

Comments (6)

  1. Log in to comment