[Qgis-developer] Rule based renderer and colours

Nathan Woodrow madmanwoo at gmail.com
Sat Apr 13 00:17:35 PDT 2013


Chris,

Have you tried the new data defined properties in master.

Sent from some fancy phone looking thingo
From: Chris Crook
Sent: 13/04/2013 5:10 PM
To: qgis-developer at lists.osgeo.org
Subject: [Qgis-developer] Rule based renderer and colours
Hi

I really like the rule based renderer.  One thing that doesn't seem
easy though is to use the "colour" data defined property, as it isn't
clear (and possibly not easy) to generate an expression for a colour.

I am thinking it would be really useful to have a "Colour" section in
the function list, with at least two functions - rgb(x,y,z), and
ramp(name,value) (value from 0 to 1, or 0 to 100?).  Possibly one more
- rgba(x,y,z,a).  Then it would be very easy to build colours from
data.

I'm guessing this would be easy to do - any takers?  or pointers to
where to implement it?

Cheers
Chris

This message contains information, which is confidential and may be
subject to legal privilege. If you are not the intended recipient, you
must not peruse, use, disseminate, distribute or copy this message. If
you have received this message in error, please notify us immediately
(Phone 0800 665 463 or info at linz.govt.nz) and destroy the original
message. LINZ accepts no responsibility for changes to this email, or
for any attachments, after its transmission from LINZ. Thank You.
_______________________________________________
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the Qgis-developer mailing list