Opened 14 years ago

Closed 14 years ago

#3487 closed defect (fixed)

PCIDSK SDK Overview Generation Not Working

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone:
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords: pcidsk
Cc:

Description

If a PCIDSK file is created with the PCISDK and overviews are created (as by GDAL and gdaladdo for instance) then PCI software, like Focus, will ignore them.

gdal_translate utm.tif over.pix -of PCIDSK
gdaladdo over.pix 2

In at least one case I also got reports of them being corrupt in some fashion but I do not seem able to reproduce this problem.

Change History (3)

comment:1 by warmerdam, 14 years ago

Owner: changed from pvachon to warmerdam
Status: newassigned

I have established that CreateOverview() in the PCIDSK SDK is setting the validity flag to zero (invalid) and so Focus ignores the overviews. We need to add methods for marking the overview valid once generation is complete, and possible a mechanism to mark it invalid if the underlying full res image is changed.

comment:2 by warmerdam, 14 years ago

Implemented support for maintaining the overview validity in the PCIDSK SDK (r19150).

Upgraded GDAL PCIDSK SDK version and implemented setting of overview validity in GDAL trunk (r19152).

Still outstanding is setting overviews invalid when the base raster is written.

comment:3 by warmerdam, 14 years ago

Resolution: fixed
Status: assignedclosed

I have implemented overview invalidation whenever a block is written to the full resolution image (r19160).

Note: See TracTickets for help on using tickets.