[Qgis-developer] Rule based renderer and colours

Chris Crook ccrook at linz.govt.nz
Fri Apr 12 23:57:10 PDT 2013


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.


More information about the Qgis-developer mailing list