DESIS L1B raster is not behaving correctly in MapView and SpectralView
testet with: san_EnMAP\Rohdaten\EnMAP-Box external Sensor Products\desis\DESIS-HSI-L1B-DT1203190212_025-20191203T021128-V0210\DESIS-HSI-L1B-DT1203190212_025-20191203T021128-V0210-SPECTRAL_IMAGE.tif
- When opening the raster in a MapView, it is not zoomed to full extent. But, this can be done manually afterwards.
- When plotting a spectral profile, an error is raised. Most likely, the missing CRS is not correctly handled
Traceback (most recent call last):
File "D:\source\QGISPlugIns\enmap-box\enmapbox\gui\enmapboxgui.py", line 1175, in <lambda>
lambda crs, pt, c=canvas: self.setCurrentLocation(SpatialPoint(crs, pt), canvas)
File "D:\source\QGISPlugIns\enmap-box\enmapbox\gui\enmapboxgui.py", line 1608, in setCurrentLocation
self.loadCurrentMapSpectra(spatialPoint, mapCanvas)
File "D:\source\QGISPlugIns\enmap-box\enmapbox\gui\enmapboxgui.py", line 1225, in loadCurrentMapSpectra
panel.loadCurrentMapSpectra(spatialPoint, mapCanvas=mapCanvas, runAsync=runAsync)
File "D:\source\QGISPlugIns\enmap-box\enmapbox\externals\qps\speclib\gui\spectralprofilesources.py", line 2064, in loadCurrentMapSpectra
return self.mBridge.loadProfiles(spatialPoint, mapCanvas=mapCanvas, runAsync=runAsync)
File "D:\source\QGISPlugIns\enmap-box\enmapbox\externals\qps\speclib\gui\spectralprofilesources.py", line 1442, in loadProfiles
profileBlock.setPositions(geo_x, geo_y, layer.crs())
File "D:\source\QGISPlugIns\enmap-box\enmapbox\externals\qps\speclib\core\spectralprofile.py", line 1135, in setPositions
assert crs.isValid()
AssertionError
Also note that QGIS handles the L1B raster quite nicely:
Comments (6)
-
reporter -
reporter -
assigned issue to
-
assigned issue to
-
addresses
#712MapCanvas initializes on fule extent even for invalid CRSSigned-off-by: Benjamin Jakimow benjamin.jakimow@geo.hu-berlin.de benjamin.jakimow@geo.hu-berlin.de
→ <<cset 996074457b85>>
-
- changed status to resolved
resolves
#712Signed-off-by: Benjamin Jakimow benjamin.jakimow@geo.hu-berlin.de benjamin.jakimow@geo.hu-berlin.de
→ <<cset 7e3ee08a8d69>>
-
addresses
#712MapCanvas initializes on fule extent even for invalid CRSSigned-off-by: Benjamin Jakimow benjamin.jakimow@geo.hu-berlin.de benjamin.jakimow@geo.hu-berlin.de
→ <<cset 4407a971b593>>
-
resolves
#712Signed-off-by: Benjamin Jakimow benjamin.jakimow@geo.hu-berlin.de benjamin.jakimow@geo.hu-berlin.de
→ <<cset ac2ca82219d6>>
- Log in to comment