Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#4368 closed defect (fixed)

PDS does not handle multi-band BSQ correctly for 16-bit data

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

Description

Sample dataset: http://dl.dropbox.com/u/4582191/MVA_2B2_01_02066N229E3135.zip

When loading a multi-band BSQ PDS file, bands after the first band do not load correctly. I believe that the source of the bug is that line 888 is swapped with line 889 (rev. 9013). This was discussed in IRC on 5 Dec 2011.

Change History (2)

comment:1 by Even Rouault, 12 years ago

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

r23471 /trunk/gdal/frmts/pds/pdsdataset.cpp: PDS: fix band offset computation in BSQ (#4368)

r23472 /branches/1.8/gdal/frmts/pds/pdsdataset.cpp: PDS: fix band offset computation in BSQ (#4368)

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.