<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Paul--</DIV>
<DIV>&nbsp;</DIV>
<DIV>My apologies if this shows up twice, I sent it out yesterday but it appears to have gotten stuck in the network wires somewhere.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Anyway, I believe&nbsp;you need to:</DIV>
<DIV>&nbsp;</DIV>
<DIV>1) use a 24-bit output image type (IMAGEMODE RGB (or RGBA))</DIV>
<DIV>2) set TRANSPARENCY ALPHA in the layer using antialiased lines</DIV>
<DIV>3) set ANTIALIAS TRUE in the STYLE element of the CLASS with antialiased lines</DIV>
<DIV>&nbsp;</DIV>
<DIV>The following mapfile snippets enable antialiased county borders:</DIV>
<DIV>&nbsp;</DIV>
<DIV>...</DIV>
<DIV>IMAGETYPE png24</DIV>
<DIV>...</DIV>
<DIV>OUTPUTFORMAT<BR>&nbsp; NAME png24<BR>&nbsp; DRIVER "GD/PNG"<BR>&nbsp; MIMETYPE "image/png"<BR>&nbsp; IMAGEMODE RGB<BR>&nbsp; EXTENSION "png"<BR>END<BR>...</DIV>
<DIV>LAYER<BR>&nbsp; NAME counties<BR>&nbsp; TYPE line<BR>&nbsp; STATUS default<BR>&nbsp; DATA "/r01/data/drs/data/gen/state/mn/bdry_counln2"<BR>&nbsp; TRANSPARENCY alpha<BR>&nbsp; SYMBOLSCALE 5000000<BR>&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp; STYLE<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WIDTH 3<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 1 1 1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ANTIALIAS true<BR>&nbsp;&nbsp;&nbsp; END<BR>&nbsp; END<BR>END<BR>...</DIV>
<DIV>&nbsp;</DIV>
<DIV>Note that the bdry_counln2 shapefile referenced in the counties layer is a line shapefile.&nbsp; If I drop a polygon shapefile into the DATA element, and leave TYPE as line, the results are more or less the same.&nbsp; Alternatively, I can use a polygon shapefile, set TYPE to POLYGON, and use OUTLINECOLOR in place of COLOR in the STYLE element.&nbsp; In any case, I'm not sure that the POLYLINE type is supported any longer.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Finally, note that you can tweak the combination of STYLE-&gt;WIDTH and SYMBOLSCALE to modify line widths in your output images.</DIV>
<DIV>&nbsp;</DIV>
<DIV>HTH,</DIV>
<DIV>&nbsp;</DIV>
<DIV>--Ken</DIV>
<DIV><BR><BR>&gt;&gt;&gt; Paul Dugas &lt;paul@DUGAS.CC&gt; 4/19/2006 10:59 AM &gt;&gt;&gt;<BR></DIV>
<DIV style="COLOR: #000000">I cannot seem to get MapServer-4.8.3 to draw antialiases lines.&nbsp; It is<BR>working for polygons, but not for polylines.&nbsp; I got this working a long<BR>time ago for another project but can't seem to this time.&nbsp; What I'm<BR>really trying to accomplish is a smoothed two-tone line.&nbsp; I've tried<BR>using ELLIPSE and CARTOLINE symbols with no success.&nbsp; <BR><BR>Would someone be willing to share a small working example I can start<BR>from?<BR><BR>Thanks in advance,<BR><BR>Paul<BR>-- <BR>Paul Dugas, Computer Engineer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dugas Enterprises, LLC<BR>paul@dugas.cc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; phone: 404-932-1355&nbsp;&nbsp;&nbsp;&nbsp; 522 Black Canyon Park<BR><A href="http://dugas.cc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;">http://dugas.cc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</A> fax: 866-751-6494&nbsp;&nbsp;&nbsp;&nbsp; Canton, GA 30114 USA<BR>--<BR>On site at GDOT's W.Annex, 404-463-2860 x199<BR>--<BR>This e-mail and any attachments are confidential.&nbsp; If you receive<BR>this message in error or are not the intended recipient, you should<BR>not retain, distribute, disclose or use any of this information and<BR>you should destroy the e-mail and any attachments or copies.<BR><BR></DIV></BODY></HTML>