Hi All,<br><br>I'm seeing a problem in some of my raster data which have graduated color ramps in them. When using the AGG renderer, the data appears to have discreet colors (which is incorrect), whereas with the GD renderer, we get correct color gradients.<br>
<br>The GD outputformat looks like this:<br><br> OUTPUTFORMAT<br> NAME 'png'<br> DRIVER GD/PNG<br> IMAGEMODE RGBA<br> EXTENSION "png"<br> FORMATOPTION "TRANSPARENT=ON"<br> FORMATOPTION "INTERLACE=OFF"<br>
TRANSPARENT ON<br> END #end outputformat<br><br><br>The AGG outputformat looks like this:<br><br>OUTPUTFORMAT<br> NAME 'AGGA'<br> DRIVER AGG/PNG<br> IMAGEMODE RGBA<br> EXTENSION "png"<br> MIMETYPE "image/png; mode=24bit"<br>
FORMATOPTION "TRANSPARENT=ON"<br> FORMATOPTION "INTERLACE=OFF"<br>END<br><br>In addition, the output image appears to have a color palette, instead of being a 4-ch png. Finally, the problem is present in WMS requests, but not straight MODE=map requests.<br>
<br>My WMS request looks like this:<br><a href="http://localhost/cgi-bin/mapserv?map=/var/www/mapfiles/hydro/hydro.map&SERVICE=WMS&version=%221.1.1%22&REQUEST=GetMap&LAYERS=imagery&STYLES=&BBOX=-125,39,-108,54&WIDTH=600&HEIGHT=600&FORMAT=png&SRS=epsg:4326">http://localhost/cgi-bin/mapserv?map=/var/www/mapfiles/hydro/hydro.map&SERVICE=WMS&version=%221.1.1%22&REQUEST=GetMap&LAYERS=imagery&STYLES=&BBOX=-125,39,-108,54&WIDTH=600&HEIGHT=600&FORMAT=png&SRS=epsg:4326</a><br>
<br>Any ideas? <br>