In IRC we updated the page with a CQL example (I did not understand that
Interpolate was causing problems as an example; I was just using it as an
example of how to use Parameter):

If you are interested the above interpolate function can be used as in
this CQL example (to repalce a lot of code you often use Rules for):

 Interpolate(POP_CNTRY,
0,'#ffffff',1000000,'#cccccc',10000000,'#9999aa',1000000000,'#5555ff',''linear','color')

Note the "table" parameter must have a minimum of 4 values to form an
interpolation range. The above example has 4 pairs forming three smooth
gradients. Choosing a different MODE would result in a smoother shift
between the gradients.

On 30 May 2011 14:46, Ben Caradoc-Davies <[email protected]>
> wrote:
> >
> > Can you please add a use-case of Interpolate?
>
>
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to