<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;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
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 lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>So, I&#8217;m trying to dissect this
problem of the mismatch between map layers and selected feature highlight on
the printed map. (application window map is fine)&nbsp; <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'>It almost seems like the map image and
highlight/sketch image are two slightly different image sizes, causing the
mismatch.&nbsp; I&#8217;m looking in print.php and settings.ini for
clues.&nbsp; In particular, I&#8217;m having trouble determining where the parameters
for the sketch layer are set.&nbsp; Can anyone advise?<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>&nbsp;</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>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
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 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'>
geomoose-users-bounces@lists.osgeo.org
[mailto:geomoose-users-bounces@lists.osgeo.org] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Bistrais, Bob<br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, January 09, 2012
6:31 PM<br>
<b><span style='font-weight:bold'>To:</span></b> geomoose-users@lists.osgeo.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [Geomoose-users]
Highlighted feature not printing</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</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'>I&#8217;ve made quite a bit of progress
fixing this.&nbsp; In a nutshell, I modified the print ant print_util php files
so much that I messed up and left out some useful code.&nbsp; <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>&nbsp;</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'>So now, I have it so that my map, with WMS
layers, will print with proper alpha channels (not black), and the highlight
will draw.<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>&nbsp;</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'>So here&#8217;s a problem I see now- there
is a mismatch between highlighted/selected features, and the other
layers.&nbsp; For instance, a selected road segment may be twisted or rotated
from where it is on the base road data.<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>&nbsp;</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'>What&#8217;s more, I found this problem is
not confined to my current project (with the WMS layers), but to other projects
as well, which store their data locally as shapefiles and as MapServer
services.&nbsp; Has anyone had similar issues?<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>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
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 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'>
geomoose-users-bounces@lists.osgeo.org [mailto:geomoose-users-bounces@lists.osgeo.org]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Bistrais, Bob<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, January 06, 2012
4:25 PM<br>
<b><span style='font-weight:bold'>To:</span></b> geomoose-users@lists.osgeo.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [Geomoose-users]
Highlighted feature not printing</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</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'>A little more background after more
investigation- A while back (some of you may remember) I was having trouble
with alpha channels on my printouts.&nbsp; This was related to the WMS base
layers that I use.&nbsp; So I modified the print.php and print_util.php
files.&nbsp; In the renderImage section, I changed the ImageCopyMerge command
to an ImageCopy command.&nbsp; That seems to be part of the issue.&nbsp; If I
go back to the original print and print_util files, the highlight displays, but
again with the black alpha channels.<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>&nbsp;</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'>We know that the parcelHighlight layer is
a bit different because it&#8217;s dynamic and not defined in a .map
file.&nbsp; Could that be part of the explanation?<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>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
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 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'>
geomoose-users-bounces@lists.osgeo.org
[mailto:geomoose-users-bounces@lists.osgeo.org] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Bistrais, Bob<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, January 06, 2012
1:56 PM<br>
<b><span style='font-weight:bold'>To:</span></b> geomoose-users@lists.osgeo.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Geomoose-users]
Highlighted feature not printing</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>OK, I think I broke something here.&nbsp; On one of my
applications, selected features are not appearing highlighted on the printed
map.&nbsp; The selected features ARE highlighted in the application
window.&nbsp; I think I must of broke something.&nbsp; I know it&#8217;s not
something you folks can see without looking at the code, but can anyone make a
suggestion as to where to look, with respect to the printed layers?&nbsp;
I&#8217;m looking in print.php, and I do see that parcelHighlight is one of the
layers.<o:p></o:p></span></font></p>

</div>

</body>

</html>