From: Trey W. <tre...@gm...> - 2025-06-10 15:21:03
|
Hey Dave, Thanks for your reply! So I was able to get it going. After running ossim-info ––plugins I saw that the plugins were not getting loaded which then pointed me to my preferences file missing some edits. All is well now! Thank you so much for your time and help! Thanks, Trey On Mon, Jun 9, 2025 at 07:40 David Burken <db...@gm...> wrote: > I'm not really sure on the gdal configuration. Your best bet would be to > ping their list on how to enable j2k support. > > Are you sure it's j2k. You should be able to do a dump of tags and look > for "nitf.image0.IC: C8". > IC == image compression: > > ossim-info -d your.ntf > > Dave > > > On Sun, Jun 8, 2025 at 8:05 PM Trey Winbush <tre...@gm...> > wrote: > >> 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 >>> >>> |