Hi John.<br><br>The SIZE option of CLASS element doesn't work as "line width". 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> NAME "cartoline"
<br> TYPE cartoline<br> LINECAP round #[butt|round|square|triangle]<br> LINEJOIN round #[round|miter|bevel]<br> #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;">
LAYER<br> NAME "mylinelayer"<br> ......................................<br> SIZEUNITS PIXELS<br> CLASS<br> NAME "mylinelayer"<br> STYLE<br> ANTIALIAS TRUE<br> COLOR 255 0 0
<br> SIZE 2<br> SYMBOL "cartoline"<br> END<br> END<br> END <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> <<a href="mailto:mitchelljj98@gmail.com">mitchelljj98@gmail.com</a>> 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> NAME MajorRoads<br> TYPE Line<br> DATA "F:\GV_Data\ShapeFiles\usa\majrdnet"<br><br> STATUS ON
<br><br> CLASS<br> COLOR 0 0 0<br> SIZE 2<br> END<br><br> END<br><span class="sg"><br clear="all"><br>-- <br>John J. Mitchell
</span></blockquote></div><br>