Ticket #505 (closed defect: fixed)
Can't get TIFF files to disply in MS 4.0
|Reported by:||tmelhuish@…||Owned by:||mapserverbugs|
I have not been able to get Tiff files to work with Mapserver 4.0 using perl mapscript? I have it working fine in Mapserver 3.6.6 using GD 2.0.11, GDAL 1.1.8 and LibTiff 3.5.7 performing the same build process. With the build below I just get as blank screen in Mapserver 4.0.1 with no error messages in apache. I didnt see any changes from going from MS 3 to MS 4.0 related to Tiff support, but maybe I missing something. +++++++++++++++++++++++++++++++++++++++++ GD Note: Mapserver 4.0 requires gd-2.0.15 or newer a. Download gd-2.0.15.tar.gz from http:www.boutell.com/gd/. Install the gd-2.0.15 in /usr/local/src directory. b. Type in >./configure with-jpeg=/usr/local Note: You should see PNG JPEG & Freetype supported. c. Type in >make d. Type in >make install e. Type in >make clean GDAL a. Download libgdal-1.1.9.tar.gz from http://www.remotesensing.org/gdal/. Install the libgdal-1.1.9 in /usr/local/src directory. b. Type in >./configure with-png=/usr/local with-jpeg=/usr/local // Note: I had to use the internal libtiff & libgeotiff supplied in GDAL to get mapserver to work. Postgresql should be located when running ./configure also. c. Type in >make d. Type in >make install e. Type in >make clean f. To check out the install type in gdal-config formats LIBTIFF a. Download tiff-v3.5.7.tar.gz from http:www.libtiff.org/library/Distrubution. Install the tiff-v3.5.7 in /usr/local/src directory. a. Might have to edit the configure file to define the directories for Jpeg & libz These are /usr/lib b. Type in >./configure c. Type in >make d. Type in >make install e. Type in >make clean MAPSERVER Type in >./configure with-postgis=/usr/local/pgsql/bin/pg_config -- with-proj with-wmsclient with-tiff=/usr/local with jpeg=/usr/local with- gd=/usr/local with-gdal=/usr/local/bin/gdal-config with- php=/usr/local/include/php with-pdf with-libwww=/usr/local. ++++++++++++++++++++++ My mapfile layer for the Tiff layer display LAYER NAME "orthos" STATUS ON TYPE RASTER TILEINDEX jcorthosindex.shp TILEITEM "location" # /var/www/html/mapserver/graphics/1630.tif Tried this with no help either #MAXSCALE 20000 END
Note: See TracTickets for help on using tickets.