[Qgis-user] Use of embedded styling

Bo Victor Thomsen bo.victor.thomsen at gmail.com
Thu Sep 16 00:41:34 PDT 2021


Hi list -

I've been experimenting with the new "embedded styling" facility in QGIS 
3.20 and used it on a number of MapInfo Tab files. And it woks amazingly 
well. Using "Embedded Symbols" as symbology type, the TAB based layers 
look exactly the same in QGIS as in MapInfo. Even the symbology of point 
objects is spot on (because I have a - long, unused - MapInfo 
installation lurking on my pc with its TrueType Symbol fonts).

However, I would like to convert to a "normal" categorized symbolisation 
, because I want to export the tab layer to another format and keep the 
styling.

So I want to add the OGR Feature Style text for each object into a text 
column for the layer. And using this column as the categorization column.

So (at last) the question: Is it possible to get the "OGR Feature Style" 
definition from data formats that supports embedded styling? Perhaps as 
an expression variable, so the OGR feature style text could be saved 
into a field and subsequently used as a categorization field ?

Alternatively, some (maybe Python based) method to get a text 
representation of style definition for each and every object in a layer??

-- 
Med venlig hilsen / Kind regards

Bo Victor Thomsen



More information about the Qgis-user mailing list