<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Comic Sans MS";
        panose-1:3 15 7 2 3 3 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
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 bgcolor=white lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I copied over the new function and
function call in print_util.php. I get what’s going on there- it’s
“cutting out” the black portions of the image, but I’m still
getting these in the printable image.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>One thing I don’t understand (and
the answer is probably not so simple)- the map is looking exactly as I’d
like in the application- why aren’t we grabbing that image and coping it
to the output map file?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
color=black face="Times New Roman"><span style='font-size:12.0pt;color:windowtext'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 color=black face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold'>From:</span></font></b><font
size=2 color=black face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
color:windowtext'> geomoose-users-bounces@lists.osgeo.org
[mailto:geomoose-users-bounces@lists.osgeo.org] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Brent Fraser<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, November 23, 2011
11:33 AM<br>
<b><span style='font-weight:bold'>To:</span></b> Bistrais, Bob<br>
<b><span style='font-weight:bold'>Cc:</span></b> geomoose-users@lists.osgeo.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Geomoose-users]
Printing wms layers</span></font><font color=black><span style='color:windowtext'><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>Bob,<br>
<br>
I did a fix some time ago (<a
href="http://geomoose.org/trac/ticket/108">http://geomoose.org/trac/ticket/108</a>)
regarding using the alpha channel in Print_util.php. This fix is in
GeoMoose v2.4 so I'm confused...<br>
<br>
<o:p></o:p></span></font></p>
<pre><font size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Best Regards,<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Brent Fraser<o:p></o:p></span></font></pre>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><br>
On 11/23/2011 9:27 AM, Bistrais, Bob wrote: <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><!--[if gte mso 9]><xml>
<u1:shapedefaults u2:ext="edit" spidmax="1026"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<u3:shapelayout u4:ext="edit">
<u3:idmap u4:ext="edit" data="1"/>
</u3:shapelayout>
</xml><![endif]-->It sure looks like a problem with the alpha channels.
Doesn’t seem to matter which browser I use, either.<u5:p></u5:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><u5:p> </u5:p></span></font><o:p></o:p></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
color=black face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 color=black face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Jim Klassen
[<a href="mailto:klassen.js@gmail.com">mailto:klassen.js@gmail.com</a>] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, November 23, 2011
10:43 AM<br>
<b><span style='font-weight:bold'>To:</span></b> Bistrais, Bob<br>
<b><span style='font-weight:bold'>Cc:</span></b> Bob Basques; <a
href="mailto:geomoose-users@lists.osgeo.org"><geomoose-users@lists.osgeo.org></a><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Geomoose-users]
Printing wms layers</span></font><u5:p></u5:p><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><u5:p> </u5:p><o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>If the quality is different between PNG and GIF you
are probably using PNG24 (as PNG8 and GIF should be identical image wise).<u5:p></u5:p><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><u5:p> </u5:p><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>My guess is a GD bug dealing with PNG24. I'm not
sure what your options are, but it sounds like the print.php needs to be
rewritten with a more modern library.<u5:p></u5:p><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'><br>
On Nov 23, 2011, at 9:11, "Bistrais, Bob" <<a
href="mailto:Bob.Bistrais@maine.gov" moz-do-not-send=true>Bob.Bistrais@maine.gov</a>>
wrote:<u5:p></u5:p><o:p></o:p></span></font></p>
</div>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt' type=cite>
<div>
<div>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'>Looks like I’m using png. <u1:p></u1:p></span></font><u5:p></u5:p><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'><u1:p> </u1:p></span></font><u5:p></u5:p><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'>One thing I tried was to use gif in the mapbook.xml, for those WMS
layers, but while they displayed alright, the quality was awful.<u1:p></u1:p></span></font><u5:p></u5:p><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'><u1:p> </u1:p></span></font><u5:p></u5:p><o:p></o:p></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
color=black face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><font
size=2 color=black face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> Bob Basques [<a
href="mailto:Bob.Basques@ci.stpaul.mn.us">mailto:Bob.Basques@ci.stpaul.mn.us</a>]
<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, November 23, 2011
10:05 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <a
href="mailto:geomoose-users@lists.osgeo.org" moz-do-not-send=true>geomoose-users@lists.osgeo.org</a>;
Bistrais, Bob<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [Geomoose-users]
Printing wms layers</span></font><u1:p></u1:p><u5:p></u5:p><o:p></o:p></p>
</div>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=3 color=black face="Times New Roman"><span style='font-size:12.0pt'><u1:p> </u1:p><u5:p></u5:p><o:p></o:p></span></font></p>
<p style='margin:0in;margin-bottom:.0001pt'><font size=3 color=black
face="Comic Sans MS"><span style='font-size:12.0pt;font-family:"Comic Sans MS"'>What
version of PNG, PNG8 PNG24, etc.</span></font> <u1:p></u1:p><u5:p></u5:p><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=3 color=black face="Times New Roman"><span style='font-size:12.0pt'><u1:p> </u1:p><u5:p></u5:p><o:p></o:p></span></font></p>
<p style='margin:0in;margin-bottom:.0001pt'><font size=3 color=black
face="Comic Sans MS"><span style='font-size:12.0pt;font-family:"Comic Sans MS"'>bobb</span></font>
<u1:p></u1:p><u5:p></u5:p><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=3 color=black face="Times New Roman"><span style='font-size:12.0pt'><u1:p> </u1:p><u5:p></u5:p><o:p></o:p></span></font></p>
<p style='margin:0in;margin-bottom:.0001pt'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'><br>
<br>
>>> "Bistrais, Bob" <<a
href="mailto:Bob.Bistrais@maine.gov" moz-do-not-send=true>Bob.Bistrais@maine.gov</a>>
wrote:<u1:p></u1:p><u5:p></u5:p><o:p></o:p></span></font></p>
<table class=MsoNormalTable border=0 cellpadding=0 bgcolor="#F3F3F3"
style='margin-left:11.25pt;background:#F3F3F3'>
<tr>
<td style='padding:.75pt .75pt .75pt .75pt'>
<div style='border:none;border-left:solid #050505 1.0pt;padding:0in 0in 0in 5.0pt'>
<div>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'>Yes, the WMS is outputting PNG. What would be recommended
instead?<o style="color: navy; font-size: 10.0pt;
font-family: Arial" p="#DEFAULT"></o></span></font>
<u1:p></u1:p><u5:p></u5:p><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'><o style="color: navy;
font-size: 10.0pt; font-family: Arial" p="#DEFAULT"> </o></span></font>
<u1:p></u1:p><u5:p></u5:p><o:p></o:p></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
color=black face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><font
size=2 color=black face=Tahoma><span style='font-size:10.0pt;font-family:
Tahoma;font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> Bob Basques [<a
href="mailto:Bob.Basques@ci.stpaul.mn.us">mailto:Bob.Basques@ci.stpaul.mn.us</a>]<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, November 22,
2011 4:54 PM<br>
<b><span style='font-weight:bold'>To:</span></b> <a
href="mailto:geomoose-users@lists.osgeo.org" moz-do-not-send=true>geomoose-users@lists.osgeo.org</a>;
Bistrais, Bob<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re:
[Geomoose-users] Printing wms layers</span></font><o p="#DEFAULT"></o>
<u1:p></u1:p><u5:p></u5:p><o:p></o:p></p>
</div>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=3 color=black face="Times New Roman"><span style='font-size:12.0pt'><o style="font-size: 12.0pt; font-family:
Times New Roman" p="#DEFAULT"> </o>
<u1:p></u1:p><u5:p></u5:p><o:p></o:p></span></font></p>
<p style='margin:0in;margin-bottom:.0001pt'><font size=3 color=black
face="Comic Sans MS"><span style='font-size:12.0pt;font-family:"Comic Sans MS"'>Something
to look at . . .</span></font><o p="#DEFAULT"></o> <u1:p></u1:p><u5:p></u5:p><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=3 color=black face="Times New Roman"><span style='font-size:12.0pt'><o style="font-size: 12.0pt; font-family:
Times New Roman" p="#DEFAULT"> </o>
<u1:p></u1:p><u5:p></u5:p><o:p></o:p></span></font></p>
<p style='margin:0in;margin-bottom:.0001pt'><font size=3 color=black
face="Comic Sans MS"><span style='font-size:12.0pt;font-family:"Comic Sans MS"'>What
is the format of the images from the WMS service?</span></font><o p="#DEFAULT"></o>
<u1:p></u1:p><u5:p></u5:p><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=3 color=black face="Times New Roman"><span style='font-size:12.0pt'><o style="font-size: 12.0pt; font-family:
Times New Roman" p="#DEFAULT"> </o>
<u1:p></u1:p><u5:p></u5:p><o:p></o:p></span></font></p>
<p style='margin:0in;margin-bottom:.0001pt'><font size=3 color=black
face="Comic Sans MS"><span style='font-size:12.0pt;font-family:"Comic Sans MS"'>PNG24
vs other PNG formats have caused problem in cross browser situations.
Some versions of IE don't like one or the other for example.</span></font><o p="#DEFAULT"></o>
<u1:p></u1:p><u5:p></u5:p><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=3 color=black face="Times New Roman"><span style='font-size:12.0pt'><o style="font-size: 12.0pt; font-family:
Times New Roman" p="#DEFAULT"> </o>
<u1:p></u1:p><u5:p></u5:p><o:p></o:p></span></font></p>
<p style='margin:0in;margin-bottom:.0001pt'><font size=3 color=black
face="Comic Sans MS"><span style='font-size:12.0pt;font-family:"Comic Sans MS"'>bobb</span></font><o p="#DEFAULT"></o>
<u1:p></u1:p><u5:p></u5:p><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=3 color=black face="Times New Roman"><span style='font-size:12.0pt'><o style="font-size: 12.0pt; font-family:
Times New Roman" p="#DEFAULT"> </o>
<u1:p></u1:p><u5:p></u5:p><o:p></o:p></span></font></p>
<p style='margin:0in;margin-bottom:.0001pt'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'><br>
<br>
>>> "Bistrais, Bob" <<a
href="mailto:Bob.Bistrais@maine.gov" moz-do-not-send=true>Bob.Bistrais@maine.gov</a>>
wrote:<o style="font-size: 12.0pt;
font-family: Times New Roman" p="#DEFAULT"></o>
<u1:p></u1:p><u5:p></u5:p><o:p></o:p></span></font></p>
<table class=MsoNormalTable border=0 cellpadding=0 bgcolor="#F3F3F3"
style='margin-left:11.25pt;background:#F3F3F3;background-image:null;
background-position:null;background-attachment:scroll'>
<tr>
<td style='padding:.75pt .75pt .75pt .75pt'>
<div>
<div>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto'><font size=2 color=black face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I had brought up this question before but it seems to be
happening again. I have a few layers that I consume in GeoMoose by
WMS. Some of these are vecot line layers such as roads. They
work perfectly in GeoMoose map view. But when I compose a printable
map, these layers have a black background which obscures other layers and
just plain looks ugly. If I set the “transparent”
property to false, the black background goes away, but then I
can’t see any underlying data. <o style="font-size: 10.0pt;
font-family: Arial" p="#DEFAULT"></o></span></font> <o p="#DEFAULT"></o>
<u1:p></u1:p><u5:p></u5:p><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto'><font size=2 color=black face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o style="font-size:
10.0pt; font-family:
Arial" p="#DEFAULT"> </o></span></font><o p="#DEFAULT"></o>
<u1:p></u1:p><u5:p></u5:p><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto'><font size=2 color=black face=Arial><span style='font-size:10.0pt;
font-family:Arial'>By the way, I do have control over the WMS services in
this case. I tried to set Offsite to 0 0 0, but that didn’t
seem to help either. The WMS is at MapServer 6.0.1. Any
suggestions?<o style="font-size: 10.0pt;
font-family: Arial" p="#DEFAULT"></o></span></font><o p="#DEFAULT"></o>
<u1:p></u1:p><u5:p></u5:p><o:p></o:p></p>
</div>
</div>
</td>
</tr>
</table>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=3 color=black face="Times New Roman"><span style='font-size:12.0pt'><o style="font-size: 12.0pt; font-family:
Times New Roman" p="#DEFAULT"> </o>
<u1:p></u1:p><u5:p></u5:p><o:p></o:p></span></font></p>
</div>
</div>
</td>
</tr>
</table>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=3 color=black face="Times New Roman"><span style='font-size:12.0pt'><u1:p> </u1:p><u5:p></u5:p><o:p></o:p></span></font></p>
</div>
</div>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt' type=cite>
<div>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>_______________________________________________<br>
Geomoose-users mailing list<br>
<a href="mailto:Geomoose-users@lists.osgeo.org" moz-do-not-send=true>Geomoose-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users"
moz-do-not-send=true>http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><u5:p></u5:p><o:p></o:p></span></font></p>
</div>
</blockquote>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset><o:p></o:p></span></font></p>
<pre><font size=2 color=black face="Courier New"><span style='font-size:10.0pt'>_______________________________________________<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Geomoose-users mailing list<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><a
href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><a
href="http://lists.osgeo.org/mailman/listinfo/geomoose-users">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><o:p></o:p></span></font></pre></div>
</body>
</html>