Opened 21 years ago
Closed 21 years ago
#505 closed defect (fixed)
Can't get TIFF files to disply in MS 4.0
Reported by: | Owned by: | mapserverbugs | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Build Problems | Version: | 4.1 |
Severity: | normal | Keywords: | |
Cc: |
Description
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
Change History (3)
comment:2 by , 21 years ago
I used the mapserver configure option --without-tiff and now the tiff files are being displayed. --thanks I have another problem now. When I go in and change the extents (zooming, zoomout scale), mapserver looks like its running an infinite loop. My zoom results come back to the browser OK but then the disk light starts to coming on solid and it will run for 20 minutes. I can't get back into my server even to kill the process. This doesn't appear to be related to the Tiffs since I can turn the layer off an the same thing happens. If I stop apache the processing stops. Any other thoughts?
comment:3 by , 21 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I found a problem in my script that caused an infinite loop when I go in and change the extents (zooming,zoomout scale). Thanks again for your help with the tiffs.
Note:
See TracTickets
for help on using tickets.