[Mapserver-users] GDAL / GIF misunderstanding?

Doug Cates doug at moximedia.com
Tue Mar 4 13:21:34 EST 2003


Hi,

I'm wondering if I'm confused.

I've added a WMS client layer whose source is only available in GIF to a map
file. I've got GDAL installed with internal GIF support. I'm using the map
as a WMS server. As I don't have GIF output support, I'm requesting the
output format set to image/png. When requesting a map, I see:

<ServiceExceptionReport version="1.1.0">
<ServiceException>
drawGIF(): Image handling error. GIF support is not available.
</ServiceException>
</ServiceExceptionReport>
Content-type: text/html
<HTML>
<HEAD><TITLE>MapServer Message</TITLE></HEAD>
<!-- MapServer version 3.6.4 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
SUPPORTS=PROJ SUPPORTS=TTF SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=GDAL INPUT=SHAPEFILE -->
<BODY BGCOLOR="#FFFFFF">
drawGIF(): Image handling error. GIF support is not available.
</BODY></HTML>

Do I misunderstand? I thought that if I use GDAL, I should be able to read
the GIFs. I'm not trying to write GIF, but the drawGIF() message above seems
to indicate that I'm trying to do so. I'm definitely requesting the map
using FORMAT=image/png in the WMS request.

Any ideas would be appreciated.

Doug
--
Doug Cates
Moxi Media Inc.
757 - 1641 Lonsdale Avenue,
Vancouver, BC, Canada V7M 2J5
Phone:  604-984-8109
Fax:    604-608-4764
E-Mail: doug at moximedia.com
Web:    www.moximedia.com






More information about the mapserver-users mailing list