[Gdal-dev] HFA Driver behavior when spill file is present
Ozy Sjahputera
sjahputerao at missouri.edu
Fri Aug 31 10:33:27 EDT 2007
Hi All,
I just noticed a strange behavior of GDAL HFA driver. Suppose you have
an HFA file that is over 2GB in size. This causes the creation of the
spill (.ige) file. When you try to use Create() in GDALDriver class
using the same name of the existing HFA file, instead of overwriting the
pre-existing file GDAL simply appends more data to the spill file. So
you will end up with larger .ige file. If I have a repeat process that
uses the same filename, the .ige grows along with the process and it
eats up the disk space unnecessarily, unless I specifically remove the
old HFA file before creating a new one.
Is there a way for me to just overwrite the old HFA image file when I
create a new one?
Thanks.
Ozy
More information about the Gdal-dev
mailing list