[mapserver-users] Re:aaigrid display problem

Dejan.Gambin at pula.hr Dejan.Gambin at pula.hr
Thu Oct 2 09:27:51 EDT 2008


Hi,

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:

TIFFReadDirectory: Warning, Unknown field with tag 33550 (0x830e) 
encountered.
TIFFReadDirectory: Warning, Unknown field with tag 33922 (0x8482) 
encountered.
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) 
encountered.
TIFF Directory at offset 0x900008 (9437192)
  Image Width: 1427 Image Length: 1427
  Tile Width: 256 Tile Length: 256
  Bits/Sample: 32
  Sample Format: IEEE floating point
  Compression Scheme: None
  Photometric Interpretation: min-is-black
  Samples/Pixel: 1
  Planar Configuration: single image plane
  Tag 33550: 5.000000,5.000000,0.000000
  Tag 33922: 
0.000000,0.000000,0.000000,6400997.500000,5041132.500000,0.000000
  Tag 42113: -999
TIFF Directory at offset 0x900230 (9437744)
  Subfile Type: reduced-resolution image (1 = 0x1)
  Image Width: 714 Image Length: 714
  Tile Width: 128 Tile Length: 128
  Bits/Sample: 32
  Sample Format: IEEE floating point
  Compression Scheme: None
  Photometric Interpretation: min-is-black
  Samples/Pixel: 1
  Planar Configuration: single image plane
TIFF Directory at offset 0x9003f2 (9438194)
  Subfile Type: reduced-resolution image (1 = 0x1)
  Image Width: 357 Image Length: 357
  Tile Width: 128 Tile Length: 128
  Bits/Sample: 32
  Sample Format: IEEE floating point
  Compression Scheme: None
  Photometric Interpretation: min-is-black
  Samples/Pixel: 1
  Planar Configuration: single image plane
TIFF Directory at offset 0x9004dc (9438428)
  Subfile Type: reduced-resolution image (1 = 0x1)
  Image Width: 179 Image Length: 179
  Tile Width: 128 Tile Length: 128
  Bits/Sample: 32
  Sample Format: IEEE floating point
  Compression Scheme: None
  Photometric Interpretation: min-is-black
  Samples/Pixel: 1
  Planar Configuration: single image plane

The file is displayed correctly but when I try to build the overviews 
using gdaladdo I get warnings:

Warning 1: TIFFReadDirectory:LDAY.tif: Wrong "StripByteCounts" field, 
ignoring and calculating from imagelength
Warning 1: TIFFReadDirectory:LDAY.tif: Wrong "StripByteCounts" field, 
ignoring and calculating from imagelength

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?

regards, dejan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081002/152bbbb0/attachment.html


More information about the mapserver-users mailing list