Ticket #4308 (closed defect: fixed)

Opened 7 months ago

Last modified 7 months ago

ecwdataset.cpp problems setting configuration options

Reported by: agisar Owned by: warmerdam
Priority: normal Milestone: 1.8.2
Component: GDAL_Raster Version: 1.8.1
Severity: normal Keywords: ECW
Cc:

Description

1. Attempts to configure NCSCFG_CACHE_MAXMEM using GDAL ECW_CACHE_MAXMEM will fail because pszEcwCacheSize is not being set by the call to CPLGetConfigOption() at line 1652.

2. Attempts to configure NCSCFG_JP2_AUTOGEN_J2I fails because NCSecwSetConfig() is being called with NCSCFG_FORCE_FILE_REOPEN.

Attachments

ecwdataset.cpp Download (72.4 KB) - added by agisar 7 months ago.

Change History

Changed 7 months ago by agisar

Changed 7 months ago by rouault

  • status changed from new to closed
  • resolution set to fixed
  • component changed from default to GDAL_Raster
  • milestone set to 1.8.2

Thanks. Applied in trunk(r23282) and in branches/1.8 (r23283) with a minor adjustement to only enable ECW_AUTOGEN_J2I with ECW SDK >= 4.0 to keep compatibilility with ECW SDK 3.3

(Note: Prefered format for bug fixes is a patch generated by 'svn diff -u' or 'diff -u original_file modified_file')

Note: See TracTickets for help on using tickets.