Opened 22 years ago

Last modified 22 years ago

#181 closed defect (fixed)

ddfrecord won't process records with >99,999 octets.

Reported by: erpeters@… Owned by: warmerdam
Priority: high Milestone:
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description

 

Attachments (1)

ddfrecord.diff (8.7 KB ) - added by erpeters@… 22 years ago.
hackish fix.

Download all attachments as: .zip

Change History (4)

by erpeters@…, 22 years ago

Attachment: ddfrecord.diff added

hackish fix.

comment:1 by erpeters@…, 22 years ago

The ISO-8211 parser isn't handling records larger than 99,999 octets as 
described in the ISO-8211 spec, annex C, section C1.5.1.  I saw no other 
related issues from this problem.

I have a working, but inelegant fix; the patch is attached.

comment:2 by warmerdam, 22 years ago

An example problem chart is US4CN21M.000 available from the NOAA download site:

http://chartmaker.ncd.noaa.gov/mcd/enc/download.htm


comment:3 by warmerdam, 22 years ago

I have committed the change with a few formatting changes, and it seems to be
working fine on the problem file.  

Thanks!

Note: See TracTickets for help on using tickets.