Ticket #1640 (closed defect: fixed)
Remove 500 char limit on HFA metadata reads and allow updates
| Reported by: | gillins | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.4.2 |
| Component: | GDAL_Raster | Version: | 1.4.1 |
| Severity: | normal | Keywords: | HFA |
| Cc: |
Description
The attached proposed patch resolves 2 issues with the HFA metadata:
1. You cannot read more than 500 characters of data. However, since the metadata is written to a GDAL specific node and GDAL sets the maxNumChars field we can safely rely on this field to tell us how many characters to read.
2. When updating the HFA file and overwriting metadata, duplicate nodes get created. This crashes Imagine. The patch checks for their existance before creating new ones.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

