error when opening spectral library in GeoJSON format

Issue #1085 resolved
Andreas Janz created an issue

Open attached spectral library in SpectralLibraryViewer:

Profile plotting is not working:

Gives error message:

Traceback (most recent call last):
  File "D:\source\QGISPlugIns\enmap-box\enmapbox\qgispluginsupport\qps\speclib\gui\spectrallibraryplotwidget.py", line 947, in onSpeclibSelectionChanged
    self.updatePlot()
  File "D:\source\QGISPlugIns\enmap-box\enmapbox\qgispluginsupport\qps\speclib\gui\spectrallibraryplotwidget.py", line 501, in updatePlot
    featureRenderer = self.speclib().renderer().clone()
AttributeError: 'NoneType' object has no attribute 'clone'

Comments (2)

  1. Log in to comment