<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3354" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=679380214-02102008>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=679380214-02102008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=679380214-02102008>I am rather sure that everything is OK and warning you
get means just what it tells: there is some tiff tag not recognised by
tiffinfo.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=679380214-02102008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=679380214-02102008>-Jukka Rahkonen-</SPAN></FONT></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=fi dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Lähettäjä:</B>
mapserver-users-bounces@lists.osgeo.org
[mailto:mapserver-users-bounces@lists.osgeo.org] <B>Puolesta
</B>Dejan.Gambin@pula.hr<BR><B>Lähetetty:</B> 2. lokakuuta 2008
16:28<BR><B>Vastaanottaja:</B> mapserver-users@lists.osgeo.org<BR><B>Aihe:</B>
[mapserver-users] Re:aaigrid display problem <BR></FONT><BR></DIV>
<DIV></DIV><BR><FONT face=sans-serif size=2>Hi,</FONT> <BR><BR><FONT
face=sans-serif size=2>I have sucessfully converted the ESRI ascii grid file
to Geotiff using gdal_translate. But using tiffinfo on newly created file
gives me something like this:</FONT> <BR><BR><FONT face=sans-serif
size=2>TIFFReadDirectory: Warning, Unknown field with tag 33550 (0x830e)
encountered.</FONT> <BR><FONT face=sans-serif size=2>TIFFReadDirectory:
Warning, Unknown field with tag 33922 (0x8482) encountered.</FONT> <BR><FONT
face=sans-serif size=2>TIFFReadDirectory: Warning, Unknown field with tag
42113 (0xa481) encountered.</FONT> <BR><FONT face=sans-serif size=2>TIFF
Directory at offset 0x900008 (9437192)</FONT> <BR><FONT face=sans-serif
size=2> Image Width: 1427 Image Length: 1427</FONT> <BR><FONT
face=sans-serif size=2> Tile Width: 256 Tile Length: 256</FONT>
<BR><FONT face=sans-serif size=2> Bits/Sample: 32</FONT> <BR><FONT
face=sans-serif size=2> Sample Format: IEEE floating point</FONT>
<BR><FONT face=sans-serif size=2> Compression Scheme: None</FONT>
<BR><FONT face=sans-serif size=2> Photometric Interpretation:
min-is-black</FONT> <BR><FONT face=sans-serif size=2> Samples/Pixel:
1</FONT> <BR><FONT face=sans-serif size=2> Planar Configuration: single
image plane</FONT> <BR><FONT face=sans-serif size=2> Tag 33550:
5.000000,5.000000,0.000000</FONT> <BR><FONT face=sans-serif size=2> Tag
33922:
0.000000,0.000000,0.000000,6400997.500000,5041132.500000,0.000000</FONT>
<BR><FONT face=sans-serif size=2> Tag 42113: -999</FONT> <BR><FONT
face=sans-serif size=2>TIFF Directory at offset 0x900230 (9437744)</FONT>
<BR><FONT face=sans-serif size=2> Subfile Type: reduced-resolution image
(1 = 0x1)</FONT> <BR><FONT face=sans-serif size=2> Image Width: 714
Image Length: 714</FONT> <BR><FONT face=sans-serif size=2> Tile Width:
128 Tile Length: 128</FONT> <BR><FONT face=sans-serif size=2>
Bits/Sample: 32</FONT> <BR><FONT face=sans-serif size=2> Sample Format:
IEEE floating point</FONT> <BR><FONT face=sans-serif size=2> Compression
Scheme: None</FONT> <BR><FONT face=sans-serif size=2> Photometric
Interpretation: min-is-black</FONT> <BR><FONT face=sans-serif size=2>
Samples/Pixel: 1</FONT> <BR><FONT face=sans-serif size=2> Planar
Configuration: single image plane</FONT> <BR><FONT face=sans-serif size=2>TIFF
Directory at offset 0x9003f2 (9438194)</FONT> <BR><FONT face=sans-serif
size=2> Subfile Type: reduced-resolution image (1 = 0x1)</FONT>
<BR><FONT face=sans-serif size=2> Image Width: 357 Image Length:
357</FONT> <BR><FONT face=sans-serif size=2> Tile Width: 128 Tile
Length: 128</FONT> <BR><FONT face=sans-serif size=2> Bits/Sample:
32</FONT> <BR><FONT face=sans-serif size=2> Sample Format: IEEE floating
point</FONT> <BR><FONT face=sans-serif size=2> Compression Scheme:
None</FONT> <BR><FONT face=sans-serif size=2> Photometric
Interpretation: min-is-black</FONT> <BR><FONT face=sans-serif size=2>
Samples/Pixel: 1</FONT> <BR><FONT face=sans-serif size=2> Planar
Configuration: single image plane</FONT> <BR><FONT face=sans-serif size=2>TIFF
Directory at offset 0x9004dc (9438428)</FONT> <BR><FONT face=sans-serif
size=2> Subfile Type: reduced-resolution image (1 = 0x1)</FONT>
<BR><FONT face=sans-serif size=2> Image Width: 179 Image Length:
179</FONT> <BR><FONT face=sans-serif size=2> Tile Width: 128 Tile
Length: 128</FONT> <BR><FONT face=sans-serif size=2> Bits/Sample:
32</FONT> <BR><FONT face=sans-serif size=2> Sample Format: IEEE floating
point</FONT> <BR><FONT face=sans-serif size=2> Compression Scheme:
None</FONT> <BR><FONT face=sans-serif size=2> Photometric
Interpretation: min-is-black</FONT> <BR><FONT face=sans-serif size=2>
Samples/Pixel: 1</FONT> <BR><FONT face=sans-serif size=2> Planar
Configuration: single image plane</FONT> <BR><BR><FONT face=sans-serif
size=2>The file is displayed correctly but when I try to build the overviews
using gdaladdo I get warnings:</FONT> <BR><BR><FONT face=sans-serif
size=2>Warning 1: TIFFReadDirectory:LDAY.tif: Wrong "StripByteCounts" field,
ignoring and calculating from imagelength</FONT> <BR><FONT face=sans-serif
size=2>Warning 1: TIFFReadDirectory:LDAY.tif: Wrong "StripByteCounts" field,
ignoring and calculating from imagelength</FONT> <BR><BR><FONT face=sans-serif
size=2>New file with overviews is created and everything looks fine with
gdalinfo, but tiffinfo gives the same output as before. Is this something I
need to care about or I can just ignore it?</FONT> <BR><BR><FONT
face=sans-serif size=2>regards, dejan</FONT></BLOCKQUOTE></BODY></HTML>