[gdal-dev] Error using gdalinfo v 3.5.0 for jp2 (Sentinel-2) data on LINUX

Jonas Ardö jonas.ardo at nateko.lu.se
Sun Dec 25 05:23:10 PST 2022


Hi

Is not  gdal v 3.5.0 supposed to read SENTINEL-2 data (jp2)  ok?
""Driver built-in by default according to 
https://gdal.org/drivers/raster/sentinel2.html#raster-sentinel2

Using CYGWIN:
$ gdalinfo.exe --version
GDAL 3.5.1, released 2022/06/30

gdalinfo.exe T28PDC_20181216T112451_AOT_10m.jp2
Driver: JP2OpenJPEG/JPEG-2000 driver based on OpenJPEG library
Files: T28PDC_20181216T112451_AOT_10m.jp2
        T28PDC_20181216T112451_AOT_10m.jp2.aux.xml
Size is 10980, 10980
Coordinate System is:
PROJCRS["WGS 84 / UTM zone 28N",
     BASEGEOGCRS["WGS 84",
...


On  LINUX/CENTOS 7:
[jonasardo at aurora-nateko R10m]$ gdalinfo --version
GDAL 3.5.0, released 2022/05/10

gdalinfo T28PDC_20181216T112451_B02_10m.jp2
ERROR 4: `T28PDC_20181216T112451_B02_10m.jp2' not recognized as a 
supported file format.
gdalinfo failed - unable to open 'T28PDC_20181216T112451_B02_10m.jp2'.

Can it be some other type of error?

Regards
/Jonas Ardö


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20221225/f5093c5d/attachment.htm>


More information about the gdal-dev mailing list