[gdal-dev] Reading sentinel 2 L2A datasets

Even Rouault even.rouault at spatialys.com
Fri Nov 3 01:30:22 PDT 2017


On vendredi 3 novembre 2017 07:55:57 CET Róbert Špir wrote:
> Hi all,
> I'm using GDAL to process sentinel-2 data (in c++). I have no problem
> processing S2B and S2A L1C datasets, I can open them, read the subdatasets
> and process the data.
> But when I try to open L2A dataset, it looks like there are no subdatasets
> and I cannot access the bands.
> I have attached gdalinfo output from this dataset and the dataset xml. Is
> there any way how I can access the subdatasets or this type of dataset is
> not currently supported in GDAL?

Robert,

yes currently the newest formulation of L2A datasets ("SAFE_COMPACT") is not supported 
by the driver. The original formulation is, but Copernicus changed the format a bit 
afterwards, so some adaptation in the driver would be needed.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20171103/3070f9b7/attachment.html>


More information about the gdal-dev mailing list