Opened 6 years ago

Closed 6 years ago

Last modified 4 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 Changed 6 years ago by Even Rouault

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 Changed 4 years ago by Even Rouault

Milestone: 1.8.2

Milestone 1.8.2 deleted

Note: See TracTickets for help on using tickets.