Ticket #2167 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Add missing HFA creation options

Reported by: gillins Owned by: warmerdam
Priority: normal Milestone: 1.5.1
Component: GDAL_Raster Version: 1.5.0
Severity: normal Keywords: hfa
Cc:

Description

Since gdal_translate now checks the validity of creation options, this patch includes all the options for the HFA driver, some of which were missing from the metadata.

I will attach a patch for hfadataset.cpp.

Note I have included COMPRESS as well as COMPRESSED since the code checks for both and I'm surely not the only one to use both in my scripts!

Attachments

hfadataset_option_patch.cpp Download (0.9 KB) - added by gillins 4 years ago.
Patch to hfadataset.cpp to add missing creation option to metadata

Change History

Changed 4 years ago by gillins

Patch to hfadataset.cpp to add missing creation option to metadata

Changed 4 years ago by warmerdam

I have applied a variation of the patch in trunk as r13584 which fixes frmt_hfa.html to document COMPRESSED instead of COMPRESS and I don't put both COMPRESS and COMPRESSED in the driver options list (though both will still work).

Changed 4 years ago by warmerdam

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

Changed 4 years ago by warmerdam

Also fixed in 1.5 branch (r13585).

Note: See TracTickets for help on using tickets.