Lene,
It will depend on your attributes and how you have set it up, but, under *Layer Properties*, *Style* the colours can be set using the *Data defined override* option (Form Icon) Click on this and select Edit, from her you can create the variables you want. On the right you will see a group called Colour, depending on how you specify your colour will depend on how you use this. For example say you have RGB values in three diferent columns, select *Colour* and then *colour_rgb* this will add *color_rgba(* to your expression, then using *Fields and Values*, select the appropriate Red, Green and Blue attributes from the table and close the brackets you should have something like *color_rgba("red", "green", "blue") *you will know it has worked, as the *Output Preview *on the bottom left will display the RGB value. Similarly, if you have a single column for your RGB (formatted correctly) the same formula would be used, buy you would have a single field (column) in the expression.
Hope this is clear!
Regards,

Richard.





On 05/07/2016 10:53, Lene Fischer wrote:

Hi,

Looking for a tutorial for colorizing with values from the attribute table.

I have the RGB values, but can´t find a way to use it…

Forund this old one – but the functions has changed a lot since. http://shreshai.blogspot.dk/2014/10/display-with-color-symbology-from-data.html

Ragards

*Lene Fischer*

Associate Professor

*University of Copenhagen*

Department of Geoscience and Natural Resource Management

Forest and Landscape College

Nødebovej 77a

3480 Fredensborg

Denmark

MOB +45 004540115084

_...@ign.ku.dk_ <mailto:l...@ign.ku.dk>



_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

--
*_Richard McDonnell_*
*GIS Specialist PgD GIS AssocSCSI*
*OPW FRM Data Management*
*52 Stephens Green, Dublin 2.*
TEL: 01 6476543

OPW - Ag féachaint don am atá le teacht - Ag caomhnú ón am atá thart
OPW - Looking to the future - Caring for the past

***********************************************************
Email Disclaimer: http://www.opw.ie/en/disclaimer/

_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to