Tif won't display
Eric Shuman
erics at AMERI-TITLE.COM
Mon Oct 3 16:59:23 PDT 2005
I am having a problem getting orthophotos to display via mapserver. Theres
a previous thread similar to mine, which concluded that the path was the
issue. In my case the image is in the same path as other data I use, which
displays fine. If I add in other layers to my map file they will show up.
No error messages ever are displayed. I have checked the map file using the
shp2img tool and get a 159 byte image returned that is blank. The tiff
works fine in ArcView and has the same projection as all my other data.
Anyone have any ideas about what might be the issue?? Is the FGS install
capable of handling tiffs out of the box?
Thanks for the help! Eric
# *************************************
# *********** MAP FILE ************
# *************************************
MAP
NAME Test
SIZE 750 690
IMAGETYPE PNG
IMAGECOLOR 255 255 255
SHAPEPATH "../data"
EXTENT 4523731 708810 5081065 996372
UNITS FEET
PROJECTION Oregon SP South
"init=epsg:32127"
END
WEB
TEMPLATE "../htdocs/template.html"
IMAGEPATH "/GIS/fgs/tmp/ms_tmp/"
IMAGEURL "/ms_tmp/"
END
LAYER # PHOTO raster layer begins here
NAME photo
DATA "1712323.tif"
TYPE RASTER
STATUS default
END
END
# *************************************
# *********** TIFF INFO ************
# *************************************
$ gdalinfo 1712323.tif
Driver: GTiff/GeoTIFF
Size is 5300, 5300
Coordinate System is:
PROJCS["IMAGINE GeoTIFF Support
Copyright 1991 - 2001 by ERDAS, Inc. All Rights Reserved
@(#)$RCSfile: egtf.c $ $Revision: 1.9.2.9 $ $Date: 2002/10/28 15:14:13EST $
Projection Name = Deschutes County
Units =",
GEOGCS["NAD83",
DATUM["North_American_Datum_1983",
SPHEROID["GRS 1980",6378137,298.2572221010042,
AUTHORITY["EPSG","7019"]],
AUTHORITY["EPSG","6269"]],
PRIMEM["Greenwich",0],
UNIT["degree (supplier to define representation)",0.01745329251994328],
AUTHORITY["EPSG","4269"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",43.00000000000005],
PARAMETER["central_meridian",-121.2833333333335],
PARAMETER["scale_factor",1.00016],
PARAMETER["false_easting",1005840.03218688],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]]]
Origin = (1002578.640000,117637.560000)
Pixel Size = (0.15240000,-0.15240000)
Metadata:
TIFFTAG_SOFTWARE=IMAGINE TIFF Support
Copyright 1991 - 1999 by ERDAS, Inc. All Rights Reserved
@(#)$RCSfile: etif.c $ $Revision: 1.9.1.3 $ $Date: 2002/07/29 15:39:06EDT $
TIFFTAG_XRESOLUTION=42.519691
TIFFTAG_YRESOLUTION=42.519691
TIFFTAG_RESOLUTIONUNIT=3 (pixels/cm)
Corner Coordinates:
Upper Left ( 1002578.640, 117637.560) (121d19'26.51"W, 44d 3'31.10"N)
Lower Left ( 1002578.640, 116829.840) (121d19'26.49"W, 44d 3'4.93"N)
Upper Right ( 1003386.360, 117637.560) (121d18'50.22"W, 44d 3'31.11"N)
Lower Right ( 1003386.360, 116829.840) (121d18'50.21"W, 44d 3'4.94"N)
Center ( 1002982.500, 117233.700) (121d19'8.36"W, 44d 3'18.02"N)
Band 1 Block=5300x1 Type=Byte, ColorInterp=Red
Band 2 Block=5300x1 Type=Byte, ColorInterp=Green
Band 3 Block=5300x1 Type=Byte, ColorInterp=Blue
# *************************************
# *********** SERVER INFO ***********
# *************************************
Fedora Core 3 using fgs-mapserver_phpmapscript_4.4.1-0.2.2-linux-i386.bin
for the mapserver install
$ fgs version
cat: /GIS/fgs/etc/fgs/API_VERSION: No such file or directory
* FGS API version :
* NAME VERSION
* apache-base 1.3.33
* curl-lib 7.12.2
* expat-base 1.95.8
* freetype-lib 2.1.9
* gdal-base 1.2.5
* gd-lib 2.0.33
* geos-lib 1.0.0
* jpeg-lib 6b
* libgeotiff-lib 1.2.2
* libiconv-base 1.9.1
* libpng-lib 1.2.6
* libungif-base 4.1.3
* mapserver-base 4.4.1
* mapserver-php 4.4.1
* netcdf-lib 3.5.1
* openssl-lib 0.9.7d
* php-base 4.3.10
* postgis-lib 1.0.0
* postgresql-lib 7.4.7
* postgresql-server 7.4.7
* proj4_epsg42xxx-support 1.0.0
* proj-lib 4.4.8
* tiff-lib 3.7.1
* unixODBC-base 2.2.10
* xerces_c-base 2_6_0
More information about the MapServer-users
mailing list