[Mapserver-users] raster legend

Matt Doggett mdoggett at coas.oregonstate.edu
Fri May 30 16:16:59 EDT 2003


Has anyone successfully rendered a legend for the classes in a raster
layer?

 As an example, I have a GRASS raster that contains a small number of
cell values (e.g. 0=none, 1=few, 2=many, 3=much, etc.) rendered from
GDAL and it displays in colors from red to green. But for the legend
icon there is just a blank white box. What I'd like is a colored box for
each category in the raster.

-Matt
(RedHat8.0, Apache2.0, Mapserver 3.6.4, Php4.2.3)

Matt Doggett
Spatial Climate Analysis Service
Oregon State University
316 Strand Ag Hall
Corvallis, OR 97331
(541)737-9153
mdoggett at coas.oregonstate.edu
 





More information about the mapserver-users mailing list