Opened 16 years ago
Closed 9 years ago
#2376 closed enhancement (fixed)
Add JP2 Driver Selection to NITFDataset::CreateCopy()
Reported by: | momalley | Owned by: | momalley |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
Add an option to allow callers to select which JP2 driver they'd like to use. Not all JP2 drivers may support the J2K_SUBFILE mechanism, but this is a start.
Change History (2)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
By looking at /trunk/gdal/frmts/nitf/nitfdataset.cpp it looks like 3 JPEG2000 drivers are tried in a predefined order: JP2ECW, JP2KAK, JPEG2000 (Jasper). By using the GDAL_SKIP configuration option any driver out of these three can be selected (if available). This is also documented in NITF driver document http://www.gdal.org/frmt_nitf.html except a hint about using GDAL_SKIP.
This may not be optimal from the users point of view but because there is a way for selecting the driver I am closing the ticket.
Is there still no way to select which JP2 driver to use for NITFDataset?