[Mapserver-users] Geo TIFFs
Jason M. Nielsen
jnielsen at aero-graphics.com
Fri Jan 16 15:04:35 PST 2004
Quoting Frank Warmerdam <warmerdam at pobox.com>:
> The warning could conceivably be causing a problem in the mapserver
> context, but I doubt it. To fixup the error, you should be able to
> just use gdal_translate to copy the geotiff file.
>
> eg.
>
> gdal_translate top10c0.tif top10c0_new.tif
>
> Are you sure that mapserver is build "--without-tiff"? I think I said
> "--without-libtiff" last time which would be wrong.
>
> Best regards,
Cleaned it up with gdal_translate and the warning went away. I rebuilt mapserv
using --without-tiff.
[root at vad3rZIM data]# /var/www/cgi-bin/mapserv -v
MapServer version 4.0.1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ
SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
SUPPORTS=WFS_CLIENT INPUT=EPPL7 INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL
INPUT=SHAPEFILE
Now INPUT=TIFF is gone as I presume it should be since GDAL will be being used?
Samething still occures. No errors. Image just simply does not display.
[root at vad3rZIM data]# gdalinfo top10c0.tif
Driver: GTiff/GeoTIFF
Size is 3854, 3773
Coordinate System is `'
Origin = (1512385.000000,7356162.500000)
Pixel Size = (10.000000,-10.000000)
Metadata:
TIFFTAG_SOFTWARE=Adobe Photoshop 7.0
TIFFTAG_DATETIME=2004:01:14 09:03:52
Corner Coordinates:
Upper Left ( 1512385.000, 7356162.500)
Lower Left ( 1512385.000, 7318432.500)
Upper Right ( 1550925.000, 7356162.500)
Lower Right ( 1550925.000, 7318432.500)
Center ( 1531655.000, 7337297.500)
Band 1 Block=3854x2 Type=Byte, ColorInterp=Red
Band 2 Block=3854x2 Type=Byte, ColorInterp=Green
Band 3 Block=3854x2 Type=Byte, ColorInterp=Blue
BTW, while Im on the subject and have the gdal info up here. I do not recall
seeing anyplace where I can directly reference this "Metadata:" section in the
TIFF. Is this possible through mapserv directly or would a script of the like
need to be written (ie: perl, php, python etc) that made use of the likes of
gdal_info to extract said information?
With regard to why my tif is not displaying Im stumped. Everything appears to be
in order. I even went so far as to go backwards and remake the tiff from the
jpeg which actually came from this tiff. lol
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
More information about the MapServer-users
mailing list