<div dir="ltr"><br><br>On Thu, 23 Nov 2023 at 20:51, Bo Victor Thomsen via QGIS-Developer <<a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a>> wrote:<br>><br>> Hi list -<br>><br>> I'm wondering about how to use embedded styling in certain types of file<br>> formats (like MapInfo Tab). I know its possible to read the embedded<br>> styling from a Tab fil and then convert it to a styling object in QGIS.<br>><br>> However, what about the other direction ? Take a specific QGIS style<br>> from the layer styling of a tab file, and and write the specific style<br>> into the feature, so it will be present if you later open the tab file<br>> in (gasp!) MapIno ?<div><br></div><div>There's an option in the right-click, Export - Save Features As dialog for "Symbology Export". This only shows up for some formats (depending on GDAL library support for that format), of which Mapinfo TAB is one. If you set this to anything other than "No Symbology" then ********** IN SOME CASES ********** the QGIS symbology will be written as the embedded symbols for the features.</div><div><br></div><div>The big disclaimer is that the GDAL api for embedding styles, AND the underlying format support is very limited compared with QGIS symbology options. Eg it'll work for embedding colored line symbols, but won't for shapeburst gradient fill polygons with data defined overrides 🤣! </div><div><br></div><div>There's likely many ways we could improve this at both the QGIS and GDAL levels to better handle the full range of symbology options possible in TAB files, and adding more graceful fallbacks from QGIS symbology to the limited symbology options possible in GDAL/TAB.</div><div><br></div><div>Nyall</div><div><br></div><div><br></div><div><br>><br>> The use case would be organisations that have a mixed environment of<br>> QGIS and MapInfo installations. It would allow QGIS users to create and<br>> update object in a .tab file and save the file. Later this file - if<br>> opened in MapInfo (or QGIS) - would be shown with the correct embedded<br>> styling.<br>><br>> --<br>> Med venlig hilsen / Best regards<br>><br>> Bo Victor Thomsen<br>><br>> _______________________________________________<br>> QGIS-Developer mailing list<br>> <a href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a><br>> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div></div>