line, cartoline antialiasing

Thomas Hammerlund tom at MAPLINK.JP
Thu Aug 17 00:40:11 PDT 2006


I'm by no means a programmer, but someone pointed me to this patch a few 
months ago.

http://lists.maptools.org/pipermail/ka-map-users/2006-March/001069.html

Take a look at it.

HTH,
Tom


----- Original Message ----- 
From: "Volkan Ulukut" <vulukut at tescilturk.com>
To: "'Thomas Hammerlund'" <tom at maplink.jp>
Sent: Thursday, August 17, 2006 4:39 PM
Subject: RE: [UMN_MAPSERVER-USERS] line, cartoline antialiasing


> Hi Thomas,
> I'm using;
> Kernel: 2.6.9-39.Elsmp
> RedHat Enterprise 4
> Mapserver version 4.8.3
> -----Original Message-----
> From: Thomas Hammerlund [mailto:tom at maplink.jp]
> Sent: Thursday, August 17, 2006 10:28 AM
> To: Volkan Ulukut
> Cc: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: Re: [UMN_MAPSERVER-USERS] line, cartoline antialiasing
>
> 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