[mapserver-dev] .img raster color expression

jdmorgan jdmorgan at unca.edu
Fri Jan 20 11:44:29 EST 2012


Hello,
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

-- 
Derek @ NEMAC



More information about the mapserver-dev mailing list