<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Mapserver GIF Transparency</title>
	<atom:link href="http://blog.webmapper.com.au/2006/04/13/mapserver-gif-transparency/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.webmapper.com.au/2006/04/13/mapserver-gif-transparency/</link>
	<description>Not another GIS blog</description>
	<pubDate>Wed, 19 Nov 2008 23:18:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: gisuser</title>
		<link>http://blog.webmapper.com.au/2006/04/13/mapserver-gif-transparency/#comment-1710</link>
		<dc:creator>gisuser</dc:creator>
		<pubDate>Wed, 20 Sep 2006 13:38:34 +0000</pubDate>
		<guid isPermaLink="false">http://chris.narx.net/2006/04/13/mapserver-gif-transparency/#comment-1710</guid>
		<description>For gifs, you need to use this in your .map file:

OUTPUTFORMAT             
   NAME gif              
   DRIVER "GD/GIF"       
   MIMETYPE "image/gif"  
   IMAGEMODE PC256       
   EXTENSION "gif"       
   TRANSPARENT ON        
END                      

by default, transparent is NOT on.</description>
		<content:encoded><![CDATA[<p>For gifs, you need to use this in your .map file:</p>
<p>OUTPUTFORMAT<br />
   NAME gif<br />
   DRIVER &#8220;GD/GIF&#8221;<br />
   MIMETYPE &#8220;image/gif&#8221;<br />
   IMAGEMODE PC256<br />
   EXTENSION &#8220;gif&#8221;<br />
   TRANSPARENT ON<br />
END                      </p>
<p>by default, transparent is NOT on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Tildesley</title>
		<link>http://blog.webmapper.com.au/2006/04/13/mapserver-gif-transparency/#comment-312</link>
		<dc:creator>Paul Tildesley</dc:creator>
		<pubDate>Wed, 24 May 2006 23:09:26 +0000</pubDate>
		<guid isPermaLink="false">http://chris.narx.net/2006/04/13/mapserver-gif-transparency/#comment-312</guid>
		<description>Chris,

Thanks for the tips. I have followed your advice and now my overlays have transparent backgrounds as planned. I can confirm that you do need to turn off interlace for the PNG images.

One quirk that I found - I asked for one of my layers to be black (0 0 0) and the background for this was not transparent. I changed the colour to (1 1 1) and the background was transparent.

It would be nice to know why transparency works for PNG images but not for GIF images but at least I can continue with my work.

Thanks again for your help.

Paul.</description>
		<content:encoded><![CDATA[<p>Chris,</p>
<p>Thanks for the tips. I have followed your advice and now my overlays have transparent backgrounds as planned. I can confirm that you do need to turn off interlace for the PNG images.</p>
<p>One quirk that I found - I asked for one of my layers to be black (0 0 0) and the background for this was not transparent. I changed the colour to (1 1 1) and the background was transparent.</p>
<p>It would be nice to know why transparency works for PNG images but not for GIF images but at least I can continue with my work.</p>
<p>Thanks again for your help.</p>
<p>Paul.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://blog.webmapper.com.au/2006/04/13/mapserver-gif-transparency/#comment-311</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Wed, 24 May 2006 20:59:32 +0000</pubDate>
		<guid isPermaLink="false">http://chris.narx.net/2006/04/13/mapserver-gif-transparency/#comment-311</guid>
		<description>Ok, never mind... Using PNG for the RIGHT WMS request magically worked...

Funny how stuff works when you do it right, isn't it?

Thanks for the hint!</description>
		<content:encoded><![CDATA[<p>Ok, never mind&#8230; Using PNG for the RIGHT WMS request magically worked&#8230;</p>
<p>Funny how stuff works when you do it right, isn&#8217;t it?</p>
<p>Thanks for the hint!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://blog.webmapper.com.au/2006/04/13/mapserver-gif-transparency/#comment-310</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Wed, 24 May 2006 20:49:51 +0000</pubDate>
		<guid isPermaLink="false">http://chris.narx.net/2006/04/13/mapserver-gif-transparency/#comment-310</guid>
		<description>Hi Chris,

I only have a problem with (non)transparent background, when GoogleEarth requests data from my Mapserver where there is no data to see.

Disregarding all TRANSAPRENT settings it just floods the earth with the set IMAGECOLOR.

In cases where GE requests a part with actual Mapserver coverage all is good (inculding transparency)

Any clues?

(another) Chris, Brazil</description>
		<content:encoded><![CDATA[<p>Hi Chris,</p>
<p>I only have a problem with (non)transparent background, when GoogleEarth requests data from my Mapserver where there is no data to see.</p>
<p>Disregarding all TRANSAPRENT settings it just floods the earth with the set IMAGECOLOR.</p>
<p>In cases where GE requests a part with actual Mapserver coverage all is good (inculding transparency)</p>
<p>Any clues?</p>
<p>(another) Chris, Brazil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Tweedie</title>
		<link>http://blog.webmapper.com.au/2006/04/13/mapserver-gif-transparency/#comment-306</link>
		<dc:creator>Chris Tweedie</dc:creator>
		<pubDate>Wed, 24 May 2006 13:40:25 +0000</pubDate>
		<guid isPermaLink="false">http://chris.narx.net/2006/04/13/mapserver-gif-transparency/#comment-306</guid>
		<description>Hey paul,

I did solve this using PNG and from memory it was turning off interlacing in the OUTPUTFORMAT for image/png

Flick me a mail if you havent heard from me tomorrow with the relevant mapfile excerpts</description>
		<content:encoded><![CDATA[<p>Hey paul,</p>
<p>I did solve this using PNG and from memory it was turning off interlacing in the OUTPUTFORMAT for image/png</p>
<p>Flick me a mail if you havent heard from me tomorrow with the relevant mapfile excerpts</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Tildesley</title>
		<link>http://blog.webmapper.com.au/2006/04/13/mapserver-gif-transparency/#comment-287</link>
		<dc:creator>Paul Tildesley</dc:creator>
		<pubDate>Tue, 23 May 2006 23:59:22 +0000</pubDate>
		<guid isPermaLink="false">http://chris.narx.net/2006/04/13/mapserver-gif-transparency/#comment-287</guid>
		<description>Hi Chris,

I have set up a WMS with MapServer and am now trying to view the layers with Google Earth and I have come up against a similar problem to you. I am serving satellite imagery of sea-surface temperature (raster files) with transparent land and I can view that just fine with Google Earth - the Google land shows through. I am also serving up some overlays - coastline, continental shelf edge and fish sample locations. The data for these are ESRI shape files and I cannot get Google Earth to render the background as transparent.

If you send me an email I can send you the map file and KML file if you are interested.

If you have solved the transparency problem, I would love to hear about it.

Regards,

Paul (Hobart, Tasmania)</description>
		<content:encoded><![CDATA[<p>Hi Chris,</p>
<p>I have set up a WMS with MapServer and am now trying to view the layers with Google Earth and I have come up against a similar problem to you. I am serving satellite imagery of sea-surface temperature (raster files) with transparent land and I can view that just fine with Google Earth - the Google land shows through. I am also serving up some overlays - coastline, continental shelf edge and fish sample locations. The data for these are ESRI shape files and I cannot get Google Earth to render the background as transparent.</p>
<p>If you send me an email I can send you the map file and KML file if you are interested.</p>
<p>If you have solved the transparency problem, I would love to hear about it.</p>
<p>Regards,</p>
<p>Paul (Hobart, Tasmania)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
