Raster Legend Entries without Classification

Bart van den Eijnden bartvde at XS4ALL.NL
Fri May 6 13:15:16 EDT 2005


Hi Frank,

cool. I had an open bug for this. I will update the bug report with your
e-mail.

legends for preclassified rasters:
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1015

Best regards,
Bart

On Fri, 06 May 2005 19:07:58 +0200, Frank Warmerdam <fwarmerdam at GMAIL.COM>
wrote:

> Folks,
>
> There has been a desire by raster users to be able to have an entry
> appear in legends for raster layers without having to force the raster
> layer to be rendered using classification.  In the past having a class
> on the raster would force the raster layer to be rendered using
> classification rules, instead of it's inherent colors - but a class
> was the only convenient way to have a layer appear in the legend.
>
> After discussion with Steve I have made a change in the GDAL
> based raster rendering to only use classification rules for rendering
> if at least one class has a non-NULL expression.   So, it should be
> no problem now to use a dummy class with a KEYIMAGE or other
> mechanism to get a legend entry for a raster layer without classifying
> it.
>
> This should become widely available in 4.6.0 beta2.
>
> Best regards,



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



More information about the mapserver-users mailing list