[Qgis-user] Style menu: data-defined color

Lene Fischer lfi at ign.ku.dk
Wed Jul 23 08:09:52 PDT 2014


Hi Julian,
It is called classification - se in the training manual http://docs.qgis.org/2.2/en/docs/training_manual/vector_classification/index.html




Lene Fischer
Associate Professor

Department of Geosciences and Natural Resource Management
University of Copenhagen

MOB +45 40115084
lfi at ign.ku.dk<mailto:lfi at ign.ku.dk>


[SCIENCE_bomaerke_UK]


Fra: qgis-user-bounces at lists.osgeo.org [mailto:qgis-user-bounces at lists.osgeo.org] På vegne af Julian Schall
Sendt: 23. juli 2014 12:04
Til: qgis-user at lists.osgeo.org
Emne: [Qgis-user] Style menu: data-defined color

Hi,

maybe a simple question, but I couldn't find the answer on my own: How can I automatically change the color of polygons by the content of an attribute table column?
For Example: Polygonlayer with 3 objects. Object 1 and 2 have "value1" in the column "value" and object 3 has "value3" there. Now QGIS should fill polygon 1 and 2 in one color and polygon 3 in another.
I tried it with data-defined properties-->check color and choose "value" for field but then all polygons are black. Do I have to write a special expression?

Thanks for help!

Regards

Julian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140723/3874b38c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 5594 bytes
Desc: image001.jpg
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140723/3874b38c/attachment.jpg>


More information about the Qgis-user mailing list