QGIS 2.0 How to copy the color styling to a color column in a layer's attribute table

المشرف العام

Administrator
طاقم الإدارة
I have a polygon layer in QGIS that I have applied a random color style to each polygon. Under Layer Properties -> Style I selected a Categorized style and then generated a random color ramp. I added a color column to the layer table. Is there a way to automatically copy the color assigned in the style to the color column for each polygon in the form "#ff0000". Ultimately, I want to export it as a GeoJSON layer and import it into a leaflet map. The color column will set the color in leaflet.



أكثر...
 
أعلى