Opened 9 months ago

Closed 9 months ago

Last modified 9 months ago

#7251 closed defect (fixed)

Sentinel2 driver incorrectly exposes bands for TCI sub-dataset

Reported by: AlexNI Owned by: warmerdam
Priority: highest Milestone: 2.2.4
Component: GDAL_Raster Version: 2.2.3
Severity: blocker Keywords: Sentinel2 TCI
Cc:

Description

In case of a TCI sub-dataset of a Sentinel2 L1C dataset the driver virtually maps all the three TCI bands to the first one. As a result for the three bands the driver reads data from the first original band. There is the correction proposed for version 2.2.3 attached.

Attachments (1)

sentinel2dataset.cpp (134.5 KB) - added by AlexNI 9 months ago.
Proposed correction

Download all attachments as: .zip

Change History (3)

Changed 9 months ago by AlexNI

Attachment: sentinel2dataset.cpp added

Proposed correction

comment:1 Changed 9 months ago by Even Rouault

Resolution: fixed
Status: newclosed

In 41672:

Sentinel2: make sure that the True Color Image subdatset really uses the R,G,B bands and not the R,R,R (patch by AlexNI, fixes #7251)

comment:2 Changed 9 months ago by Even Rouault

In 41673:

Sentinel2: make sure that the True Color Image subdatset really uses the R,G,B bands and not the R,R,R (patch by AlexNI, fixes #7251)

Note: See TracTickets for help on using tickets.