[Gdal-dev] Filesize limit exceeded using Jpeg2000

Andrey Kiselev dron at ak4719.spb.edu
Thu Jul 29 12:48:26 EDT 2004


On Wed, Jul 28, 2004 at 06:04:51PM -0400, Ken Sewell wrote:
> 1) I couldn't find any information on limits within JasPer, so I gave
> it a shot :)
> 
> 2) My mistake, I wasn't giving it the -of JPEG2000 option.  I thought
> gdal could figure it out from the extension.  Using the following command:
> 
> gdal_translate -of JPEG2000 03feb22182535_ortho_sharp 03feb22182535_ortho_sharp.jp2
> 
> I get the following:
> 
> Input file size is 22920, 28830
> 0...10...20...30.ERROR 1: Unable to write scanline 0 of the component 1.

It is definetely not possible to work with large files using JasPer. It
is limited by the 32-bit ofssets and sizes used in output streams, so
you should consider using other approaches. I shall make the appropriate
note at the GDAL format page. Anyway, it is interesting, is there any
size limit for the Kakadu?

						Andrey

-- 
Andrey V. Kiselev
Home phone:  +7 812 5274898  ICQ# 26871517



More information about the Gdal-dev mailing list