Thank you for your suggestion.

I have corrected the mapfile ( added IMAGETYPE 'AGG'), however, when I try to load the map, I get a 500 web server error:

[Tue Jun 16 13:43:25 2009] [error] [client 80.97.196.77] Premature end of script headers: mapserv, referer: http://terra/msmap/testmap.pl

It seems to me that mapserv dies and doesn't output any headers back. How could I find out the error message? I already have a log statement in my WEB section: LOG "/var/www/html/map.log" (the file is writable by apache)

Unfortunately I don't get anything in this log.

My mapserver supports:

[r...@terra html]# /var/www/cgi-bin/mapserv -v
MapServer version 5.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=THREADS SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=MYGIS INPUT=SHAPEFILE

Any ideas how to debug this?

Thanks

Andreas Albarello wrote:
Adrian Popa wrote:
The original mapfile had rendering set up like this:
IMAGETYPE PNG

while the new mapfile has rendering set up like this:
IMAGETYPE PNG
OUTPUTFORMAT
>   NAME 'AGG'
>   DRIVER AGG/PNG
  IMAGEMODE RGB
END

Adrian,

you'll most likely need to write

IMAGETYPE 'AGG'

instead of

IMAGETYPE PNG

to make sure your new outputformat is used.

Best regards,



_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to