Opened 13 years ago
Closed 9 years ago
#3854 closed defect (invalid)
Unable to delete external overviews in JPEG2000 compressed NITF
Reported by: | rprinceley | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | GDAL_Raster | Version: | svn-trunk |
Severity: | normal | Keywords: | nitf jp2kak |
Cc: |
Description
In JPEG2000 compressed NITFs with external overviews, the .ovr is opened by the underlying JPEG2000 (JP2KAKDataset) driver. Calls to NITFDataset::IBuildOverviews to delete overviews fail because .ovr is kept open by JP2KAKDataset (can't delete once .ovr is loaded).
Change History (3)
comment:1 by , 13 years ago
Keywords: | nitf jp2kak added |
---|---|
Status: | new → assigned |
comment:2 by , 13 years ago
comment:3 by , 9 years ago
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
Even could not reproduce, no feedback received. Closing.
Note:
See TracTickets
for help on using tickets.
Robin,
I have been unable to reproduce this problem.
I tried a variety of things on the test file http://home.gdal.org/tmp/bug3854.ntf - a sample jpeg2000 in nitf file from the NITF folks. Tests included:
I also tried adding the overviews and then cleaning them without closing and reopening the dataset, but I found that GetOverview failed. It seems that overviews are not available in the same session they are built for the esoteric case of bulding them against an NITF based on jpeg2000 data. I'm not sure if you have encountered that.
(BTW, I tried with trunk and 1.8.x since trunk has been changed to use /vsisubfile instead of the J2K_SUBFIKLE mechanism.)