Hi all, 

 

I think this might be a libtiff issue, but I'll cross post it here as
well just in case.

 

The issue I'm having is processing a 2.7 gb single page tiff. I wanted
to use gdal_retile (tried gdal 1.7.0b2 and 1.8.0) on this to first tile
and then eventually pyramid the resultant images.

However, when I tried to do a gdalinfo command or gdal _retile command
on the image I'd just get a memory error. So I tried to make the tiff
smaller using gdal_translate but got the same error:

 

gdal_translate -outsize 50% 50% \gebco_nordic_mareano_utm33.tif
c:\gebco50.tif

ERROR 1: \gebco_nordic_mareano_utm33.tif:Failed to allocate memory for
to read TIFF directory (0 elements of 12 bytes each)

ERROR 1: TIFFReadDirectory:Failed to read directory at offset 29368

GDALOpen failed - 1

TIFFReadDirectory:Failed to read directory at offset 29368

 

Tiff info below:

 

File Information:

Standard : : TIFF File

Format : : LZW  Compressed 24 bit RGB data

Pixels per Line :  46546

Number of Lines :  20002

Samples per pixel :  4

Untiled file

Number of overviews :  0

Scanning device resolution :  0  : None Specified

Orientation :  4  : Row major order, origin at top left

NO scan line headers : non-scannable file

Packet size (16-bit words) : 0

Free vlt space (16-bit words) : 65535

Free packet space (16-bit words) : 65535

Transformation matrix:

mx[ 0]=0.000000, mx[ 1]=0.000000, mx[ 2]=0.000000, mx[ 3]=0.000000

mx[ 4]=0.000000, mx[ 5]=0.000000, mx[ 6]=0.000000, mx[ 7]=0.000000

mx[ 8]=0.000000, mx[ 9]=0.000000, mx[10]=0.000000, mx[11]=0.000000

mx[12]=0.000000, mx[13]=0.000000, mx[14]=0.000000, mx[15]=0.000000

Geotiff_Information:

   Version: 1

   Key_Revision: 1.0

   Tagged_Information:

      ModelTiepointTag (2,3):

         0                0                0                

         -2587479.71      9561380.04       0                

      ModelPixelScaleTag (1,3):

         113.000127       195.002233       0                

      End_Of_Tags.

   Keyed_Information:

      GTModelTypeGeoKey (Short,1): ModelTypeProjected

      ProjectedCSTypeGeoKey (Short,1): PCS_WGS84_UTM_zone_33N

      End_Of_Keys.

   End_Of_Geotiff.

 

I have built using the bigtiff option so the size shouldn't be an issue,
does anyone have any thoughts on this, I've just come up against a brick
wall!!

 

Cheers

 

Tom

 

 

 

  <http://www.statkart.no/> 

Tom Ellett von Brasch
Senior Engineer
Norwegian Mapping Authority
Telephone + 47 45 80 64 02

Mobile + 47 45 80 64 02

E-mail:[email protected] <mailto:[email protected]>  

 

DISCLAIMER: This e-mail message and any attachments are confidential and
may be privileged or otherwise protected by legal rules, and for use by
the addressee only. If the message is received by anyone other than the
addressee, please delete it and any attachments from your computer
without copying it or disclosing its contents to anyone. Whilst all
reasonable care has been taken to avoid the transmission of viruses, no
responsibility is accepted in this regard and the recipient should scan
and carry out such other checks as it considers appropriate.

 

 

 

 

 <http://www.statkart.no/> 

Tom Ellett von Brasch
Senior Engineer
Norwegian Mapping Authority
Telephone + 47 45 80 64 02

Mobile + 47 45 80 64 02

E-mail:[email protected] <mailto:[email protected]>  

 

DISCLAIMER: This e-mail message and any attachments are confidential and
may be privileged or otherwise protected by legal rules, and for use by
the addressee only. If the message is received by anyone other than the
addressee, please delete it and any attachments from your computer
without copying it or disclosing its contents to anyone. Whilst all
reasonable care has been taken to avoid the transmission of viruses, no
responsibility is accepted in this regard and the recipient should scan
and carry out such other checks as it considers appropriate.

 

 

<<image001.jpg>>

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to