[Mapserver-users] problems with JPEG / GDAL

Ignacio Laplagne laplagnegeo at softhome.net
Thu Jul 24 18:59:20 EDT 2003


Thanks Randy. Yes, our installation should support jpeg. This is what
gdal-config returns:

%gdal-config --formats
gxf gtiff hfa aigrid aaigrid ceos ceos2 iso8211 bsb xpm sdts raw dted
mem jdem envisat elas fit vrt usgsdem l1b nitf bmp gif jpeg png

Ignacio

-----Mensaje original-----
De: Randy James [mailto:rjames57 at yahoo.com] 
Enviado el: jueves, 24 de julio de 2003 19:51
Para: Ignacio Laplagne
Asunto: Re: [Mapserver-users] problems with JPEG / GDAL

Hi

Looks like your mapsever is compiled with gdal already.
Maybe gdal is not compiled to support jpeg?

Cheers
Randy
--- Ignacio Laplagne <laplagnegeo at softhome.net> wrote:
> Hi,
>  
> We are using mapserver and trying to draw a map which
> includes a layer
> with raster information as JPEG file. When we call the
> CGI we get the
> following answer:
>  
> drawJPEG(): Unable to access file. Only grayscale JPEG
> images are
> supported.
>  
> We are aware that the built-in capabilities of mapserver
> have this
> restriction. However, we have installed mapserver WITH
> GDAL support,
> which supposedly doesn't have that limitation. Can
> anybody tell us how
> to force mapserver to use GDAL? The examples we run with
> other data
> formats in our server (tiff, etc) work fine.
>  
> Our compilation is the following:
>  
> ./mapserv -v
> MapServer version 3.6.5 OUTPUT=PNG OUTPUT=JPEG
> OUTPUT=WBMP SUPPORTS=TTF
> INPUT=EPPL7 INPUT=JPEG INPUT=POSTGIS INPUT=GDAL
> INPUT=SHAPEFILE
>  
> Redhat 8.0, apache 2.0.45.
>  
> Many thanks.
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com




More information about the mapserver-users mailing list