Feature request #15411
Option to automatically save style together with layer
|Pull Request or Patch supplied:||No||Resolution:|
|Easy fix?:||No||Copied to github as #:||23340|
it would be nice if there could be a option in settings to automatically attach style applied to current layer when saving it. I know there is manual approach - saving style as *.qml file with same name as particular layer but would be more comfortable if this could be done automatically. Or maybe some feature to generate qml files for layer opened in current project...
#2 Updated by Jan Helebrant about 4 years ago
Harrissou Santanna wrote:
Layer Properties --> Style (drop-down list) --> Save as default, Doesn't it work?
It works but it does not solve my task. I often need to share data with other users. For a whole project it is not problem to prepare styles and save to project. However, for a particular files - shapefiles, rasters etc. I currently have to export style in *.qml for every single layer manually and make sure the style uses the same name as layer. The same when I save particular layer with different name.
My idea was to have option - checkbox or something similar in settings like "automatically save current layer style with layer" so when you save "CR_UTM33N" you would get:
So when other user gets the data from me the style would be automatically loaded with the layer. This could make the task much easier - at least for me. :-)