Ticket #1754 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

[PATCH] Fixes display of rpf/cjga/cjgaz01/0105f033.ja1 CADRG product

Reported by: rouault Owned by: rouault
Priority: normal Milestone: 1.5.0
Component: GDAL_Raster Version: 1.4.2
Severity: normal Keywords: CADRG
Cc: warmerdam

Description

This is a fix for a problem with rpf/cjga/cjgaz01/0105f033.ja1 and rpf/cjga/cjgaz03/0034t0b3.ja3 CADRG products (sorry. I can't attach them). These products have the strange particularity that their block start table begins one byte after its theoretical beginning, for an unknown reason. We detect this situation when the block start offset is not a multiple of 6144 Hopefully there's something in the NITF/CADRG standard that could account for it, but I've not found it.

Attachments

gdal_svn_cadrg_bug1754.patch Download (3.0 KB) - added by rouault 4 years ago.

Change History

Changed 4 years ago by rouault

Changed 4 years ago by rouault

  • keywords CADRG added
  • version changed from unspecified to 1.4.2
  • component changed from default to GDAL_Raster

Changed 4 years ago by warmerdam

  • cc warmerdam added
  • owner changed from warmerdam to rouault
  • milestone set to 1.5.0

Even,

I must admit this scares me a bit, but go ahead and commit in trunk. I appreciate the excellent internal documentation about the issue and the user warning. The NITF driver can easily become fragile as patchs for broken products are layered in it, but appropriate internal docs and user warnings help to keep things managable.

Changed 4 years ago by rouault

  • status changed from new to closed
  • resolution set to fixed

Commited in trunk in r11902

Note: See TracTickets for help on using tickets.