Bug report #16500

QML style is not applied to a specific raster layer

Added by dr - over 7 years ago. Updated over 5 years ago.

Status:Feedback
Priority:Normal
Assignee:-
Category:Symbology
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:24406

Description

1) Open QGIS and add raster layer hrsl_bfa.tif
2) Properties - Style - Style - Load Style - qml/hrsl_bfa.qml. Layer appearance is changed at canvas. But when you click Apply - canvas becomes black.

Dataset: https://www.dropbox.com/s/lt595zahtlpnuhv/hrsl_bfa.zip?dl=0

History

#1 Updated by Giovanni Manghi over 7 years ago

  • Operating System deleted (Ubuntu)
  • Subject changed from QML style is not applied to raster layer to QML style is not applied to a specific raster layer

True.

Is also true that this happens for the specific linked raster, not in general.

On QGIS 2.14/2.18 trying opening the raster properties returns

std::bad_alloc

while on master properties open as expected.

I tried recreate the overviews and translate the raster with gdal at no avail.

#2 Updated by Giovanni Manghi over 5 years ago

  • Status changed from Open to Feedback

Please check if this issue is still valid on QGIS 3.4.5 or 3.6.

Also available in: Atom PDF