gdalinfo error when reading Digital Globe NITF
Description (last modified by )
I am using GDAL v2.0.1 on Windows, built against OpenJPEG v2.0.
When I run gdalinfo on a Digital Globe NITF image with accompanying metadata files (.att, .eph, .geo, and so on), I am getting an error message. However, when I run gdalinfo on the same NITF image in a directory by itself, I do not see the error message. I believe this might indicate a problem with the Digital Globe metadata reader.
The error message is:
ERROR 3: Cannot read 258523934 bytes
where 258523934 is the number of bytes in the first image segment in the NITF file. I have attached the output from running the command:
gdalinfo --debug on -nomd -nogcp 15OCT03110633-P1BS_R1C1-500380496130_01_P001.NTF
The gdal_failure.txt file is the output when I run the command in a directory containing the image and the associated metadata files. The gdal_success.txt file is the output from exactly the same command run on exactly the same image file, when the image file is in a directory by itself.