Statistics are not persisted for NITF format datasets
|Reported by:||ajain||Owned by:||warmerdam|
After computing statistics on the attached nitf data, the stats are not persisted with the dataset. This can be seen when GetStatistics? is called on the re-opened dataset instance from the sample test script used to reproduce the problem.
I also noticed that the destructor of NITFWrapperRasterBand is not called when the dataset is closed (my breakpoint is not hit while debugging) - indicating that there is a leak in the nitf driver.