-
-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QEP 71: Save/restore colorramp name for singleband pseudocolor renderer #71
Comments
+1 that always seemed strange to me On Thu, 8 Sep 2016 10:23 pm Alexander Bruy notifications@github.com wrote:
|
+1 that could be really useful |
+1 that issue has frequently caused me problems. I hope it will be fixed. |
Merged in master in qgis/QGIS@2497375 |
QGIS Enhancement 71: Save/restore colorramp name for singleband pseudocolor renderer
Date 2016/09/08
Author Alexander Bruy (@alexbruy)
Contact alexander dot bruy at gmail dot com
Maintainer @alexbruy
Version QGIS 3.0
Summary
Currently "Singleband Pseudocolor" renderer does not save name of the color ramp used for classification. So when user worked with multiple rasters and wants to modify classification settings for one of the rasters, he may forgot which color ramp was used for current raster.
Proposed Solution
This can be fixed easily by saving not only color map but also name of the original color ramp used for classification. Name of the color ramp also should be exported to the QML file and restore from it when style applied to raster layer.
Draft implementation can be found at https://github.com/alexbruy/QGIS/tree/save-colorramp
Affected Files
Affected files are:
Also
colorrampshader
element of the QML files will be modified with addition of new attribute containing name of the color ramp.Backwards Compatibility
Backward compatibility will be kept. New QML files will have additional attribute, if this attribute is not found — default color ramp will be used.
Votes
(required)
The text was updated successfully, but these errors were encountered: