Ticket #1754 (closed defect: fixed)

Opened 11 months ago

Last modified 11 months ago

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

Reported by: rouault Assigned to: 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 (3.0 kB) - added by rouault on 08/18/07 09:51:11.

Change History

08/18/07 09:51:11 changed by rouault

  • attachment gdal_svn_cadrg_bug1754.patch added.

08/18/07 09:51:37 changed by rouault

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

08/18/07 10:12:19 changed by warmerdam

  • owner changed from warmerdam to rouault.
  • cc set to warmerdam.
  • 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.

08/18/07 10:17:38 changed by rouault

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

Commited in trunk in r11902