[Qgis-user] Idea's for runtime cleanup of giant rule base qml style?
Richard Duivenvoorde
rdmailings at duif.net
Wed Nov 12 08:47:14 PST 2025
Hi all,
We have a (generated) qml style with 1500 rules (all different fill images!).
Using that style is a PITA, slowing QGIS down very much.
After the style is loaded, around 90% of the style rules are not used (I think).
So my idea was to either clean up the rules after the loading (which already takes a long time).
OR use some python code to first find the distinct values (styles are simple: just one code), and then load the qml and only apply/select those rules needed...
OR something like: use categorical styling but take the symbols from this qml ???
Anybod a clever idea for this?
Or maybe some plugin?
Regards,
Richard Duivenvoorde
More information about the QGIS-User
mailing list