[mapserver-users] AGG Rendering problem

Tony Baylis tony.baylis at resexmap.com.au
Mon Oct 26 06:15:13 PDT 2009


Hi all,

This is my first post in a long time so be gentle...My problem is I have 
finally updated an old server to use MapServer 5.4.2 and want to use AGG 
rendering  I have done this without a problem on another server earlier 
in the year but for some reason whenever I add the 'OUTPUTFORMAT' 
section and remove 'IMAGETYPE' I get a Connection Lost type error from 
the browser.  Replace 'IMAGETYPE' and the connection is restored but the 
map is definitely not anti-aliased.

Below is the relevant section from my mapfile and below that the output 
from a ./mapserv -v.  Both outputs match the server that works.

#IMAGETYPE JPEG
OUTPUTFORMAT
  NAME "AGG_JPEG"
  DRIVER "AGG/JPEG"
  IMAGEMODE RGB
END

./mapserv -vMapServer version 5.4.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG 
OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG 
SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT 
SUPPORTS=WFS_CLIENT SUPPORTS=FASTCGI SUPPORTS=GEOS INPUT=TIFF 
INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

Here's hoping you can help.

Tony

-- 
Tony Baylis
Spatial Information Specialist
Resource and Exploration Mapping
Suite 8, 290 Boundary St
Spring Hill QLD 4000
Ph    3832 1600
Fax   3832 1603
Mob   0419 759 131
Email tony.baylis at resexmap.com.au
www   resexmap.com.au	




More information about the MapServer-users mailing list