<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:m =
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16535"><!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]-->
<STYLE>
<!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\0027Courier New\0027";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"
lang=EN-GB link=blue bgColor=#ffffff vLink=purple>
<DIV><FONT size=2 face=Arial>Jez,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I had similar transparency problem before and
solved it with the correct OUTPUTFORMAT setting of the Mapserver map
file. YOu did not show your OUTPUTFORMAT setting in your map file but I
assume that the IMAGEMODE is RGB. RGB mode does not support transparency
(check Mapserver documentation <A
href="http://mapserver.org/mapfile/outputformat.html">http://mapserver.org/mapfile/outputformat.html</A>)
. Yes, it is strange for even with that setting, transparency works in
OpenLayers. Anyway, make the following changes and add the following
OUTPUTFORMAT setting bellow in your map file and see if it
works:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>IMAGETYPE PNG</FONT></DIV>
<DIV><FONT size=2 face=Arial>IMAGECOLOR 255 255 255</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>OUTPUTFORMAT<BR> NAME PNG<BR> DRIVER
"GD/PNG"<BR> MIMETYPE "image/png"<BR> IMAGEMODE PC256<BR>
EXTENSION "png"<BR> TRANSPARENT ON<BR>END<BR></FONT></DIV>
<DIV><FONT size=2 face=Arial>Good day.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Joel</FONT></DIV>
<DIV><FONT size=2 face=Arial>GSJ/AIST</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=Jez.Walters@ipl.com href="mailto:Jez.Walters@ipl.com">Jez Walters</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=jk@ubithere.lu
href="mailto:jk@ubithere.lu">'Jeff Konnen'</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=tilecache@openlayers.org
href="mailto:'tilecache@openlayers.org'">'tilecache@openlayers.org'</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, August 10, 2010 6:55
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Tilecache] Symbol image
transparency problem</DIV>
<DIV><BR></DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Jeff,<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Thanks
for the advice, but how exactly do I do as you suggest? Do I need to set
the “extension” parameter, and if so what value should I use – the online <A
href="http://tilecache.org/docs/README.html">documentation</A> doesn’t
indicate how to use this parameter. I tried adding “extension=png”, but
that didn’t change anything.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Warm
regards,<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Jez<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<DIV>
<DIV
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<P class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"
lang=EN-US>From:</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt" lang=EN-US> Jeff
Konnen [mailto:jk@ubithere.lu]<BR><B>Sent:</B> Monday 9 August 2010
19:13<BR><B>To:</B> Jez Walters<BR><B>Subject:</B> Re: [Tilecache] Symbol
image transparency problem<o:p></o:p></SPAN></P></DIV></DIV>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal>Hi Jez,<o:p></o:p></P>
<DIV>
<P class=MsoNormal><o:p> </o:p></P></DIV>
<DIV>
<P class=MsoNormal>if you want transparency using tilecache, be sure to set
png and not jpeg in the tilecache config.<o:p></o:p></P>
<DIV>
<DIV>
<DIV>
<DIV>
<DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Helvetica','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p> </o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: '; FONT-SIZE: 9pt" color:black?
New??,?serif?; Courier>Perhaps this might help</SPAN><SPAN
style="FONT-FAMILY: 'Helvetica','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p></o:p></SPAN></P></DIV></DIV></DIV></DIV></DIV>
<P class=MsoNormal><SPAN class=apple-style-span><SPAN
style="FONT-FAMILY: 'Helvetica','sans-serif'; COLOR: black; FONT-SIZE: 13.5pt">Jeff</SPAN></SPAN><o:p></o:p></P></DIV>
<P class=MsoNormal><o:p> </o:p></P>
<DIV>
<DIV>
<P class=MsoNormal>On 09 Aug 2010, at 17:49, Jez Walters
wrote:<o:p></o:p></P></DIV>
<P class=MsoNormal><BR><BR><o:p></o:p></P>
<P class=MsoNormal>Hello TileCachers,<SPAN
style="COLOR: #1f497d"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<P class=MsoNormal>I'm not sure if I posted this question correctly last time,
so I'm trying again! ;-)<SPAN style="COLOR: #1f497d"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<P class=MsoNormal>I'm displaying UK Ordnance Survey MasterMap vector maps
using OpenLayers, TileCache and MapServer. The maps display perfectly when I
use just MapServer ( <A
href="http://osgeo-org.1803224.n2.nabble.com/file/n5389483/MapServer.jpg"
target=_top>MapServer.jpg</A> ), as well as when I also use OpenLayers.
However, when I add TileCache to the mix, the various symbol images are no
longer transparent ( <A
href="http://osgeo-org.1803224.n2.nabble.com/file/n5389483/TileCache.jpg"
target=_top>TileCache.jpg</A> ).<SPAN
style="COLOR: #1f497d"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<P class=MsoNormal>I don't have that much experience of TileCache, so any
help/explanation would be most appreciated!<SPAN
style="COLOR: #1f497d"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<P class=MsoNormal>Jez<o:p></o:p></P>
<DIV class=MsoNormal>
<HR style="WIDTH: 225pt" align=left SIZE=2 width=300>
</DIV>
<P class=MsoNormal>View this message in context: <A
href="http://osgeo-org.1803224.n2.nabble.com/Symbol-image-transparency-problem-tp5389483p5389483.html">Symbol
image transparency problem</A><BR>Sent from the <A
href="http://osgeo-org.1803224.n2.nabble.com/TileCache-f1836434.html">TileCache
mailing list archive</A> at <A
href="http://Nabble.com">Nabble.com</A>.<BR>_______________________________________________<BR>Tilecache
mailing list<BR><A
href="mailto:Tilecache@lists.osgeo.org">Tilecache@lists.osgeo.org</A><BR>http://lists.osgeo.org/mailman/listinfo/tilecache<SPAN
style="COLOR: #1f497d"><o:p></o:p></SPAN></P></DIV></DIV></DIV>
<P style="FONT-FAMILY: Arial; COLOR: rgb(153,153,153); FONT-SIZE: 8pt">The
information transmitted is intended only for the person or entity to which it
is addressed and may contain confidential and/or privileged material. If you
are not the addressee, any disclosure, reproduction, copying, distribution, or
other dissemination or use of this communication is strictly prohibited. If
you have received this transmission in error please notify the sender
immediately and then delete this email.</P>
<P style="FONT-FAMILY: Arial; COLOR: rgb(153,153,153); FONT-SIZE: 8pt">Any
representations or commitments expressed in this email are subject to
contract.</P>
<P style="FONT-FAMILY: Arial; COLOR: rgb(153,153,153); FONT-SIZE: 8pt">This
message has been scanned for viruses and dangerous content. However, it is
essential that the recipient also checks this message using commercially
available mail scanning and anti-virus software. IPL Information Processing
Limited accepts no liability for any loss or damage resulting from any virus
or other dangerous content in this message.</P>
<P style="FONT-FAMILY: Arial; COLOR: rgb(153,153,153); FONT-SIZE: 8pt">IPL
Information Processing Limited is registered in England and Wales under
company registration number 1418818. Registration took place at Cardiff on 10
May 1979. IPL Information Processing Limited's registered office and normal
place of business is Eveleigh House, Grove Street, Bath, BA1 5LR, United
Kingdom. IPL is also registered for Value Added Tax (VAT) under registration
number GB 601 2931 83.</P>
<P>
<HR>
<P></P>_______________________________________________<BR>Tilecache mailing
list<BR>Tilecache@lists.osgeo.org<BR>http://lists.osgeo.org/mailman/listinfo/tilecache<BR></BLOCKQUOTE></BODY></HTML>