gradient in legend

Frank Warmerdam warmerdam at POBOX.COM
Tue Sep 5 14:40:32 EDT 2006


luca marletta wrote:
> Hi list,
> I'm taking advantage of the gradient functionality in class for the
> first time and it works great
> 
>        CLASS
>                STYLE
>                        COLORRANGE 255 255 255 100 0 0 # bianco a rosso 
> scuro
>                        DATARANGE 100.0 30000.0
>                        RANGEITEM "res_mf"
>                END
>                STYLE
>                        #COLOR 175 175 190
>                        OUTLINECOLOR 45 45 110
>                END
>        END
> 
> Just whit this class I define all.
> here the example
> http://pmapper.beopen.it/?dg=areeurbane&me=1485979.4421698,5019630.983702,1551289.1569025998,5058787.2606346&language=it 
> 
> 
> But how can I have the range describe into legend?
> There is no-more NAME for each class from it would take the definitions?
> 
> Could someone give me an hint, please?

Luca,

To the best of my knowledge, we haven't yet implemented support for
color range bars in legends.  So you are pretty much stuck having to
fake it somehow.

Sorry...

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the mapserver-users mailing list