<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.24">
<TITLE>RE: [UMN_MAPSERVER-USERS] Anti Aliasing</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Hi Perry,</FONT>
</P>

<P><FONT SIZE=2>I don't think 2 will work, since transparency cannot be defined at the STYLE level. See also:</FONT>
</P>

<P><FONT SIZE=2><A HREF="http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1155" TARGET="_blank">http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1155</A></FONT>
</P>

<P><FONT SIZE=2>Best regards,</FONT>
<BR><FONT SIZE=2>Bart</FONT>
</P>

<P><FONT SIZE=2>-----Oorspronkelijk bericht-----</FONT>
<BR><FONT SIZE=2>Van: UMN MapServer Users List</FONT>
<BR><FONT SIZE=2>[<A HREF="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">mailto:MAPSERVER-USERS@LISTS.UMN.EDU</A>]Namens Pericles S. Nacionales</FONT>
<BR><FONT SIZE=2>Verzonden: dinsdag 16 mei 2006 14:53</FONT>
<BR><FONT SIZE=2>Aan: MAPSERVER-USERS@LISTS.UMN.EDU</FONT>
<BR><FONT SIZE=2>Onderwerp: Re: [UMN_MAPSERVER-USERS] Anti Aliasing</FONT>
</P>
<BR>

<P><FONT SIZE=2>Two things you can try...</FONT>
<BR><FONT SIZE=2>1. define two layers--one for polygon without outline color with </FONT>
<BR><FONT SIZE=2>transparency set to whatever number, and the other layer defined as line </FONT>
<BR><FONT SIZE=2>and with transparency set to alpha.</FONT>
<BR><FONT SIZE=2>2. Create two styles within the layer--1 for the polygon fill with </FONT>
<BR><FONT SIZE=2>transparency set to whatever value you want, 1 for the outlinecolor with </FONT>
<BR><FONT SIZE=2>transparency alpha.</FONT>
</P>

<P><FONT SIZE=2>I haven't tried the second one so I don't know if it works. ;)&nbsp; Make </FONT>
<BR><FONT SIZE=2>sure the line layer (or the outline style) is drawn on top.&nbsp; If you </FONT>
<BR><FONT SIZE=2>don't want the lines, then I don't know the answer.</FONT>
</P>

<P><FONT SIZE=2>-Perry</FONT>
</P>

<P><FONT SIZE=2>Vincent Schut wrote:</FONT>
<BR><FONT SIZE=2>&gt; Steve Lime wrote:</FONT>
<BR><FONT SIZE=2>&gt;&gt; You need a couple of other things:</FONT>
<BR><FONT SIZE=2>&gt;&gt;</FONT>
<BR><FONT SIZE=2>&gt;&gt;&nbsp;&nbsp; - a 24-bit output format (e.g. IMAGETYPE PNG24)</FONT>
<BR><FONT SIZE=2>&gt;&gt;&nbsp;&nbsp; - alpha blending turned on for the layer (e.g. TRANSPARENCY ALPHA)</FONT>
<BR><FONT SIZE=2>&gt;&gt;</FONT>
<BR><FONT SIZE=2>&gt;&gt; That should get it working...</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; To chime in:</FONT>
<BR><FONT SIZE=2>&gt; But what if I want to have antialiasing *and* semi-transparency? How</FONT>
<BR><FONT SIZE=2>&gt; would I define e.g. a opacity of 60 when I already have 'transparency</FONT>
<BR><FONT SIZE=2>&gt; alpha' in my layer?</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Vincent.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt;&gt; Steve</FONT>
<BR><FONT SIZE=2>&gt;&gt;</FONT>
<BR><FONT SIZE=2>&gt;&gt; Stephen Lime</FONT>
<BR><FONT SIZE=2>&gt;&gt; Data &amp; Applications Manager</FONT>
<BR><FONT SIZE=2>&gt;&gt;</FONT>
<BR><FONT SIZE=2>&gt;&gt; Minnesota DNR</FONT>
<BR><FONT SIZE=2>&gt;&gt; 500 Lafayette Road</FONT>
<BR><FONT SIZE=2>&gt;&gt; St. Paul, MN 55155</FONT>
<BR><FONT SIZE=2>&gt;&gt; 651-259-5473</FONT>
<BR><FONT SIZE=2>&gt;&gt;&gt;&gt;&gt; ramesh karra &lt;karrarm@YAHOO.COM&gt; 05/15/06 6:49 PM &gt;&gt;&gt;</FONT>
<BR><FONT SIZE=2>&gt;&gt; Hi,</FONT>
<BR><FONT SIZE=2>&gt;&gt;</FONT>
<BR><FONT SIZE=2>&gt;&gt; I have added 'ANTIALIAS TRUE' to all my STYLE objects</FONT>
<BR><FONT SIZE=2>&gt;&gt; but I do not see any difference in the map that's</FONT>
<BR><FONT SIZE=2>&gt;&gt; displayed. I was hoping to see smooth lines but there</FONT>
<BR><FONT SIZE=2>&gt;&gt; was no difference in the way lines(representing roads)</FONT>
<BR><FONT SIZE=2>&gt;&gt; are drawn with or without anti-aliasing. Is this the</FONT>
<BR><FONT SIZE=2>&gt;&gt; expected behavior? How can I get smooth lines?</FONT>
<BR><FONT SIZE=2>&gt;&gt;</FONT>
<BR><FONT SIZE=2>&gt;&gt; My layer is defined as follows:</FONT>
<BR><FONT SIZE=2>&gt;&gt;</FONT>
<BR><FONT SIZE=2>&gt;&gt; LAYER&nbsp; </FONT>
<BR><FONT SIZE=2>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; roads</FONT>
<BR><FONT SIZE=2>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; DATA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; droad1</FONT>
<BR><FONT SIZE=2>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; STATUS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OFF</FONT>
<BR><FONT SIZE=2>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; TYPE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LINE</FONT>
<BR><FONT SIZE=2>&gt;&gt;</FONT>
<BR><FONT SIZE=2>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; PROJECTION</FONT>
<BR><FONT SIZE=2>&gt;&gt;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &quot;init=epsg:4326&quot;</FONT>
<BR><FONT SIZE=2>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; END </FONT>
<BR><FONT SIZE=2>&gt;&gt;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=2>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; CLASS</FONT>
<BR><FONT SIZE=2>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;Roads&quot;</FONT>
<BR><FONT SIZE=2>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MAXSCALE&nbsp;&nbsp;&nbsp;&nbsp; 80000</FONT>
<BR><FONT SIZE=2>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINSCALE&nbsp;&nbsp;&nbsp;&nbsp; 20000</FONT>
<BR><FONT SIZE=2>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STYLE</FONT>
<BR><FONT SIZE=2>&gt;&gt; &nbsp;&nbsp;&nbsp;&nbsp; ANTIALIAS&nbsp;&nbsp;&nbsp; TRUE</FONT>
<BR><FONT SIZE=2>&gt;&gt; &nbsp;&nbsp;&nbsp;&nbsp; COLOR&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; 150 150 150</FONT>
<BR><FONT SIZE=2>&gt;&gt; &nbsp;&nbsp;&nbsp;&nbsp; WIDTH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3</FONT>
<BR><FONT SIZE=2>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END&nbsp; </FONT>
<BR><FONT SIZE=2>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STYLE</FONT>
<BR><FONT SIZE=2>&gt;&gt; &nbsp;&nbsp;&nbsp;&nbsp; ANTIALIAS&nbsp;&nbsp;&nbsp; TRUE</FONT>
<BR><FONT SIZE=2>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; 255 255 255</FONT>
<BR><FONT SIZE=2>&gt;&gt; &nbsp;&nbsp;&nbsp;&nbsp; WIDTH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1</FONT>
<BR><FONT SIZE=2>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=2>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; END</FONT>
<BR><FONT SIZE=2>&gt;&gt; END</FONT>
<BR><FONT SIZE=2>&gt;&gt;</FONT>
<BR><FONT SIZE=2>&gt;&gt; __________________________________________________</FONT>
<BR><FONT SIZE=2>&gt;&gt; Do You Yahoo!?</FONT>
<BR><FONT SIZE=2>&gt;&gt; Tired of spam?&nbsp; Yahoo! Mail has the best spam protection around </FONT>
<BR><FONT SIZE=2>&gt;&gt; <A HREF="http://mail.yahoo.com" TARGET="_blank">http://mail.yahoo.com</A> </FONT>
<BR><FONT SIZE=2>&gt;&gt;</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; .</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
</P>

<BR>


Disclaimer
************************************************************************
Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is
uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis
hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te 
informeren. Wij adviseren u om bij twijfel over de juistheid of de 
volledigheid van de mail contact met afzender op te nemen.

This message shall not constitute any rights or obligations.
This message is intended solely for the addressee.
If you have received this message in error, please delete it and
notify the sender immediately. When in doubt whether this message
is correct or complete, please contact the sender.
************************************************************************

<BR>
</BODY>
</HTML>