[Qgis-user] Define ID for colour
Raymond Nijssen
r.nijssen at terglobo.nl
Wed Oct 6 03:41:07 PDT 2021
Hi Dario,
Recently I have been searching for something similar. A customer made a
classification with (many) nice human readable labels and wanted to add
those in a column in the attribute table. I could not find a
feature.getClass() or feature.getSymbology() or something. I think this
only works the other way around, while rendering maps and legends.
Would still like to know if there's a way!
Kind regards,
Raymond
On 06-10-2021 12:10, Dario C wrote:
> Hi,
> Is there any way to assign an ID to a category in order to use the same
> color assigned for other objects?
>
> For instance, I'd like to have in my layout a bar with the same colour
> of a categorized object (at the moment I simply do a copy and paste
> colour, but, of course if I change the colour of the object my bar is
> not updated).
>
> Thank you in advance
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
More information about the Qgis-user
mailing list