<div dir="ltr"><div dir="ltr"><div>I wasn't aware that you can work around the backward compatibility problem by saving style files, but if that works you might find a processing algorithm to save default style could save you a lot of time.  The <a href="http://geoproc.com">geoproc.com</a> processing algorithms plugin has one, as well as another for saving and loading multiple styles.</div><div>And I posted another algorithm to save default style at:</div><div><a href="https://github.com/qgis/QGIS/issues/41471#issuecomment-1588467276">https://github.com/qgis/QGIS/issues/41471#issuecomment-1588467276</a></div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Date: Mon, 8 Jan 2024 15:16:31 +0000<br>
From: Richard McDonnell <<a href="mailto:richard.mcdonnell@opw.ie" target="_blank">richard.mcdonnell@opw.ie</a>><br>
To: Rigola C Jaume INFORMACIO DE BASE <<a href="mailto:jrigola@ajsabadell.cat" target="_blank">jrigola@ajsabadell.cat</a>><br>
Cc: "<a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a>" <<a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a>><br>
Subject: Re: [Qgis-user] How to convert qml style file from version<br>
        3.28.6 to 3.16.14<br>
Message-ID:<br>
        <<a href="mailto:DB9P189MB20515FD46DE4BE71FB18DBAA996B2@DB9P189MB2051.EURP189.PROD.OUTLOOK.COM" target="_blank">DB9P189MB20515FD46DE4BE71FB18DBAA996B2@DB9P189MB2051.EURP189.PROD.OUTLOOK.COM</a>><br>
<br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Hi Jaume,<br>
I'm making the assumption that your styling is saved in the Project File and not as a Style for the Layer itself.<br>
Might I suggest that you create a default style for each layer, this can easily be done by going to the Layer Properties and clicking on the Style button on the bottom Left and selecting Save as Default. This will result in a default style for the Layer so it doesn't matter what version of QGIS you use, or indeed what project you load the layer into, it will use the default style. You can also manually do this, by saving the style with the same name as the dataset.<br>
<br>
The same can be done for all layers, Vector or Raster. It will even do it for PostGIS Layers, saving the style in a new table called style in the public schema in your Database.<br>
<br>
I hope the above helps.<br>
Kind Regards,<br>
<br>
Richard<br>
<br>
<br>
<br>
<br>
--<br>
Richard McDonnell MSc GIS, FME Certified Professional<br>
FRM Data Management<br>
<br>
--<br>
Oifig na nOibreacha Poibl?<br>
Office of Public Works<br>
<br>
Sr?id Jonathan Swift, Baile ?tha Troim, Co na M?, C15 NX36<br>
Jonathan Swift Street, Trim, Co Meath, C15 NX36<br>
--<br>
M +353 87 688 5964 T +353 46 942 2409<br>
<a href="https://gov.ie/opw" rel="noreferrer" target="_blank">https://gov.ie/opw</a><br>
<br>
--<br>
To send me files larger than 30MB, please use the link below <a href="https://filetransfer.opw.ie/filedrop/richard.mcdonnell@opw.ie" rel="noreferrer" target="_blank">https://filetransfer.opw.ie/filedrop/richard.mcdonnell@opw.ie</a><br>
<br>
Email Disclaimer: <a href="https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/" rel="noreferrer" target="_blank">https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/</a><br>
<br>
--<br>
MSc GIS, FME Certified Professional<br>
<br>
--<br>
Oifig na nOibreacha Poibl?<br>
Office of Public Works<br>
<br>
Sr?id Jonathan Swift, Baile ?tha Troim, Co na M?, C15 NX36<br>
Jonathan Swift Street, Trim, Co Meath, C15 NX36<br>
--<br>
M +353 87 688 5964 T +353 46 942 2409<br>
https://<a href="https://gov.ie/opw" rel="noreferrer" target="_blank">https://gov.ie/opw</a><<a href="https://www.opw.ie" rel="noreferrer" target="_blank">https://www.opw.ie</a>><br>
<br>
--<br>
Email Disclaimer: <a href="https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/" rel="noreferrer" target="_blank">https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/</a><<a href="https://www.opw.ie/en/disclaimer/" rel="noreferrer" target="_blank">https://www.opw.ie/en/disclaimer/</a>><br>
From: QGIS-User <<a href="mailto:qgis-user-bounces@lists.osgeo.org" target="_blank">qgis-user-bounces@lists.osgeo.org</a>> On Behalf Of Rigola C Jaume INFORMACIO DE BASE via QGIS-User<br>
Sent: 08 January 2024 13:13<br>
To: '<a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a>' <<a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a>><br>
Subject: [Qgis-user] How to convert qml style file from version 3.28.6 to 3.16.14<br>
<br>
For reasons that are not relevant to this discussion I have two versions of QGIS installed on my Desktop (3.16.14-Hannover & 3.28.6-Firenze).<br>
<br>
I have realised that when a project is saved at 3.28.6-Firenze version, the symbology styles are lost if opened with QGIS 3.16.14-Hannover. I've browsed for solutions, and I read that that's an issue since version 3.22, but I couldn't find a way to solve it.<br>
<br>
Does anyone know how to save the layer stlyles on 3.28.6-Firenze  so they can be recovered on 3.16.14-Hannover? (Maybe a version conversor, or a QML file conversor)<br>
<br>
Many thanks in advance,<br>
<br>
Jaume<br>
</blockquote></div></div></div>