antialiasing line features..
thomas bonfort
thomas.bonfort at GMAIL.COM
Thu Oct 20 01:55:24 PDT 2005
antialias online works for lines 1 pixel thick
however you can use the cartoline symbol, which is antialiased
whatever the thickness.
cheers, tb
On 10/20/05, Ivan Price <Ivan.Price at nt.gov.au> wrote:
> hi there..
>
> is there a way to antialias line features ? antialiasing is working for
> labels fine but the following has no effect for the line itself:
>
> SYMBOL
> NAME 'line'
> TYPE ELLIPSE
> FILLED TRUE
> POINTS 1 1 END
> ANTIALIAS TRUE
> END
>
> ..
>
> CLASS
> EXPRESSION "NATIONAL HIGHWAY"
> STYLE
> ANTIALIAS TRUE
> END
> LABEL
> FONT arial
> TYPE truetype
> ANTIALIAS on
> COLOR 0 0 0
> ANGLE AUTO
> SIZE 9
> END
> SYMBOL "line"
> SIZE 3
> COLOR 204 0 51
> END
>
> running the following (on win2k)
> C:\mapserver>mapserv -v
> MapServer version 4.6.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=PDF
> OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE
> SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
> SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=THREADS INPUT=POSTGIS
> INPUT=ORACLESPATIAL INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG
>
>
> any ideas ?
>
> cheers,
>
> -ivan
>
More information about the MapServer-users
mailing list