[Mapserver-users] GDAL, TIFF, JPEG Question

Pericles S. Nacionales nacional at cbs.umn.edu
Thu Jan 22 12:49:16 PST 2004


Dear MapServer gods,

I'm seeing a lot of folks send the output of "mapserv -v" like this:

MapServer version 4.0.1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF 
SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT 
INPUT=TIFF INPUT=JPEG INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

At first glance it all looks good.  But then look at  INPUT=TIFF, INPUT=JPEG, 
INPUT=GDAL.  Isn't compiling GDAL, TIFF and JPEG together as input libraries 
not a good idea?  Or is this no longer an issue?  I ask because I'm seeing a 
lot of this and am wondering if we should include something like this in the 
MapServer FAQ:

If you compile GDAL support make sure to disable TIFF and JPEG input support.  
This can be accomplished by adding "--without-tiff --without-jpeg"  
parameters when running "configure".  Alternatively, you can remove 
"-DUSE_TIFF" and "-DUSE_JPEG" in your Makefile (or Makefile.vc) before 
running make (or nmake).

What exactly are the problems that come up when TIFF and JPEG libs are 
compiled together with GDAL?  I know MapServer gets confused when reading 
TIFF/GeoTIFF images.  Are there others?





More information about the MapServer-users mailing list