[Mapserver-dev] Draw line with antialias

andrea.rogges at virgilio.it andrea.rogges at virgilio.it
Thu Jun 12 10:59:09 EDT 2003


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.







More information about the mapserver-dev mailing list