Opened 6 years ago

Closed 6 years ago

Last modified 6 years 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 6 years ago.
Proposed correction

Download all attachments as: .zip

Change History (3)

by AlexNI, 6 years ago

Attachment: sentinel2dataset.cpp added

Proposed correction

comment:1 by Even Rouault, 6 years ago

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

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.