problem with TIF on windows
"Ing. Jiří Cajthaml"
jiri.cajthaml at FSV.CVUT.CZ
Sun Jun 5 12:15:49 PDT 2005
This is output of gdalinfo:
Warning 1: c:\web\data\vm\Jhra_0_0.tif:incorrect count for field
"JPEGTables" (574, expecting 4294967293); tag ignored
ERROR 1: JPEGLib:JPEG parameter struct mismatch: library thinks size is
464, caller expects 432
Warning 1: RowsPerStrip not defined ... assuming all one strip.
Driver: GTiff/GeoTIFF
Size is 2500, 2000
Coordinate System is `'
Origin = (-702500.250000,-1139999.750000)
Pixel Size = (1.00000000,-1.00000000)
Metadata:
TIFFTAG_XRESOLUTION=96
TIFFTAG_YRESOLUTION=96
TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
Corner Coordinates:
Upper Left ( -702500.250,-1139999.750)
Lower Left ( -702500.250,-1141999.750)
Upper Right ( -700000.250,-1139999.750)
Lower Right ( -700000.250,-1141999.750)
Center ( -701250.250,-1140999.750)
Band 1 Block=2500x2000 Type=Byte, ColorInterp=Red
Band 2 Block=2500x2000 Type=Byte, ColorInterp=Green
Band 3 Block=2500x2000 Type=Byte, ColorInterp=Blue
Band 4 Block=2500x2000 Type=Byte, ColorInterp=Alpha
Jiri
Bart van den Eijnden napsal(a):
> Try to run gdalinfo on your TIFF file. What is the output?
>
> Gdalinfo is part of FWtools:
>
> http://fwtools.maptools.org/
>
> Best regards,
> Bart
>
> On Sun, 05 Jun 2005 20:16:14 +0200, Ing. Jiří Cajthaml
> <jiri.cajthaml at FSV.CVUT.CZ> wrote:
>
>> Hi,
>> I am a beginner with using Mapserver, and I have problem to display my
>> TIF files.
>> I am using Mapserver 4.4.0 on Windows XP,
>>
>> MapServer version 4.4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
>> OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE
>> SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
>> SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER INPUT=EPPL7 INPUT=POSTGIS
>> INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG
>>
>> I wanted to create a very simple mapfile with only raster layer, but it
>> doesn't display. If I use JPG file, it works...
>> Does anybody know why? (or what to do..)
>>
>> My Tiff file is probably compressed, and has *.tfw georefference
>>
>> MAP
>> EXTENT -721000 -1143000 -717750 -1142000
>> SIZE 500 400
>> UNITS meters
>> SHAPEPATH "c:\web\data\vm\"
>> TRANSPARENT ON
>> IMAGECOLOR 255 255 255
>> FONTSET "C:\WINDOWS\fonty\font.list"
>>
>> IMAGETYPE JPEG
>>
>> PROJECTION
>> "init=epsg:2065"
>> END
>>
>> LAYER
>> NAME Ortofoto10
>> DATA Jhra_7_1.jpg
>> TYPE RASTER
>> STATUS DEFAULT
>> END
>>
>> END
>>
>> Thanks, Jiri
>>
>
>
>
> --
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
>
More information about the MapServer-users
mailing list