Hi Guo, Yes, this method is working for GetMap requests. For GetLegend, at least, it is not working in version 6.2. Luís -- View this message in context: http://osgeo-org.1560.x6.nabble.com/About-the-Color-Ramp-for-Raster-Data-tp5062351p5062821.html Sent from the Mapserver - User mailing list archive at Nabble.com.