<div dir="ltr">Thanks to some help from a fellow GIS developer, I think I&#39;ve narrowed the problem down to the OUTPUTFORMAT section of my mapfile.&nbsp; Changing from the AGG to GD driver seemed to take care of the problem.&nbsp; Will need to do some additional futzing to see if I can get it working with AGG.<br>
--<br><br><br><br><div class="gmail_quote">On Wed, Sep 24, 2008 at 1:38 PM, Roger André <span dir="ltr">&lt;<a href="mailto:randre@gmail.com" target="_blank">randre@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Ok, this is driving me bonkers.&nbsp; I have a raster image with nodata values set to be transparent.&nbsp; When I make requests to this layer in &quot;mode=map&quot;, it works beautifully, and the nodata values are transparent.<br>


<br>- <a href="http://localhost/cgi-bin/mapserv?map=/var/www/mapfiles/temp/temp.map&amp;mode=map" target="_blank">http://localhost/cgi-bin/mapserv?map=/var/www/mapfiles/temp/temp.map&amp;mode=map</a><br><br>However, when I try to view the same data via a WMS request, the nodata values are displayed in black.<br>


<br>- <a href="http://localhost/cgi-bin/mapserv?map=/var/www/mapfiles/temp/temp.map" target="_blank">http://localhost/cgi-bin/mapserv?map=/var/www/mapfiles/temp/temp.map</a><br>&amp;SERVICE=WMS<br>&amp;version=%221.1.122<br>

&amp;REQUEST=GetMap<br>
&amp;LAYERS=imagery<br>&amp;STYLES=<br>&amp;BBOX=-180,-90,180,90<br>&amp;WIDTH=600<br>&amp;HEIGHT=500<br>&amp;FORMAT=png<br>&amp;SRS=epsg:4326<br><br>I have tried doing a couple of things to fix this, none of which has worked:<br>


- added &quot;wms_transparent&quot;&nbsp;&nbsp;&nbsp;&nbsp; &quot;TRUE&quot; to METADATA section of LAYER<br>- added &quot;&amp;TRANSPARENT=TRUE&quot; to the end of the WMS request<br>- made sure that in OUTPUTFORMAT I have all of these:<br>


&nbsp; OUTPUTFORMAT<br>&nbsp;&nbsp; NAME png<br>&nbsp;&nbsp; DRIVER &quot;AGG/PNG&quot;<br>&nbsp;&nbsp; MIMETYPE &quot;image/png&quot;<br>&nbsp;&nbsp; IMAGEMODE RGBA<br>&nbsp;&nbsp; EXTENSION &quot;png&quot;<br>&nbsp;&nbsp; FORMATOPTION &quot;TRANSPARENT=ON&quot;<br>&nbsp;&nbsp; FORMATOPTION &quot;INTERLACE=OFF&quot;<br>


&nbsp;&nbsp; TRANSPARENT ON<br>&nbsp; END #end outputformat<br><br>Please, can anyone tell me what I&#39;m missing?&nbsp; <br><br>Thanks,<br><br>Roger<br>--<br></div>
</blockquote></div><br></div>