[gdal-dev] Having trouble working with jp2 files

Even Rouault even.rouault at spatialys.com
Wed Jun 20 09:42:24 PDT 2018


On mercredi 20 juin 2018 12:33:40 CEST Stephen Woodbridge wrote:
> Even,
> 
> Thanks!
> 
> I did built gdal 2.2.4 with openjpeg 2.1.2 on a docker container and
> that solves the simple case of:
> 
> gdalinfo -stats /data/850011.jp2
> 
> but it still fails with:
> 
> root at 436a09289084:/usr/local# gdal_translate -of GTiff -co TILED=YES
> /data/850011.jp2 /data/850011.tif

A bit strange, but I didn't actually test with 2.1.2

You can download a zip of openjpeg master sources at:
https://codeload.github.com/uclouvain/openjpeg/zip/master

And you'd better use GDAL 2.3.0 with it.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list