Opened 13 years ago

Closed 13 years ago

Last modified 11 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 13 years ago.

Download all attachments as: .zip

Change History (3)

by agisar, 13 years ago

Attachment: ecwdataset.cpp added

comment:1 by Even Rouault, 13 years ago

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 by Even Rouault, 11 years ago

Milestone: 1.8.2

Milestone 1.8.2 deleted

Note: See TracTickets for help on using tickets.