<html 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)">
<style>
<!--
/* Font Definitions */
@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";}
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:"Comic Sans MS";
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Comic Sans MS";
color:blue;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'>When did the restriction, “the
Reference Map base image must be a .gif”, start being enforced?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'>I now see it in my old printed copy (version
5.2) of the documentation. I checked there to see if this was new to
MapServer version 6 as I found it first in the online documentation.
Obviously I had never read the documentation closely in this area.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'>All my reference maps are “png”
drawn with Mapserver (aggpng I think) and work in version 5.6.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'>When my try/catch throws an exception
trying to draw this reference map, the exception message is an empty string.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'>Through testing and looking at the apache
logs, I find that there are MapServer Errors in the MapServer errorObj and PHP
Notices and Warning. These are:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'>[Mapserver Error] msDrawREferenceMap() :
error loading reference image /data/mapfiles/ref_maps/… <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'>[MapServer Error] readImage(): unsupported
pixmap format/n in …<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'>Is this truly a change in the image type
restriction for Reference Maps or is it just an change in the checking for
errors when the MapScriptException was added?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'>Was I just lucky my “.png”
reference maps worked in the past? Am I the only one to try this? I
don’t have many to convert but wanted to point this out so it could be
added to the Migration Guide if it must remain a restriction.<o:p></o:p></span></font></p>
</div>
</body>
</html>