From: Trey W. <tre...@gm...> - 2025-06-09 00:06:03
|
Dave! Thank you so much for the response! I have the GDAL plugin, but I must not have compiled the plugin correctly. The gdalinfo command can read it fine, but ossim-info does not. I’m assuming that implies that the gdal plugin configuration was not setup correctly. I will check the configuration. Can you help guide me on what directory/library might be missing/not getting specified? Thanks, Trey Winbush On Sun, Jun 8, 2025 at 08:02 David Burken <db...@gm...> wrote: > Hi Trey, > > Is the nitf j2k compressed? If so, you need a plugin. Either kakadu, gdal > compiled with j2k support, openjpeg. You can test by doing: > > $ ossim-info -d 5V090205P0001912264B220000100282M_001508507.ntf | grep IC > // C8 is j2k. > nitf.image0.IC: C8 > > // With no plugins: > $ ossim-info 5V090205P0001912264B220000100282M_001508507.ntf > ossimInfo::openImage ERROR: > Could not open: 5V090205P0001912264B220000100282M_001508507.ntf > > // Added kakadu plugin: > $ ossim-info 5V090205P0001912264B220000100282M_001508507.ntf > ... > image0.driver: ossim_kakadu_nitf_reader > ... > image0.type: ossimKakaduNitfReader > > To test your config you can use: > > // dumps preferences file: > $ ossim-info --config > > // plugins: > $ ossim-info --plugins > > // Check config: > $ ossim-info --check-config > > Hope that helps, > Dave > > |