[gdal-dev] Having trouble working with jp2 files

Even Rouault even.rouault at spatialys.com
Tue Jun 19 14:11:27 PDT 2018


On mardi 19 juin 2018 16:57:30 CEST Stephen Woodbridge wrote:
> Hi all,
> 
> I'm having a problem readding jp2 files. My goal is to be able to
> display them through mapserver, but I'm have problems with gdalinfo and
> gdal_translate. I set up a docker image with the latest gdal2 in it like
> the following.  I have 1074 jp2 files and all that I have tried are
> throwing the same errors as below. Any ideas on what is going on?

Stephen,

I see that 
https://github.com/GeographicaGS/Docker-GDAL2/blob/master/2.3.0/Dockerfile
uses openjpeg 2.2.0, and not the latest openjpeg 2.3.0
As your images are large, in case they are single-tiled, it might be a failed 
allocation in openjpeg 2.2. Upgrading to openjpeg 2.3.0 might help

Any link to one of those images ?

Even

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


More information about the gdal-dev mailing list