line, cartoline antialiasing

Thomas Hammerlund tom at MAPLINK.JP
Thu Aug 17 00:28:24 PDT 2006


Hi Volkan,

What kind of an OS are you using?  Certain types of Linux require a patch.

Tom


----- Original Message ----- 
From: "Volkan Ulukut" <vulukut at TESCILTURK.COM>
To: <MAPSERVER-USERS at LISTS.UMN.EDU>
Sent: Thursday, August 17, 2006 3:59 PM
Subject: [UMN_MAPSERVER-USERS] line, cartoline antialiasing


> Hi List,
> I've read about the antialiasing feature for lines but can't seem to work 
> it
> on my mapserver. When I add "antialiasing true" parameter on the style of
> the class of line layer nothing changes it's still having bad sight as 
> seen
> on the attachment
> Here is the relevant part of the map file. I've tested with cartoline 
> symbol
> and plain line without any symbol, same result
>
> IMAGETYPE png
> SYMBOL
>  NAME "cartoline"
>  TYPE cartoline
>  FILLED TRUE
>  LINECAP round #[butt|round|square|triangle]
>  LINEJOIN round #[round|miter|bevel]
>  LINEJOINMAXSIZE 3
> END
> LAYER
>    NAME "Antalya"
>    STATUS ON
>    TYPE LINE
>    CONNECTIONTYPE OGR
>    CONNECTION "antalya.ovf"
>    LABELITEM "adi"
>    GROUP "gantalya"
>    DATA "antalya"
>   LABELMAXSCALE 15000
>    MINSCALE 500
>  MAXSCALE 25000
>   METADATA
>     "queryable" "true"
>     "searchfield" "adi"
>   END
>     CLASS
>   STYLE
>        #SYMBOL 'cartoline'
>        COLOR 120 120 120
>        OUTLINECOLOR 254 254 254
>        WIDTH 7
>        MINSIZE 1
>        MAXSIZE 100
>   ANTIALIAS TRUE
>        END
>     LABEL
>        TYPE TRUETYPE
>        FONT "fritqat"
>        SIZE 7
>        MINSIZE 4
>        MAXSIZE 256
>        POSITION AUTO
>        OFFSET 0 0
>        ANGLE AUTO
>        BUFFER 0
>        MINDISTANCE -1
>        MINFEATURESIZE -1
>        COLOR 0 0 0
>        OUTLINECOLOR 254 254 254
>        ANTIALIAS TRUE
>        PARTIALS FALSE
>        FORCE FALSE
>   ENCODING "ISO-8859-9"
>      END
>   END
> END
> 



More information about the MapServer-users mailing list