[Gdal-dev] GDAL hanging on TIFF operation?

Ed McNierney ed at topozone.com
Fri Mar 4 10:49:21 EST 2005


Folks -

I'm a little puzzled by what seems a straightforward operation on
"ordinary" GeoTIFF images (some collar-clipped USGS DRG files).

I'm doing some performance testing on a set of 8-bit GeoTIFFs and I'm
using gdalwarp to convert to different formats/organizations.  But I
cannot figure out what's going on.  The files are correctly read by GDAL
as part of MapServer, but when I use the GDAL command-line utilities
gdalwarp and gdalinfo, they hang.

I've tried this with GDAL 1.2.5 and with the 1.2.6b3 code with the same
results.  I have no trouble with tiffinfo and listgeo (I'm building with
the external tiff and geotiff libraries) so I do not expect there's
anything wrong with those supporting libraries.  I get a few warning
messages (see below) that seem to be either expected (tiffinfo) or
chronic and harmless (incorrect count for field "DateTime").

The source files are 8-bit GeoTIFFs with LZW compression, organized as
one row/strip.  The tiffinfo and listgeo output is below - any ideas
would be appreciated.  Thanks!

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242 


# tiffinfo O40100H8.tif
O40100H8.tif: Warning, incorrect count for field "DateTime" (23,
expecting 20); tag ignored.
TIFFReadDirectory: Warning, O40100H8.tif: unknown field with tag 33550
(0x830e) encountered.
TIFFReadDirectory: Warning, O40100H8.tif: unknown field with tag 33922
(0x8482) encountered.
TIFFReadDirectory: Warning, O40100H8.tif: unknown field with tag 34735
(0x87af) encountered.
TIFFReadDirectory: Warning, O40100H8.tif: unknown field with tag 34737
(0x87b1) encountered.
TIFF Directory at offset 0x20b9fa
  Subfile Type: multi-page document (2 = 0x2)
  Image Width: 4442 Image Length: 5786
  Resolution: 250, 250 pixels/inch
  Bits/Sample: 8
  Compression Scheme: LZW
  Photometric Interpretation: palette color (RGB from colormap)
  Image Description: "USGS GeoTIFF DRG 1:24000 Quad of Dickens NW."
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 1
  Planar Configuration: single image plane
  Page Number: 0-1
  Color Map: (present)
  Software: TopoZone DRG Processing 1.1
  Tag 33550: 2.438400,2.438400,0.000000
  Tag 33922:
0.500000,0.500000,0.000000,331436.203920,4540683.787793,0.000000
  Tag 34735:
1,1,0,4,1024,0,1,1,1025,0,1,1,3072,0,1,26914,3073,-30799,25,0
  Tag 34737: UTM Zone 14 N with NAD83|

# listgeo O40100H8.tif
O40100H8.tif: Warning, incorrect count for field "DateTime" (23,
expecting 20); tag ignored.
Geotiff_Information:
   Version: 1
   Key_Revision: 1.0
   Tagged_Information:
      ModelTiepointTag (2,3):
         0.5              0.5              0                
         331436.204       4540683.79       0                
      ModelPixelScaleTag (1,3):
         2.4384           2.4384           0                
      End_Of_Tags.
   Keyed_Information:
      GTModelTypeGeoKey (Short,1): ModelTypeProjected
      GTRasterTypeGeoKey (Short,1): RasterPixelIsArea
      ProjectedCSTypeGeoKey (Short,1): PCS_NAD83_UTM_zone_14N
      PCSCitationGeoKey (Ascii,25): "UTM Zone 14 N with NAD83"
      End_Of_Keys.
   End_Of_Geotiff.

PCS = 26914 (NAD83 / UTM zone 14N)
Projection = 16014 (UTM zone 14N)
Projection Method: CT_TransverseMercator
   ProjNatOriginLatGeoKey: 0.000000 (  0d 0' 0.00"N)
   ProjNatOriginLongGeoKey: -99.000000 ( 99d 0' 0.00"W)
   ProjScaleAtNatOriginGeoKey: 0.999600
   ProjFalseEastingGeoKey: 500000.000000 m
   ProjFalseNorthingGeoKey: 0.000000 m
GCS: 4269/NAD83
Datum: 6269/North American Datum 1983
Ellipsoid: 7019/GRS 1980 (6378137.00,6356752.31)
Prime Meridian: 8901/Greenwich (0.000000/  0d 0' 0.00"E)
Projection Linear Units: 9001/metre (1.000000m)

Corner Coordinates:
Upper Left    (  331434.985, 4540685.007)
Lower Left    (  331434.985, 4526576.425)
Upper Right   (  342266.358, 4540685.007)
Lower Right   (  342266.358, 4526576.425)
Center        (  336850.671, 4533630.716)




More information about the Gdal-dev mailing list