It works! Thank you very much! Even better, this is much simpler than using VECTOR or ELLIPSE symbols!<br><br><div class="gmail_quote">On Wed, Apr 23, 2008 at 1:29 PM, thomas bonfort &lt;<a href="mailto:thomas.bonfort@gmail.com">thomas.bonfort@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">by the way, seeing your output I don&#39;t think that you&#39;re using agg.<br>
have you correctly set IMAGETYPE AGGA in your mapfile (or use<br>
format=AGGA in your url if using mapserv)<br>
<div class="Ih2E3d">thomas<br>
<br>
On Wed, Apr 23, 2008 at 5:02 AM, Jackey Cheung &lt;<a href="mailto:cheung.jackey@gmail.com">cheung.jackey@gmail.com</a>&gt; wrote:<br>
</div><div><div></div><div class="Wj3C7c">&gt; Greetings!<br>
&gt;<br>
&gt;<br>
&gt; I&#39;ve generated a map: <a href="http://maps.mapking.com/eg.png" target="_blank">http://maps.mapking.com/eg.png</a><br>
&gt;<br>
&gt; with these:<br>
&gt;<br>
&gt; &nbsp; &nbsp; OUTPUTFORMAT<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; NAME &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;AGGA&quot;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DRIVER &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;AGG/PNG&quot;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; IMAGEMODE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;RGBA<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; TRANSPARENT &nbsp; &nbsp; &nbsp; &nbsp;ON<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; EXTENSION &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;png&quot;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; FORMATOPTION &nbsp; &nbsp; &quot;INTERLACE=OFF&quot;<br>
&gt; &nbsp; &nbsp; &nbsp;END<br>
&gt;<br>
&gt; &nbsp; &nbsp; CLASS<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; MAXSCALEDENOM &nbsp; &nbsp;5000000<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; MINSCALEDENOM &nbsp; &nbsp;500000<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; STYLE<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WIDTH &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;4<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; COLOR &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;50 50 50<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; END<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; STYLE<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SYMBOL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;rail_line&quot;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SIZE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; COLOR &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;250 250 250<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; END<br>
&gt; &nbsp; &nbsp; &nbsp;END<br>
&gt;<br>
&gt; SYMBOL<br>
&gt; &nbsp; NAME &quot;rail_line&quot;<br>
&gt; &nbsp; &nbsp;TYPE ELLIPSE<br>
&gt; &nbsp; POINTS<br>
&gt; &nbsp; &nbsp; &nbsp; 1 1<br>
&gt; &nbsp; END<br>
&gt; &nbsp; STYLE<br>
&gt; &nbsp; &nbsp; 8 4 8<br>
&gt; &nbsp; END<br>
&gt; # &nbsp; &nbsp;GAP 100<br>
&gt; &nbsp; FILLED TRUE<br>
&gt; &nbsp; &nbsp; #ANTIALIAS &nbsp; &nbsp;TRUE<br>
&gt; END<br>
&gt;<br>
&gt;<br>
&gt; As you can see in the image, the everything are smooth except the railway.<br>
&gt; All line and polygon layers are drawn with &quot;simple&quot; styles without the use<br>
&gt; of SYMBOL. Only the railway lines are drawn with a VECTOR symbol.<br>
&gt; &nbsp;Does AGG&#39;s anti-alias works with symbols? &nbsp;If not, any work around?<br>
&gt;<br>
&gt;<br>
</div></div><div><div></div><div class="Wj3C7c">&gt; _______________________________________________<br>
&gt; &nbsp;mapserver-users mailing list<br>
&gt; &nbsp;<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
&gt; &nbsp;<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>