[Mapserver-users] How to force GDAL to read tiffs?

Jason M. Nielsen jnielsen at aero-graphics.com
Mon May 3 09:55:10 EDT 2004


Quoting Paco Regodon <mapserver at meteologica.es>:

> 
> Hello,
> 
> i am using mapserver-4.0-1mdk, the rpm package from Mandrake. It is compiled
> 
> with tiff support:
> 
> $ /var/www/cgi-bin/mapserv -v
> MapServer version 4.0 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ 
> SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_CLIENT
> 
> INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
> 
> 
> Is there any way i can force using GDAL to read tiff images? I can't compile
> 
> my own version. Is there any mapfile directive similar to OUTPUTFORMAT to 
> force using GDAL instead of builtin support?

If I recall there is an option --WITHOUT-TIFF or something similar. There is at
least one thread on the mailing list about this. I had the same problem.
Basically if you tell mapserver itself no tiff but also tell it use gdal TIFF
suport will just be automagically used via gdal.



More information about the mapserver-users mailing list