[ms4w-users] antialias lines

Bailey Bailey at texassabal.com
Wed Sep 12 11:40:38 EDT 2007


Hello All,

 

I'm trying to fix jagged lines.  See anything wrong with the Mapfile below? 

When I change IMAGEMODE to RGBA the background of my map turns black.  Also

if I take out SYMBOL "cartoline" from the Style tag under Layer, I do not

see any change in regard to antialiasing.  I have also tried removing
OUTPUTFORMAT png24.END

and only having IMAGETYPE png24, still jagged lines.

Any help would be greatly appreciated.  Thanks.

 

MapServer version 4.10.2  MS4W

PHP 5.2.3, Apache Apache 2.2.4

OS Windows XP

 

.shp file

 

In MAP:

 

IMAGETYPE png24

 

OUTPUTFORMAT

        NAME png24

        DRIVER "GD/PNG"

        MIMETYPE "image/png"

        IMAGEMODE RGB

        EXTENSION "png"

END   

 

SYMBOL

        NAME 'cartoline'

        TYPE cartoline

        LINECAP round

        LINEJOIN round

        LINEJOINMAXSIZE 3

END

 

 

 

LAYER

       NAME "Contours"

       STATUS on

       TYPE LINE

       DATA "Contours"

       SYMBOLSCALE 24000

       TRANSPARENCY alpha

       CLASS

              STYLE

                     COLOR 000 000 000

                     SYMBOL "cartoline"

                     ANTIALIAS TRUE

                     WIDTH 2

               END

       END

END   

 

 

Bailey

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ms4w-users/attachments/20070912/46bcadea/attachment.html


More information about the ms4w-users mailing list