Zhonghai Wang wrote: > Hi Vincent, > > have you got a nice map image with the ANTIALIAS TRUE ? > > if so , can you give me a clue how to do that? > Unfortunately not, that's why I'm asking these questions... I was experimenting with antialiasing, but kept getting segmentation faults or premature end of script errors in my apache logs. But I did not put the 'transparency alpha' in my map laysers, because most of my layers for which I wanted aa are currently semitransparent polygons... I'll experiment with the transparency alpha thing later and post to the list if it worked.
Vincent. PS please do not only post your questions directly to me (or whoever posted a message to the list) but also to the list again (reply to all usually works well), so others can learn from it and/or share their experience. > > On 5/16/06, *Vincent Schut* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Steve Lime wrote: > > You need a couple of other things: > > > > - a 24-bit output format (e.g . IMAGETYPE PNG24) > > - alpha blending turned on for the layer (e.g. TRANSPARENCY ALPHA) > > > > That should get it working... > > To chime in: > But what if I want to have antialiasing *and* semi-transparency? How > would I define e.g. a opacity of 60 when I already have 'transparency > alpha' in my layer? > > Vincent. > > > > > Steve > > > > Stephen Lime > > Data & Applications Manager > > > > Minnesota DNR > > 500 Lafayette Road > > St. Paul, MN 55155 > > 651-259-5473 > >>>> ramesh karra <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > 05/15/06 6:49 PM >>> > > Hi, > > > > I have added 'ANTIALIAS TRUE' to all my STYLE objects > > but I do not see any difference in the map that's > > displayed. I was hoping to see smooth lines but there > > was no difference in the way lines(representing roads) > > are drawn with or without anti-aliasing. Is this the > > expected behavior? How can I get smooth lines? > > > > My layer is defined as follows: > > > > LAYER > > NAME roads > > DATA droad1 > > STATUS OFF > > TYPE LINE > > > > PROJECTION > > "init=epsg:4326" > > END > > > > CLASS > > NAME "Roads" > > MAXSCALE 80000 > > MINSCALE 20000 > > STYLE > > ANTIALIAS TRUE > > COLOR 150 150 150 > > WIDTH 3 > > END > > STYLE > > ANTIALIAS TRUE > > COLOR 255 255 255 > > WIDTH 1 > > END > > END > > END > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > >
