[mapserver-dev] unable to read TIF with mapserver 5.3dev

Daniel Morissette dmorissette at mapgears.com
Thu Aug 21 08:27:13 EDT 2008


Since you've got GDAL in your build, I'd say take out the --with-tiff 
option and let GDAL handle your TIFFs... I believe the support for 
rasters through GDAL is more complete than the native TIFF support anyway.

Daniel


Guillaume Sueur wrote:
> Hi list,
> 
> I'm facing an abnormal behaviour with MapServer 5.3dev. It's unable to
> read a TIF file, althought is has been compiled with TIF support :
> MapServer version 5.3-dev 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=THREADS SUPPORTS=RGBA_PNG INPUT=TIFF
> INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
> 
> a shp2img on a mapfile containing a raster layer sends back
> msDrawRaster(): Image handling error. Unrecognized or unsupported image
> format <br>
> drawEPP(): Image handling error. /home/guillaume/3_DATA/342421111.tif is
> not an EPPL file. <br>
> 
> 
> which AFAIK means none of the drivers was able to open the file.
> If I run "file /home/guillaume/3_DATA/342421111.tif" I have back :
> TIFF image data, little-endian
> 
> What can happen here ?
> 
> Thanks,
> 
> 
> Guillaume
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev


-- 
Daniel Morissette
http://www.mapgears.com/


More information about the mapserver-dev mailing list