[mapserver-users] .img raster color expression

jdmorgan jdmorgan at unca.edu
Fri Jan 20 11:49:08 EST 2012


Hello,
I originally posted this is dev, but I think it might be more inline with the user forum.
I am working with a .img raster file.  It has It has attribute called
FORESTYPE as I can see it when I open it in a desktop GIS.  I would like
to key off of this value to define specific colors in a .map file.
However, I cannot seem to get this working.  Here is what I have:

CLASS
     NAME "test"
     EXPRESSION ([FORESTYPE]>  0)
     STYLE
         COLOR     255 255 255
     END
END

Any help would be greatly appreciated.

Thanks,

-- 
Derek @ NEMAC




More information about the mapserver-users mailing list