HFA driver bug with GDALDriver::Create() and GDALDriver::CreateCopy() -- old file is not overwritten
HFA driver does not overwrite the pre-existing .ige file when used to create a new image using the same name as the pre-existing image. Instead, HFA driver simply appends the new image to the existing .ige file, causing the .ige file to grow unless manually removed by user. GDAL functions involved are GDALDriver::Create() and GDALDriver::CreateCopy()
Change History
(4)
Cc: |
warmerdam added
|
Component: |
default → GDAL_Raster
|
Keywords: |
.ige added
|
Milestone: |
→ 1.4.3
|
Owner: |
changed from warmerdam to Mateusz Łoskot
|
Owner: |
changed from Mateusz Łoskot to warmerdam
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Mateusz,
.ige files are created as spill files when large .img (via HFA driver) files are created. The problem here is that when a new .img file is created an old .ige file with the same basename may exist and end up getting "added to" instead of deleted and re-created.
Could you please change the HFA driver to unlink a corresponding .ige file when .img files are created via Create or CreateCopy? Please correct in 1.4 branch and trunk.