I struggled with this too on v5.6. After a recent post, I found this link: http://mapserver.org/development/rfc/ms-rfc-6.html It shows how COLORRANGE, DATARANGE, and RANGEITEM can be used to apply a gradient. It works OK on 5.6. I still don't know what RANGEITEM does. kind regards, Sam Skinner