[mapserver-users] AGG Rendering
Andrew Ayre
andy at britishideas.com
Fri Apr 3 09:29:27 PDT 2009
Thanks to Håvard I now have AGG compiled in. I needed to modify the
configure file:
AGG_LIB="-L$AGG_LIBDIR -lagg_pic -laggfontfreetype_pic"
Now I have SUPPORTS=AGG. Also the error has gone. But the output isn't
anti-aliased. Is there something else that I need to add to the map file
besides the outputformat section to get it to work?
MapServer version 5.2.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV
SUPPORTS=WMS_SERVER SUPPORTS=WFS_SERVER SUPPORTS=GEOS INPUT=EPPL7
INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
I'm using WMS and OpenLayers.
thanks, Andy
Andrew Ayre wrote:
> Hi! I can't seem to get AGG to work. Currently my output is not
> antialiased. Can anyone give me some hints? Thanks!
>
> OUTPUTFORMAT
> NAME 'AGG_Q'
> DRIVER AGG/PNG
> IMAGEMODE RGB
> FORMATOPTION "QUANTIZE_FORCE=ON"
> FORMATOPTION "QUANTIZE_DITHER=OFF"
> FORMATOPTION "QUANTIZE_COLORS=256"
> END
--
Andy
PGP Key ID: 0xDC1B5864
More information about the MapServer-users
mailing list