Hi John.<br><br>The SIZE option of CLASS element doesn&#39;t work as &quot;line width&quot;. This is how I solved this:<br><br>First I create a Symbol in my symbol file like:<br><div style="margin-left: 40px;">SYMBOL<br>&nbsp; NAME &quot;cartoline&quot;
<br>&nbsp; TYPE cartoline<br>&nbsp; LINECAP round #[butt|round|square|triangle]<br>&nbsp; LINEJOIN round #[round|miter|bevel]<br>&nbsp; #LINEJOINMAXSIZE 3<br>END<br></div><br>Then, in the layer I want to set line width I do:<br><div style="margin-left: 40px;">
&nbsp; LAYER<br>&nbsp;&nbsp;&nbsp; NAME &quot;mylinelayer&quot;<br>&nbsp;&nbsp;&nbsp; ......................................<br>&nbsp;&nbsp;&nbsp; SIZEUNITS PIXELS<br>&nbsp;&nbsp;&nbsp; CLASS<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME &quot;mylinelayer&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ANTIALIAS TRUE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 255 0 0
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE 2<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYMBOL &quot;cartoline&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; END<br>&nbsp; END&nbsp; <br></div><br>Now, the SIZE property in CLASS element work as you want.<br><br>Maybe you want to take a look at:<br><br><a href="http://mapserver.gis.umn.edu/docs/howto/cartosymbols/">
http://mapserver.gis.umn.edu/docs/howto/cartosymbols/</a><br><br>there are more examples and all the cartoline options full explained.<br><br>I hope it helps you.<br><br>Rodrigo.<br><br><br><div><span class="gmail_quote">
On 3/16/07, <b class="gmail_sendername">John Mitchell</b> &lt;<a href="mailto:mitchelljj98@gmail.com">mitchelljj98@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>The size of a line is always 1 pixel even when I change the size from 1 to 2 or more: <br><br>LAYER<br>&nbsp; NAME MajorRoads<br>&nbsp; TYPE Line<br>&nbsp; DATA &quot;F:\GV_Data\ShapeFiles\usa\majrdnet&quot;<br><br>&nbsp; STATUS ON
<br><br>&nbsp; CLASS<br>&nbsp;&nbsp; COLOR 0 0 0<br>&nbsp;&nbsp; SIZE 2<br>&nbsp; END<br><br>&nbsp;END<br><span class="sg"><br clear="all"><br>-- <br>John J. Mitchell
</span></blockquote></div><br>