[gdal-dev] Large Raw Files
ldjohn at u...
ldjohn at u...
Wed Dec 12 14:18:51 EST 2001
On Wed, 12 Dec 2001, Frank Warmerdam wrote:
> Lowell and Others,
>
> I have altered the RawRasterBand class so it includes an optional
> extra bIsVSIL parameter. If FALSE (the default), then the normal
> VSI API will be used for file IO, and files may only be up to 2GB. If
> TRUE then the large file API (ie. VSIFSeekL(), VSIFReadL() and VSIFWriteL())
> will be used instead of the regular one.
>
> I have altered the PAux, and HKV (aka MFF2) formats to utilize this.
>
> To utilize this for LDF please ensure that you use the large file API
> to open and access your file, and pass bIsVSIL=TRUE when in the constructor
> call to RawRasterDataset. Let me know if you have questions about how to
> use the large file API.
>
> I don't have any convenient way to test this, so if you could do some testing
> with 5GB LDF and PAux files I would appreciate it.
>
> The large file API changes can be extented to other formats like ESRI labelled
> BIL, Envisat, and SAR_CEOS if needed. Anyone who wants this, and is willing
> to test it let me know and I will make the changes.
Thanks! I'll try to get the LDF drivers modified and tested
shortly. Then I'll get back to you with the results.
Lowell
--
--------------------------------------------------
Lowell D. Johnson
Software Engineering
Raytheon Systems
EROS Data Center
47914 252nd Street, Mundt Federal Bldg
Sioux Falls, SD 57198
--------------------------------------------------
More information about the Gdal-dev
mailing list