Sunday, 17 December 2017

qgis - Assign a specific color to vector layer based on RGB codes in attribute table


I use QGIS and have a geological map for a large area. I present this after ID codes based on the geology ("Geokartnr" in photo).


I want to use international/nation color codes for each rock type, this way it will be comparable to other peoples work. The international colors is already added to the attribute table as a RGB code ("RGBfargko"). Is there any way I can sort/present the maps by "geokartnr" code and present this by the color codes in the RGB codes in the attribute table? Or do I need to change all colors manually?


Screenshot of the attribute table




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...