[gdal-dev] JPEG2000 issues
Frank Warmerdam
warmerdam at pobox.com
Mon Nov 10 08:47:22 EST 2008
Stephen Woodbridge wrote:
> Stephen Woodbridge wrote:
>> Hi Frank, et al,
>>
>> I'm working with GDAL 1.5.3, released 2008/09/09 built with libjasper
>> so I can process some DOQQ composites and chop them into smaller tiles.
>>
>> Below is a typical image but I get a bunch of errors in gdalinfo. The
>> system has like 6 GB of memory and only about 1.5GB of swap. The
>> compressed image is huge at 538MB. I tried 3-4 images in the directory
>> and got the same report on all of them.
>>
>> Any thoughts on this?
>> Is this a real problem, ie. I will not be able to access these images.
>> Other options solutions?
Steve,
I'm not familiar with the "cannot get box" error you are seeing, but
generally speaking the JasPer based JPEG2000 driver is not suitable for
use on large images due to it's decode-the-whole-image-in-memory model
of imagery access.
Best regards,
>> Band 1 Block=256x256 Type=Byte, ColorInterp=Undefined
>> error: expecting signature box
>> Metadata:
>> LAYER_TYPE=athematic
>> error: cannot get box
>> <GDALRasterAttributeTable/>
>>
>> error: cannot get box
>
> I must be a Zen thing that I always find answers after a give up looking
> and post to the list. So, to reply to myself, I was about to use the
> JP2MrSID driver like the following and without any error. So, I'll try
> to move forward using this more of access. I'm still interested in any
> other thoughts you have on the above issues.
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the gdal-dev
mailing list