Can somebody tell me how to use a colorrange in Mapserver? Based on some research, I have the following in my mapfile. Unfortunately my raster shows up in grey scale.<br><br>MAP<br> SIZE 800 500<br> UNITS dd<br>
<br> EXTENT -123.893740048754 46.1485674734785 -123.773066332134 46.2230446882423<br><br> PROJECTION<br> "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"<br> END<br><br> IMAGECOLOR 255 255 255<br>
IMAGEQUALITY 95<br> IMAGETYPE png<br><br> OUTPUTFORMAT<br> NAME png<br> DRIVER "GD/PNG"<br> MIMETYPE "image/png"<br> IMAGEMODE RGBA<br>
EXTENSION "png"<br> END<br><br> LAYER<br> NAME "Gradient"<br> TYPE RASTER<br> DATA "/tmp/grid5m7rmd.tif"<br> STATUS DEFAULT<br>
PROJECTION<br> "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"<br> END<br> CLASS<br> STYLE<br> COLORRANGE 0 255 255 255 255 0<br>
DATARANGE 0.0 100.0<br> RANGEITEM "[pixel]"<br> END<br> END<br> END<br>END<br><br>I am using Mapserver 4.8.1.<br>
<br>Thanks!<br>