Jukka,<br><br>Thanks,<br><br>That worked but what surprised me is that is worked with IMAGEMODE of RGB.&nbsp; I first tried it with PC256 which It did work as expected, but I was pleasantly surprised to see it work with RGB since the documentation says that it will not work with transparency.
<br><br>John Mitchell<br><br><div><span class="gmail_quote">On 12/15/06, <b class="gmail_sendername">Rahkonen Jukka</b> &lt;<a href="mailto:Jukka.Rahkonen@mmmtike.fi">Jukka.Rahkonen@mmmtike.fi</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>Have you set the transparancy for the geotiff layer by adding&nbsp;&nbsp;OFFSITE 0 0 0 on the LAYER definitions?&nbsp;&nbsp;That should work.<br><br>Regards,<br><br>-Jukka-<br><br><br><br><br>________________________________<br><br>
Lähettäjä: UMN MapServer Users List puolesta: John Mitchell<br>Lähetetty: pe 15.12.2006 0:51<br>Vastaanottaja: <a href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</a><br>Aihe: [UMN_MAPSERVER-USERS] image border is opaque when viewing
<br><br><br>Hi,<br><br>I have made the outside black border within a geotiff transparent by running &quot;gdalwarp -dstnodata 0&quot; against the geotiff.&nbsp;&nbsp;I verified that it is transparent within OpenEV and photoshop, but when utilizing MapServer it is not transparent.
<br><br>Below is the outputformat used within the .map file.&nbsp;&nbsp;I have tried with an imagemode of PC256 and RGB.<br><br> OUTPUTFORMAT<br>&nbsp;&nbsp;NAME png<br>&nbsp;&nbsp;DRIVER &quot;GD/PNG&quot;<br>&nbsp;&nbsp;MIMETYPE &quot;image/png&quot;<br>&nbsp;&nbsp;IMAGEMODE PC256
<br>&nbsp;&nbsp;#IMAGEMODE RGB<br>&nbsp;&nbsp;EXTENSION &quot;png&quot;<br> END<br><br>Thanks,<br><br>John J. Mitchell<br></blockquote></div><br><br clear="all"><br>-- <br>John J. Mitchell