[Mapserver-users] Re: [Mapserver-dev] Draw line with antialias

Paul Spencer spencer at dmsolutions.ca
Thu Jun 12 11:15:32 EDT 2003


andrea, there is a config option for enabling antialias support that is 
off by default right now ... I doubt any of the pre-built windows 
binaries have enabled it.  Perhaps Assefa can modify his build to 
include support for it?

andrea.rogges at virgilio.it wrote:

> Hi to all,
> I'm trying to draw lines using antialias filter with MapServer, but I've
> some problems: I use MapServer 4.0 beta 1 (gif support; binary download)
> with w2k, and my .map files is:
> ....
> 
> SYMBOL
>  NAME road_symbol
>  TYPE ellipse
>  FILLED true
>  POINTS 
>   1 1 
>  END
> END
> 
> LAYER
>   NAME spezia_city
>   GROUP roads
>   STATUS ON
>   DATA spezia
>   TYPE LINE
>   LABELITEM "alternativ"
>   
>   CLASS
>     COLOR 240 240 240
>     SIZE 8
>     SYMBOL road_symbol
>     STYLE
>      ANTIALIAS TRUE # seems to be wrong!
>     END
>     LABEL
>       ANGLE AUTO
>       ANTIALIAS true 
>       TYPE truetype
>       FONT arial
>       SIZE 7
>       MINDISTANCE 10
>       COLOR 0 0 0
>     END
>   END
> END
> 
> ....
> 
> The results is this message:
> 
>  "loadStyle(): GD library error: Antialiasing support is not available.
> Get a newer version of GD!"
> 
> What can I do? Do I need to recompile MapServer with GD v2.0.15 instead
> of v2.0.12?
> 
> Any help is very appreciate.
> 
> Bye,
> Andrea Rogges.
> 
> 
> 
> 
> _______________________________________________
> Mapserver-dev mailing list
> Mapserver-dev at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-dev
> 

-- 
Paul Spencer
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca





More information about the mapserver-users mailing list