<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" 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)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="address"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Trebuchet MS";
panose-1:2 11 6 3 2 2 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-compose;
color:black;}
@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=2 color=black face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:black'>Greetings list,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:black'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:black'>I am quite new
to MapServer, so please bear with me on this one. Currently, I have a
layer called highways and I am attempting to label each highway with an
appropriate highway symbol. I have both gifs and pngs of the symbols I
want to use and I am borrowing code from a map file that I know has worked in
the past. I have attempted to do this several different ways. The
first method receives an error that states: “Attempted to read or write
protected memory. This is often an indication that other memory is corrupt.”
This is using the code that has worked in a previous map file (I do not know
what version of MapServer was used, though. I am using the latest
version).<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:black'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:black'>Below is an
example of what I am doing in the map file:<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Trebuchet MS"><span style='font-size:10.0pt;font-family:"Trebuchet MS";
color:black'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS"'>CLASS # Interstate Anno<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS"'> MINSCALE
850000<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS"'> SYMBOL
"interstate.png" <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS"'> EXPRESSION
"IS"<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS"'> COLOR
0 0 0<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS"'> LABEL<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS"'> TYPE
BITMAP<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS"'> MINDISTANCE
200<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS"'>
COLOR 255 255 255<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS"'> SIZE
tiny<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS"'> POSITION
CC <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS"'> buffer
4<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS"'> END<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS"'>END <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS"'>I know that the problem is the
interstate.png because when I comment that one line out, everything works
(except, I do not get my symbol, of course). I have attempted to change the
permissions on the file, the directory in which it is in, etc., but to no
avail.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS"'>I have also tried an alternative method in
which I create a symbol in the symbol file and reference it.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS"'>Here is what I have done:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS"'>SYMBOL<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS"'> NAME
"Interstate"<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS"'> TYPE PIXMAP<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS"'> IMAGE
"interstate.png"<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS"'>END<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:black'>When I
reference this symbol in the symbol file, my map builds without any errors, but
my symbols still do not display.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:black'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:black'>Any suggestions
would be greatly, greatly appreciated.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:black'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:black'>Thank you,<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;color:black'><o:p> </o:p></span></font></p>
<div>
<div>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>Todd Fagin<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>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>Coordinate
Solutions, Inc.<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><st1:Street w:st="on"><st1:address w:st="on"><font size=2
color=navy face="Trebuchet MS"><span style='font-size:10.0pt;font-family:
"Trebuchet MS";color:navy'>501 N.E. 15th St</span></font></st1:address></st1:Street><font
size=2 color=navy face="Trebuchet MS"><span style='font-size:10.0pt;font-family:
"Trebuchet MS";color:navy'>.<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><st1:place w:st="on"><st1:City w:st="on"><font size=2
color=navy face="Trebuchet MS"><span style='font-size:10.0pt;font-family:
"Trebuchet MS";color:navy'>Oklahoma City</span></font></st1:City><font
size=2 color=navy face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS";color:navy'>, <st1:State w:st="on">OK</st1:State> <st1:PostalCode
w:st="on">73104</st1:PostalCode></span></font></st1:place><font size=2
color=navy face="Trebuchet MS"><span style='font-size:10.0pt;font-family:"Trebuchet MS";
color:navy'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>405.246.9396
(Voice)<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>405.227.0781
(Fax)<o:p></o:p></span></font></p>
</div>
</div>
</body>
</html>