Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#4308 closed defect (fixed)

ecwdataset.cpp problems setting configuration options

Reported by: agisar Owned by: warmerdam
Priority: normal Milestone:
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.
  1. Attempts to configure NCSCFG_JP2_AUTOGEN_J2I fails because NCSecwSetConfig() is being called with NCSCFG_FORCE_FILE_REOPEN.

Attachments (1)

ecwdataset.cpp (72.4 KB) - added by agisar 5 years ago.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by agisar

Attachment: ecwdataset.cpp added

comment:1 Changed 5 years ago by Even Rouault

Component: defaultGDAL_Raster
Milestone: 1.8.2
Resolution: fixed
Status: newclosed

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')

comment:2 Changed 4 years ago by Even Rouault

Milestone: 1.8.2

Milestone 1.8.2 deleted

Note: See TracTickets for help on using tickets.