<span style="font-family: Arial, Helvetica, Sans-Serif; font-size: 12px"><div>version of Mapserver?</div>
<div> </div>
<div style="-webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;-o-user-select: none;user-select: none;"> </div>
<div> </div>
<hr align="center" size="2" width="100%" />
<div><span style="font-family: tahoma,arial,sans-serif; font-size: 10pt;"><b>From</b>: "Mark Volz" <MarkVolz@co.lyon.mn.us><br />
<b>Sent</b>: Thursday, February 23, 2017 10:50 AM<br />
<b>To</b>: "mapserver-users@lists.osgeo.org" <mapserver-users@lists.osgeo.org><br />
<b>Subject</b>: [mapserver-users] Road shields on Mapserver 7</span>
<div> </div>
<style type="text/css"><!--
/* Font Definitions */
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
-->
</style>
<div class="WordSection1">
<p class="MsoNormal">Hello,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I am having trouble adding road shields to my map. The label (and for that matter the entire class) quits drawing as soon as I uncomment the STYLE block under label. Please let me know What I can do to add road shields to my roads layer.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">CLASS</p>
<p class="MsoNormal" style="text-indent:.5in">NAME "U.S. Highway"</p>
<p class="MsoNormal" style="text-indent:.5in">EXPRESSION "A10"</p>
<p class="MsoNormal" style="text-indent:.5in">STYLE</p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in">WIDTH 5</p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in">COLOR 0 0 0</p>
<p class="MsoNormal" style="text-indent:.5in">END #STYLE</p>
<p class="MsoNormal" style="text-indent:.5in">STYLE</p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in">WIDTH 3</p>
<p class="MsoNormal"> COLOR 227 159 2</p>
<p class="MsoNormal"> END #STYLE</p>
<p class="MsoNormal"> LABEL</p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in">TEXT '[ROADNUM]'</p>
<p class="MsoNormal"> SIZE 10 #for AGG</p>
<p class="MsoNormal"> FONT vera_sans #for AGG</p>
<p class="MsoNormal"> MINFEATURESIZE 25</p>
<p class="MsoNormal"> MINDISTANCE 200</p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in">#STYLE ### Mapserver quits drawing this layer as soon as I uncomment this block</p>
<p class="MsoNormal"> #SYMBOL './symbols/USHWY.png'</p>
<p class="MsoNormal"> #END STYLE</p>
<p class="MsoNormal"> END #label </p>
<p class="MsoNormal">END #class</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">P.S. Eventually I will want to display both the road number shield and the road name as well.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thank You</p>
<p class="MsoNormal"><span style="color:#1F497D">Sincerely,</span></p>
<p class="MsoNormal"><b><span style="color:#1F497D">Mark Volz, GISP</span></b></p>
<p class="MsoNormal"> </p>
</div>
</div></span>