Bug report #21880

Style file (QML) can't be used to add styles to rasters

Added by Josin Tharian over 5 years ago. Updated over 5 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Decorations
Affected QGIS version:3.6.1 Regression?:No
Operating System:Windows 10 Easy fix?:Yes
Pull Request or Patch supplied:No Resolution:duplicate
Crashes QGIS or corrupts data:No Copied to github as #:29695

Description

When styling raster files using QML file through 'Load style' button in Symbology panel, after clicking OK or Apply button, a default style gets applied and QML file is discarded.


Loading Style from QML file


After clicking the apply button

The only work around is to rename the style file to the same name as raster and place it in same folder. Still if you click ok or Apply button in symbology panel, the style changes to a default one.


Related issues

Duplicates QGIS Application - Bug report #21611: QGis 3.4 fails to apply style file to rasters Open 2019-03-18

History

#1 Updated by Giovanni Manghi over 5 years ago

#2 Updated by Giovanni Manghi over 5 years ago

  • Resolution set to duplicate
  • Status changed from Open to Closed

Also available in: Atom PDF